Forum Replies Created
In reply to: WordPress + bbPress Integration 101
Something I could not find in this or any other thread concerning integration of 0.9.0.2 with wp 2.5. Problem is that a login to either bbPress or WordPress will log a user OUT of the other, can not be logged into both at same time. Common problem but different question. Several people have suggested adding the following to the bb-config.php:
$bb->usercookie = ‘wordpressuser’;
$bb->passcookie = ‘wordpresspass’;
Questions: are these really needed, should the full hash number (wordpressuser_full.hash.number) also be included and if so, where do I find the hash code? Using Firefox, the I see two cookies when logged into either bb or wp:
The Secret keys are identical for both bb and wp config files. Also I have:
In bb-config file:
$bb->wp_table_prefix = ‘wp_’;
$bb->user_bbdb_name = ‘xxxxxxxxxx’;
$bb->user_bbdb_user = ‘xxxxxxxxxx’;
$bb->user_bbdb_password = ‘xxxxxxx’;
$bb->user_bbdb_host = ‘xxxxxxxxxxx’;
$bb->custom_user_table = ‘wp_users’;
$bb->custom_user_meta_table = ‘wp_usermeta’;
$bb->authcookie = ‘wordpress_cabxxxxxxx’; //identical to what is shown in Firefox cookie
$bb->cookiedomain = ‘.alleventsadviser.com’;
$bb->cookiepath = ‘/’;
$bb->sitecookiepath = ‘/’;
$table_prefix = ‘wp_’;
$wp->cookiedomain = ‘.alleventsadviser.com’;
$wp->cookiepath = ‘/’;
$wp->sitecookiepath = ‘/’;
A registered user is shown in both bb and wp.
Thanks for any help.
Thanks chrishaje. Yes I have read all the tags and tried many different variations. I will continue working on this one.
Thanks chrishaje, but I have tried the one line “Options +MultiViews” and the code from “/bb-admin/rewrite-rules.php” and a few others variations in the .htaccess, didn’t make any difference. I just tired again, same result, doesn’t work.
Can someone tell me if this sounds like a cookie problem?