Shouldn't Hidden Sites Be Hidden from BuddyPress?

So, I have a multisite network (Duh :stuck_out_tongue:) and I have Multisite privacy for a hidden site for my staff to interact with the P2 theme. Problem is, when we post on it, it appears in BuddyPress/etc. We have it running Events+, bbPress, and BuddyPress.

Real Problem: Cancel all BuddyPress activity from hidden sites (Or make an option).

  • Vaughan
    • Support/SLS MockingJay

    hi @zach,

    I haven't tested this, but can you try adding this to bp-custom.php (if you don't have this already, create a file called bp-custom.php, then add the below code to it, then save this file in your wp-content/plugins folder.

    function exclude_blog_from_activity($blog_id) {
    $blog_id = 1;
    return apply_filters( 'bp_blogs_is_blog_recordable', false, $blog_id );
    add_filter ( 'bp_blogs_is_blog_recordable', 'exclude_blog_from_activity' );

    change $blog_id = 1 to the blog_id of the blog you want to hide.

    Hope this helps

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.