Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Login Integration Issues – bbpress and wordpress mu

@gerikg

Member

# 1

WordPressMU user integration with bbPress

1 When installing wordpressmu/bbpress do NOT use “www.” Example: use http://bbpress.org not http://www.bbpress.org and use the same database. You do not need to change the prefix, I prefer you don’t because you’ll run into problem later.

2 Make sure bbpress is in a folder in wordpress. example: wordpress/bbpress/ not on the same level.

3 The folder does not have to be named bbpress, most people make it “forum” or “forums”.

*After successfully installing both programs open wp-config.php file (in the wordpress folder). Around line # 45-# 48 you’ll see define(‘AUTH_KEY’…. go to this URL (https://api.wordpress.org/secret-key/1.1/salt) and get the EIGHT keys and REPLACE the FOUR keys that are there. Save and upload. Keep the file open for now.

4 Open bb-config.php (in the bbpress folder) do the same thing here. With the SAME keys you put in the wordpress file put in the bb-config file around line # 41-45. You have to add BB_ to the front of the names. Example: BB_AUTH_KEY to all eight. Save and upload. Keep the file open for now.

5 Clear your cache on your browser. Log into your bbpress dashboard and go to Settings->Wordpress Integration-> WordPress Administrator should be keymaster. Every other option should be member for now. WordPress address (URL) should be the URL again NO www. Blog address (URL) the same as before. The last 3 should be LOCKED if not repeat the steps 3&4.

6 Login to your wordpress dashboard. Go to Plugins->Add New-> search for “bbPress Integration” it should be the first one. Install it and activate.

7 Go to Settings-> bbPress Integration. Enter the bbPress URL without the www. Your plugins URL leave blank. Check WordPressMU. Click on Save Changes. On the bottom box you’ll see some text copy it. Most likely it will say

define( 'COOKIEHASH', 'xxxxxxxxxxxxxxxxxxxxxxx' );
define( 'COOKIE_DOMAIN', '.xxxxxxxxx.com' );
define( 'SITECOOKIEPATH', '/' );
define( 'COOKIEPATH', '/' );

8 Paste the all FOUR lines in wp-config.php file around line # 16 (MUST be on top. Don’t know why) and paste the LAST THREE (leave out cookiehash line) in bb-config.php in line # 13 (Must be on top). Save. You can delete the plugin, it’s no longer needed.

9 Clear your cache on your browser and you’re done.

Known Problems

*Two different database, one for WP and one for BBP, does not always work.

*Changing the database prefix. There are tutorials out there that tell you to do it, just don’t.

*Hosting companies that offer free databases, have buggy databases.

*BBpress not being in WordPress folder. I don’t think the plugin takes that into account.

*When you upgrade from an older version (wordpressmu/bbpress) the XX-config.php files are different than what you already have. Check wp-config.php against wp-config-sample.php & bb-config.php against bb-config-sample.php should be fairly simple.

Skip to toolbar