By lindyhopper on Thursday, 25 September 2014
Posted in General
Replies 5
Likes 0
Views 0.9K
Votes 0
Hi

i have a privecy problem, profils are set to be visible only to regesterd people but they are public

Hope this can be fixed fast !!

Thanks Peter
Hi Peter,

I am sorry for the delay of this reply.

Regarding your issue, I've added a fix on your site and now the privacy checking should work correctly. Please verify again.

For the quick fix, open the file 'JOOMLA/administrator/components/com_easysocial/includes/privacy/privacy.php':

at line 451:


if ($targetUser->id == $ucreatorid)
{
return true;
}


Replace above with:


if ($targetUser->id && $targetUser->id == $ucreatorid)
{
return true;
}


and at line 507:


if ($my_id == $target_id) {
return true;
}


and replace the above with:


if ($my_id && $my_id == $target_id) {
return true;
}


Above fixes will be added into next release of EasySocial

Hope this help and have a nice day
Sam
·
Friday, 26 September 2014 11:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Peter,

I am actually having a really hard time debugging your site because of all the extensive caching on your site. Can you please turn off all caching on the site?
·
Friday, 26 September 2014 00:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok, Hi Marc, i have turned off cache and put cloudflare into developper mode, do i need to do anything else ?
·
Friday, 26 September 2014 05:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Fixed thanks verry much for the swift response this was very important !
·
Friday, 26 September 2014 15:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Peter,

You are welcome. Glad to hear your issue now resolved
Sam
·
Friday, 26 September 2014 16:32
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post