eschen (@eschen)

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

  • eschen
    Member

    @eschen

    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:

    wordpress_test_cookie

    wordpress_cabxxxxxxxxxxxx

    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’;

    define(‘COOKIE_DOMAIN’, ‘.alleventsadviser.com’);

    $bb->cookiepath = ‘/’;

    define(‘COOKIEPATH’, ‘/’);

    $bb->sitecookiepath = ‘/’;

    In wp-config:

    $table_prefix = ‘wp_’;

    $wp->cookiedomain = ‘.alleventsadviser.com’;

    define(‘COOKIE_DOMAIN’, ‘.alleventsadviser.com’);

    $wp->cookiepath = ‘/’;

    define(‘COOKIEPATH’, ‘/’);

    $wp->sitecookiepath = ‘/’;

    define(‘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?

    thanks

    OK, on the second issue, if I am already logged into WP but not bbPress, the link at the forum page works. So it is being logged into one or the other but not both at the same time. Oh..hum

Viewing 4 replies - 1 through 4 (of 4 total)