Skip to:
Content
Pages
Categories
Search
Top
Bottom

Integrating cookies between bbpress 0.9.0.4 and wp 2.7.1


  • deadtomorrow
    Member

    @deadtomorrow

    Hi everyone,

    I’m sorry to post this topic knowing that there are so many similar ones on this forum, but I’ve been going round in circles for days. I have the user databases integrated perfectly on my site, but I still have to log in/out completely separately. My four secret keys definitely match in both the bb-config and wp-config, and I can’t find anything else I am supposed to do.

    Any help is much appreciated.

    Thanks,

    Jack

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    I also was stuck on that for a while. I found it easier to downgrade WP 2.7 cookies with this plugin:

    https://wordpress.org/extend/plugins/wordpress-26-and-bbpress-09-integration/

    Just make sure you juse just the old SECRET_KEY in wp-config.php and match it to the BB_SECRET_KEY in bb-config.php

    Clear your domain cookies after activating the plugin and login again. Test login/out on both installations.

    Of course you mast have completed the integration steps described here:

    https://bbpress.org/forums/topic/wordpress-and-bbpress-integration-101


    deadtomorrow
    Member

    @deadtomorrow

    Thanks for the tip Dragunoff. I’ve installed the downgrade but it still doesn’t work. I think my problem is that I just don’t have a secret key. My keys look like this (I’ve taken out the actual keys):

    define(‘AUTH_KEY’, ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’);

    define(‘SECURE_AUTH_KEY’, ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’);

    define(‘LOGGED_IN_KEY’, ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’);

    define(‘NONCE_KEY’, ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’);

    define(‘BB_AUTH_KEY’, ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’);

    define(‘BB_SECURE_AUTH_KEY’, ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’);

    define(‘BB_LOGGED_IN_KEY’, ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’);

    define(‘BB_NONCE_KEY’, ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’);

    Do I need to add in the SECRET_KEY separately?

    Yes, you need to have a SECRET_KEY defined and it has to match BB_SECRET_KEY. Comment out the other four keys in wp-config.php as they are not needed when the cookies are downgraded. You can visit https://api.wordpress.org/secret-key/1.0/ for a quick key generation.

    Good luck!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar