Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 1 replies (of 1 total)
  • If you go to /buddypress/bp-blogs/bp-blogs-classess.php and along line 80 you’ll see:

    `if ( !is_user_logged_in() || ( !is_super_admin() && ( $user_id != $bp->loggedin_user->id ) ) )
    $hidden_sql = “AND wb.public = 1”;`

    If you change it to:
    `if ( !is_user_logged_in() || ( !is_super_admin() && ( $user_id != $bp->loggedin_user->id ) ) )
    /****Adjusted value to display any blogs that do not require logging in to view. (Original value = 1)****/
    $hidden_sql = “AND wb.public > -1”;`

    It will show any blog that doesn’t require a login. You can change the -1 to what every level of privacy you want.

    Hope that helps.

    Andy

Viewing 1 replies (of 1 total)
Skip to toolbar