Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • And for the users of BuddyPress version 1.2.4:
    I have also tested it with 1.2.4 and it’s still working great.

    YEZZ, it works again. Thanks for your help again!
    The only things what are needed:

    In the root of BuddyPress (version 1.2.3):
    In bp-blogs.php, change rule 379 of
    if ( (int)get_blog_option( $blog_id, ‘blog_public’ ) || !bp_core_is_multisite() ) {
    IN:
    if (get_blog_option( $blog_id, ‘blog_public’ ) > 0 || !bp_core_is_multisite() ) {

    and change rule 427 from
    if ( (int)get_blog_option( $recorded_comment->blog_id, ‘blog_public’ ) || !bp_core_is_multisite() ) {
    IN:
    if (get_blog_option( $recorded_comment->blog_id, ‘blog_public’ ) > 0 || !bp_core_is_multisite() ) {

    and the MU plugin:
    ds_private_blog.php: http://wpmudev.org/project/More-Privacy-Options

    With regards Anja(afoka)

    Strange… In both cases if I change the rules (379 and 427), is this the result:

    Parse error: syntax error, unexpected ‘{‘ in betawordpresswp-contentpluginsbuddypressbp-blogs.php on line 379
    Parse error: syntax error, unexpected ‘{‘ in betawordpresswp-contentpluginsbuddypressbp-blogs.php on line 427



    I have also as before changed the rule In buddypress/bp-blogs/bp-blogs-classes.php
    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 )

    @Boone Gorges, well I do have the same problem in BuddyPress 1.2.3 . I can find the rule in /bp-blogs/bp-blogs-classes, but……
    the file bp-activity (in the root of BuddyPress) changed so much, that i don’t know where to find the rules like you’ve discribed.
    Will you help me again? Or maybe you know if there is a plugin for it?

    With regards Anja (afoka)

    Hi Boone,

    YeZZ, YeZZ, YeZZ it works!! I could kiss you for this!

    Thank you so much.

    With regards Anja (afoka)

    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.

    I have tried as well with plugins disabled as abled (and in combinations therof), unfortunately it does not work for me.

    I’m using version 1.1.3

    About point 2,

    I do have the same problem.

    First I get also a page which says ‘Page not found’ and second the URL gives

    ../activity/delete/120?_wpnonce=6dfc05a1bb (probably the item i have tried to delete)

    Third: the deleted item is still on the activity stream.

    I have tested it as a site admin and as an user.

    How can I resolve this?

Viewing 9 replies - 1 through 9 (of 9 total)
Skip to toolbar