BuddyBoss Home – Web › Support Forums › Plugins › BuddyBoss Wall › Hide options privacy drop down menu
Tagged: privacy
- This topic has 15 replies, 5 contibutors, and was last updated 9 years, 3 months ago by Mayumi.
Question
June 4, 2015 at 4:33 pm #40944@neoseeyouHi
I want to hide/remove the option “everyone” in the privacy drop down menu when user select level of privacy for a picture for exemple.
Thank you
Answers
June 4, 2015 at 6:20 pm #40951@alyssa-buddyboss
AlyssaParticipant@neoseeyou do you want to remove this selection for all activity types or only for photos?
June 5, 2015 at 2:57 am #40962@neoseeyouHello
For all activity type would be great.
Thank you
June 5, 2015 at 9:44 am #40973@alyssa-buddyboss
AlyssaParticipant@neoseeyou the easiest way to do this is to add this to functions.php:
function bb_remove_everyone(){ echo ' <script type="text/javascript"> $(document).ready(function(){ $("#bbwall-activity-privacy option:first").remove(); }); </script> '; } add_action('wp_footer','bb_remove_everyone');
June 5, 2015 at 11:16 am #40974@neoseeyouThank you TJ, unfortunatly it don’t seem to work .
June 6, 2015 at 10:03 am #41020@alyssa-buddyboss
AlyssaParticipant@neoseeyou can you send me a link to your website and some test credentials?
June 8, 2015 at 3:33 pm #41104@ammoHello,
Can you please let me know the fix as well.
Thank You
June 19, 2015 at 4:38 am #41401@tadpoleHi @tjchester
I came here to ask this exact same question. I want to have privacy set to logged in users by default and I dont want them to be able to select everyone (in fact i would be happy if logged in users was the only option and they couldn’t see it or change it at all)
Has this been resolved for @ammo yet?
If so is there a way to set access by default to logged in only alos and hide the options dropdown?
Thanks
June 19, 2015 at 5:23 am #41402@neoseeyouJune 19, 2015 at 9:45 am #41404@alyssa-buddyboss
AlyssaParticipantJune 22, 2015 at 8:53 am #41464@tadpolewill do thanks
June 29, 2015 at 3:36 am #41836@tadpole@tjchester
This may be a daft question but Which functions.php file?
June 29, 2015 at 8:23 am #41842July 13, 2015 at 7:43 am #42559@tadpoleHi @tjchester
The code hasn’t changed anything, still shows all choices in the drop down list and default is still everyone for new posts.
I added it to child theme functions.php.
July 13, 2015 at 7:55 am #42563
- The question ‘Hide options privacy drop down menu’ is closed to new replies.