Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Where do I define USER_COOKIE, PASS_COOKIE, AUTH_COOKIE, SECURE_AUTH_COOKIE, LOG

Josef, take out in wp-config

/**bbpress integration **/
define('USER_COOKIE', 'wordpressuser');
define('PASS_COOKIE', 'wordpresspass');
define('COOKIEPATH', $base);
define('SITECOOKIEPATH', '/');
define('COOKIE_DOMAIN', '.thisissite2.com'); // same as bbPress

and bb-config

$bb->wp_home = 'http://thisissite2.com/';
$bb->wp_siteurl = 'http://thisissite2.com/';

// Integrating with mu
$bb->cookiepath = '/';
$bb->cookiedomain = '.thisissite2.com'; // leading . allows subdomain sharing
$bb->usercookie = 'wordpressuser'; // WPMU doesn't hash cookies
$bb->passcookie = 'wordpresspass'; // WPMU doesn't hash cookies

Use this plugin https://wordpress.org/extend/plugins/bbpress-integration/

If you’re using MU you will get 4 lines, cookiehash, cookie_domain, sitecookiepath, and cookiepath.

get the information from there and put it right AFTER this line in wp-config

* @package WordPress
*/

then paste only cookie_domain, sitecookiepath, and cookiepath in bb-config file. leave out cookiehash right after

* @package bbPress
*/

Then get new keys, use this link https://api.wordpress.org/secret-key/1.1/salt it has 8 keys put it in both like you did before. Don’t forget the BB_ prefix in bb-config.

Clear your cache and cookies. Give it a try. if that doesn’t work then look in your BB dashboard and check your settings on wordpress integration. make sure if you left out “www” in wordpressd to leave it out on bbpress.

Skip to toolbar