Skip to:

Cookie Integration only one way

Viewing 12 replies - 1 through 12 (of 12 total)
  • Install this: get the info


    define( 'COOKIEHASH', '1111' );
    define( 'COOKIE_DOMAIN', '' );
    define( 'SITECOOKIEPATH', '/' );
    define( 'COOKIEPATH', '/' );

    put it in your wp-config.php after <?

    then put it in your bb-config.php without the cookiehash line.

    define( 'COOKIE_DOMAIN', '' );
    define( 'SITECOOKIEPATH', '/' );
    define( 'COOKIEPATH', '/' );

    Thanks, but that did not work. I allready had bbpress-integration installed.

    What did you mean by “get the info”?

    I copied your code into the config-files. Nothing changed.

    Any other ideas?

    Don’t copy my code copy the code you get from the plugin.

    The only code i got from the plugin was

    ‘define( ‘COOKIEPATH’, ‘/’ );’

    which i did put in the config file before starting this thread.

    ah. sorry about that, I keep forgetting I’m using WPMU. Did you… match all the security keys?

    Did you mean this:

    ‘/*You will also have to manually ensure that the following constants are equivalent in WordPress’ and bbPress’ respective config files.

    WordPress bbPress




    If so, then yes …

    The only thing I can think of it might be is just clearing your cache on your browser. It happens on FF. If it’s happening to other users then I don’t know.

    I am bumping this since I still have no clue what is wrong and the related threads in the forum have no Answers for me …

    is it because one cookie starts with:

    wp wordpress

    and another time the same cookie starts with




    if so, where can I change this?

    Please help!

    if you mind giving me access I’ll look at it. Email me at my user name at gmail dot com.

    I’m not an expert but this is what I noticed


    you had..

    /** Braucht man für die Cookie-Integration von bbpres laut bbpress-integration */

    /*define( ‘COOKIEHASH’, ‘1111’ );*/

    define( ‘COOKIE_DOMAIN’, ‘.[gerikgtookout].de’ );

    define( ‘SITECOOKIEPATH’, ‘/’ );

    define( ‘COOKIEPATH’, ‘/’ );

    when you’re using WPMU you need those when you’re using WP you just need the cookiepath. It was probably my fault because of my previous posts.

    the cookiepath must be at the top for it to work, I don’t know why but it does. I added define( ‘COOKIEPATH’, ‘/’ ); to the top

    The keys I took from not which they recommend. It has 8 keys. I also copied the same keys into the bb-config file but added “BB_” to the beginning.


    It looks like you were using an old config file (you must of upgraded?) I took the config file from the new version and just plugged in your information. I added define( ‘COOKIEPATH’, ‘/’ ); to the top just like WP. I also added if (file_exists(‘../wp/wp-load.php’))

    require_once(‘../wp/wp-load.php’); for deeper integration (for you to use WP functions in bbPress) which I think you were already, or trying to. I logged into your admin section in bbpress and notice you wrote “http://[gerikgtookout].de&#8221; as your wordpress URL but it should of been “http://[gerikgtookout].de/wp&#8221; clicked save and everything worked fine.

    Hi gerigk,

    I just wanted to say thanks again for your awesome help with my login-problem.



    /** Sets up WordPress vars and included files. */

    require_once(ABSPATH . ‘wp-settings.php’);

    that was needed in your wp-config.php If you want real deep integartion there will be allot more work. I just fixed a long running problem of using all bb-press plugins in wp, i managed to do it after working on it for 4 days .. I’m now able to call plugins from BB in WP (like the BBpm in the header and such)

    I’m thinking about posting my fix / work but.

    The above isn’t (post by gerikg) as you want to integrate bb-press into WordPress and not the other way around. I’m not posting all the work i have done yet btw as i want to run the test site for atleast 2 weeks (to see if any problems appear)

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