Forums

Join
bbPress Support ForumsInstallationIntegrating cookies between bbpress 0.9.0.4 and wp 2.7.1

Info

Integrating cookies between bbpress 0.9.0.4 and wp 2.7.1

  1. 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

  2. Hi,

    I also was stuck on that for a while. I found it easier to downgrade WP 2.7 cookies with this plugin:
    http://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:
    http://bbpress.org/forums/topic/wordpress-and-bbpress-integration-101

  3. 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?

  4. 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 http://api.wordpress.org/secret-key/1.0/ for a quick key generation.

    Good luck!

  5. You must log in to post.