Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: WordPress + bbPress Integration 101


dankelly613
Member

@dankelly613

My WordPress/bbPress still does not integrate.

RE: FIVE things must be identical in WordPress and bbPress
configuration for cookies to be sync'ed and logins to be shared:

1. DATABASE secret key
2. wp-config.php/bb-config secret key
3. cookie DOMAIN
4. cookie PATH
5. cookie hash

1. I have checked the database secret_key – it matches.

2. I have updated the SECRET_KEY in both config files – they match.

3. 4. & 5. I have the following code in my wp-config

define('COOKIEPATH','/');
define('SITECOOKIEPATH', '/');
define('COOKIEHASH', md5($_SERVER[HTTP_HOST]));

And, my bb-config INCLUDES wp-config because of previous instructions on WP/BB integration.

define('WP_BB', true);
if ( !defined('DB_NAME') ) {
require_once( 'full/path/to/wp-config.php');
}

NOTE: “full/path/to” was changed to the real ‘full path’

Any thoughts?

Skip to toolbar