Buddypress and Multisite Privacy issue

Ok, the way buddypress works is that it does a check to see if the blog is public. If it’s public, it will display the activity in the network.

174 $is_blog_public = apply_filters( ‘bp_is_blog_public’, (int)get_blog_option( $blog_id, ‘blog_public’ ) );

I want to change this filter to the one in multisite privacy plugin that reads “Visitors must have a login – anyone that is a registered user of Innovate UH can gain access.”

Any ideas on how to go about this? I want to change it to filter out only blogs that fall into these three categories:




  • Timothy
    • Chief Pigeon

    Hey there.

    There are two options to “blog_public” and that’s true or false, well 1 or 0:


    1 : I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers. (default)

    0 : I would like to block search engines, but allow normal visitors.

    Data type: Integer

    This is default in WordPress, BuddyPress is basing it’s decision upon that.

    If you want them viewable then you need them to be indexed.

    It’s then checking if $is_blog_public is true or false to determine how it proceeds.

    You’ll probably want to hire a developer if you need to change this behaviour and add more options for the index or not settings.

    Take care.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.