bbPress EDU Theme integration with WPMU

I’m using the bbPress Edublogs theme (together with the bbPress Integration plugin with my WPMU install), but I’ve noticed for users to be able to post to the forum, they must also be at least a “subscriber” to my main blog on my WPMU install.

For whatever reason, they can be logged in to WPMU, but if they’re not a subscriber (or higher) on that main blog, they won’t see the box to “add new post” or “reply to post” in the forums.

Furthermore, when new users sign up on my WPMU install, they are not getting added to the main blog as a subscriber, even though I’ve set it in WPMU Site Admin > Options.

I checked in the bbPress Integration settings page, and I’m thinking the manual cookie settings may not be correct.

For example, the plugin suggests these:

define( 'COOKIEHASH', 'my-cookie-hash-code' );

define( 'COOKIE_DOMAIN', '.my-domain.com' );

define( 'SITECOOKIEPATH', '/' );

define( 'COOKIEPATH', '/' );

…but I recall from other posts on the forum that I shouldn’t set these.

Just for reference, I have the COOKIEHASH set as suggested, and my SITECOOKIEPATH and COOKIEPATH are both set to null (”:wink: instead of slash (‘/’:wink:.

But is that even the issue?

  • Andrew
    • Champion of Loops

    For whatever reason, they can be logged in to WPMU, but if they’re not a subscriber (or higher) on that main blog, they won’t see the box to “add new post” or “reply to post” in the forums.

    That would be a bbPress config issue and not an issue with the them. You probably need to update the bbPress role mapping. I think it’s on the WordPress integration page.

    Thanks,

    Andrew

  • nickd32
    • The Incredible Code Injector

    Checking further…

    If I log in to my bbPress Admin section (Users page), I can see that new WPMU users are being added to bbPress as “Inactive (no role)” — but if I go into WPMU and manually add each new user to the main blog as “subscriber”, they get changed from “Inactive” to “Member” inside bbPress.

    Shouldn’t new WPMU users *automatically* become bbPress “members” ?

  • nickd32
    • The Incredible Code Injector

    Checked role mapping, and everything should be set up properly.

    WordPress Administrator => bbPress Key Master

    WordPress Editor => bbPress Moderator

    WordPress Author => bbPress Member

    WordPress Contributor => bbPress Member

    WordPress Subscriber => bbPress Member

    Still not working right. Why should it matter whether each user is a “subscriber” to the main blog or not?

  • nickd32
    • The Incredible Code Injector

    …Wait. I see that role mapping is tied to the main blog only. So, if a user isn’t at least a subscriber, bbPress doesn’t know how to deal with them.

    Therefore, my problem is that new WPMU users aren’t automatically being added as a subscriber to the main blog anymore.

  • nickd32
    • The Incredible Code Injector

    I left the “Dashboard Blog” setting (in Site Admin > Options) blank.

    According to the text below the box:

    New users are added to this blog as subscribers (or the user role defined below) if they don’t have a blog. Leave blank for the main blog. ‘Subscriber’ users on old blog will be moved to the new blog if changed. New blog will be created if it does not exist.

    … the “if they don’t have a blog” part leads me to believe that this is normal functionality.

    Perhaps I should put a ‘1’ in the box for the main blog id?

  • Andrew
    • Champion of Loops

    the “if they don’t have a blog” part leads me to believe that this is normal functionality.

    Yeh, something may have changed when the dashboard blog feature got added.

    Personally I’d just chunk a plugin into bbPress that bumps anyone with no role up to ‘member’ and call it a day.

    Thanks,

    Andrew