Store Community Support Documentation

Ok, I turned off friends only community and it still didn't work.  I checked the database under user_privacy and friend.view_friend does change from 4 to 2.  I also change it to 0, 1, 2, and 3 and it did nothing.  I found the code where it asks the if question.


if (!Phpfox::getService('user.privacy')->hasAccess($aUser['user_id'], 'friend.view_friend'))

I know when you change the privacy setting to view friend list to no one is set the table value for friend.view_friend to 2, so I don't understand why this if statement is not working.


Last update on May 25, 9:30 pm by JohnJr.
Be the first person to like this.