Share : Solution for BBPress 1.0 Alpha 6 – WordPress MU 2.7 cookie integration
-
Ehlo all,
i just want to share a solution for BBPress 1.0 Alpha 6 – WordPress MU 2.7 cookie integration — or a hack. My problem is that after installation of WPMU and BBPress, i can not make a single sign on : to make a user log in to BBPress can access WordPress without another login and a user log in to WordPress can access BBPress without another login.
I just use Cookie integration with WordPress installed at
/home/usr1/myweb
And bbpress at
/home/usr2/myweb/bbpress
After Googling i found hint about cookie domain, SECRET KEY etc, but it does not work …
When i check the cookie, the cookie from BBPress is appended with some words for example :
wordpress_logged_in_170v36454
meanwhile the cookie for wordpress is simply
wordpress_logged_in
I then change a line of code at bb-settings.php from
define(‘BB_HASH’, $bb->wp_cookies_integrated ? md5($bb->wp_siteurl) : md5($bb->uri));
to
define(‘BB_HASH’, ”);
Somehow IT WORK !
- You must be logged in to reply to this topic.