Klark0 (@klark0)

Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • In reply to: WPMU integration

    I’ve been tryin them out on my test site, but I get the same cookie problems. Just wait it out until they’re final. mu2.7 is kinda buggy right now.

    In reply to: WPMU integration

    It takes care of the problem of bbpress users from MU being set as Inactive. It’ll make them a member instead.

    In reply to: WPMU integration

    I disabled registration in bbpress. All users are created when they signup for a blog.

    And to fix the other issue with member roles not being set: Drop this in the mu-plugins folder with a .php extension.

    function wpmu_bbpress_roles( $user_id )  {
    update_usermeta($user_id, 'bb_capabilities', array('member' => true));
    return;
    }
    add_action('wpmu_new_user', 'wpmu_bbpress_roles');

    In reply to: WPMU integration

    Use the address of blogid 1 (the main blog).

    In reply to: WPMU integration

    Klark0
    Member

    @klark0

    I count the number of blogs and the number of the posts using two queries. All posts from all the other blogs are copied to blog_id 1. So i do like so

    $count_posts = wp_count_posts();
    echo $count_posts->publish;

    and

    $stats = get_sitestats();
    $tmp_blog_count = number_format ($stats[ 'blogs' ] );
    print "".$tmp_blog_count." blogs";

    Can bbpress grab those ?


    Klark0
    Member

    @klark0

    yeah mu2.6.3 and 1.0.2a here too.


    Klark0
    Member

    @klark0

    Thank you very much, Deadpan.

    I’m integrated with cookies now ..but

    When I click the Admin link in bbpress it just reloads the page. It doesn’t take me to the admin area.

    Edit: Seems to be happening both ways. If i log into WPMU first and go the bbpress, the admin link just reloads the page. If login to bbpress first, the admin link works but I’m forced to login again if I try to access wp-admin

Viewing 7 replies - 1 through 7 (of 7 total)