We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Hide "Privacy Settings" | Forum

fbkca
fbkca Sep 16 '13
Hi, 


I would like to hide the privacy settings tab as I really only want to available to Admins. I don't want members to be able to hide their profiles and content.


Any thoughts how to do this?


Thanks

Daisy Team
Daisy Oct 1 '13
If you want to hide the Privacy button from the regular users and want it to show up for admins only, you should add the following condition into the /ow_plugins/privacy/init.php file:

if ( OW::getUser()->isAdmin() )
            {

<CODE>

           }
fbkca
fbkca Oct 1 '13
Thanks for this daisy!
Tim Grice
Tim Grice May 19 '14
I love this idea; however, I am unable to get this to work.  I am not experienced with coding, but I thought I may be able to take advantage of this.  Is there anyway you could walk me through adding this to my site?  

Thanks

The Forum post is edited by Tim Grice May 19 '14
Alia Team
Alia Jun 4 '14
Basically your /ow_plugins/privacy/init.php should look like this: