Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Hidden blog posts from private blogs in sidewide activity stream

Yes I did:

In buddypress/bp-blogs/bp-blogs-classes.php

I repleaced rule nr. 267:

if ( !(int)$wpdb->get_var( $wpdb->prepare( “SELECT DISTINCT public FROM {$wpdb->base_prefix}blogs WHERE blog_id = %d”, $blog_id ) ) )

in

if ( $wpdb->get_var( $wpdb->prepare( “SELECT DISTINCT public FROM {$wpdb->base_prefix}blogs WHERE blog_id = %d”, $blog_id ) ) < 1 )

After that I cleared up in the database manually the table: wp_bp_activity_user_activity_cached

I deleted existing blogs and groups and started again: (don’t fear, this is just a testsite)

Created a new invisible group with a blog.

Blog settings: (with the mu-plugin more privacy options) I only want the blog visible for logged in users and registrated on this blog (or something, I translated it into Dutch).

I created a new blogpost. Then I logged out. After that the first rules of the blogpost are still visible in the activity stream. I can not read the whole blogpost, because I first have to login to the site to see the whole post on that blog.

Maybe I did something wrong with the code?

I’m using WordPressMU 2.8.6 and Buddypress 1.1.3

Thanks for your time you’ll spend to me.

Skip to toolbar