Forums

Join

Info

Cookies

  1. I'm trying to get cookies integration with wordpress working, but after some failed attempts (I read the FAQs and searched on the forum) I can't figure out how to do this. My WordPress installation is at http://www.salatti.net while bbPress is at forum.salatti.net (so bbPress is not in a subdirectory of WP, but on a third level domain). What should I do?

    Thanks,
    Daniele

  2. In addition to editing bbPress' cookie information, you will have to edit WordPress':

    for both bbPress and WordPress
    the domain should be .salatti.net (note the first .)
    the path should be /

    So in bbPress' config.php:

    $bb->cookiedomain = '.salatti.net';
    $bb->cookiepath = '/';

    in WordPress' wp-config.php:
    define('COOKIE_DOMAIN', '.salatti.net');
    define('COOKIEPATH', '/');
    define('SITECOOKIEPATH', '/');

    Let us know how it works.

  3. It works good!! :)
    Thank you very much!!

  4. Hello, I was directed to this topic by mdawaffe [via http://bbpress.org/forums/topic/52?replies=23 and am having a bit of difficulty implementing this.

    On my site, I'm not using a subdomain, instead I have bbPress located in a seperate folder from my WordPress installations ( localhost/wordpress and localhost/bbpress). I modified the code somewhat and it the problem hasn't subsided.

    Here's my modified code in bbPress's config.php:

    // Cookies, bbPress fix
    $bb->cookiedomain = 'localhost';
    $bb->cookiepath = '/';

    Thanks!

  5. cvanp,
    Have you also changed WordPress' cookies?

  6. You must log in to post.