WPMU Enable bbPress Capabilities

When you have bbPress installed you may choose to integrate it with WordPress. bbPres is currently at release 1.0, and that release is only in Alpha.

This is technically a WordPress MU plugin. I have my WPMU site setup with bbPress such that there is no registration on bbPress – it all must happen via the WordPress install. In that case, there is no ‘push’ of bbPress capabilities from WordPress to bbPress. bbPress will support the other direction, when a new user is created in bbPress. This handles the other case.

This is a 0.1 release, there are no options. All users are enabled with ‘member’ privileges in bbPress. This plugin does not handle any pre-existing (pre-plugin activation) users.

Download the plugin from bbPress

Installation:

  1. Install the file wpmu_enable_bbpress_capabilities.php in your /wp-content/mu-plugins folder.
  2. That’s it. New users will now be able to login to bbPress as a member immediately after user confirmation.

2 thoughts on “WPMU Enable bbPress Capabilities

  1. Hi Johan –

    Thanks for bringing this to my attention. I am confirming with the original poster who found the bug, but here is what I have found:

    The capabilities are stored in user metadata using the bbPress table prefix. If you do a vanilla bbPress install, that prefix will be ‘bb_’, so the user metadata for capabilities will be bb_capabilities. If you change the table prefix during the install, for example to ‘forums_’, then the user metadata will be stored as forums_capabilities.

    If this is truly the problem, I’ll try to post an updated plugin. I’m not sure exactly how WPMU will have visibility into the bbPress table prefix because it is stored in bb-config.php.

    Thanks for bringing this up!
    Mike

Comments are closed.