Integrating bbPress into WordPress – cannot use single login
-
Hi,
I’ve read a bunch on the boards and tried to follow all the steps I could find, but nothing seems to have any effect. WordPress is installed in the root of http://www.tiltmonster.com. bbPress is installed in http://www.tiltmonster.com/forums.
The databases are currently integrated, so that much is good. But if you login at the forums, you are not logged in at the main site, and vice versa. I added these lines to bb-config.php:
$bb->wp_table_prefix = ‘wp_’;
$bb->wp_home = ‘www.tiltmonster.com’;
$bb->wp_siteurl = ‘www.tiltmonster.com’;
$bb->usercookie = ‘wordpressuser_1726d05b40cf2f851e025f1a862c21fa’;
$bb->passcookie = ‘wordpresspass_1726d05b40cf2f851e025f1a862c21fa’;
$bb->cookiedomain = ‘www.tiltmonster.com’;
$bb->cookiepath = ‘/’;
When I check the cookies after logging in from the forums, the value for the MD5 hash is different than above. Also, the domain shows as .www.tiltmonster.com, with that period before the www.
One thing of note: there was no secret key listed in my wp-config.php file, so I generated one and inserted it, then copied that value to bb-config.php. Could that be where I went wrong?
Thank you.
- You must be logged in to reply to this topic.