1. Home
  2. Knowledge Base
  3. Customizations
  4. CSS
  5. Hide the All Members Privacy Option When Uploading Photos, Videos, and Documents

Hide the All Members Privacy Option When Uploading Photos, Videos, and Documents

Introduction

In BuddyBoss, the privacy dropdown for media uploads includes an All Members option by default. If you want to restrict visibility choices when users upload photos, videos, or documents, you can hide the All Members privacy option using a simple CSS workaround.

Custom Workaround

Follow the steps below to hide the All Members privacy option when uploading photos, videos, and documents.

  1. Go to BuddyBoss > Theme Options
  2. Under Custom Codes, enable CSS
  3. Append the following code:
#bb-media-privacy option[value=loggedin],

#bb-video-privacy option[value=loggedin],

#bb-document-privacy option[value=loggedin] {

    display: none;

}
  1. Save changes

Note: Any modifications are considered as custom work already. Know more about our Support policy here: https://www.buddyboss.com/support-policy/

Troubleshooting and FAQs

Q: What does this code hide exactly

A: This code hides the All Members privacy option from the dropdown when users upload photos, videos, or documents.

Q: Will this affect existing media that was already uploaded

A: No, this only affects the privacy options shown during new uploads and does not change existing media privacy settings.

Q: Does this remove the All Members option from posts or activities

A: No, this only applies to media upload privacy options for photos, videos, and documents.

Q: The code is not working on my site. What should I do

A: If the code does not work as expected, please submit a ticket to the BuddyBoss support team for assistance.


Screenshots

Without Code:

With Code:

Was this article helpful?

Related Articles

Subscribe to Our Newsletter

Stay In Touch

Subscribe to our Newsletter, and we’ll send you the latest news from BuddyBoss

  • This field is hidden when viewing the form
  • This field is for validation purposes and should be left unchanged.

To speak to our Agency consultant, fill in the form found at our Contact Page.

  • Get Started

    Enter your name and email address to get started with your project...

  • This field is for validation purposes and should be left unchanged.