Skip to:
Content
Pages
Categories
Search
Top
Bottom

Cookie Domain Settings?

  • Does anybody know how/where the cookie domain for bbpress is stored? I am not talking about the siteurl or home…I’m looking for the value “Website” in the cookie table in Safari’s preferences – > Cookies window, or the value “domain” in Firefox’s Preferences -> Domain field. I’m having conflicts with WordPress’ integration when I have a user create new password etc. in bbpress. I need to assign the cookie website or “domain” to be .myurl.com instead of http://www.myurl.com.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You have to add these lines to your bbPress config.php file – not sure who posted it, but it’s not my idea.

    //your try to sync cookies
    $bb->cookiedomain = '.myurl.com';
    $bb->cookiepath = '/';

    You also have to edit WP core files I think.

    wp-settings.php line 190
    FROM
    define('COOKIE_DOMAIN', false);
    TO
    define('COOKIE_DOMAIN', '.myurl.com');

    I’ve got it set up so at http://www.loinhead.net (and forums.loinhead.net) and it works nicely. :)

    That seems to have done the trick. Thanks for posting. I can’t tell you how much searching/testing/wild uncontrollable arm-waving code experimenting I’ve been doing. I did get the WP cookie domain issue figured out, hence the conflict.

    Anyhow, all seems to be in order now, so I am just plum tickled! (no, I don’t normally say ‘plum tickled’. And yes, I really am plum tickled.) So thanks a million to you, fel64, for posting my much needed solution.

    P.S. Checked out your site…I like the look of the “blog” area quite a bit. Loinhead, eh? Funny. Are you using a “Jello Mold” type layout solution for your liquid css layout? Anyway, the site looks great…

    Hehe, no problem, and glad you like the site. The site came after the pun, if you were wondering … :P

    Not sure what a Jello Mold solution is? All I’ve done is float: lefted the sidebar and float: righted the main content bar. To get the background going all the way down I put them into another div.

    A lot of the work was already done for me, as I started with the Greenflower WP theme, so it wasn’t a great step from that. Glad you like it, though, really :D

    Wow. I have been trying to get this to work for a while and fel64 got it in one! Thanks so much – much frustration is now gone.


    testosteron
    Member

    @testosteron

    Hey

    lets say the forum url is

    http://forum.mydomain.com

    and the wordpress is http://mydomain.com

    what do i have to enter where?

    Thanks a lot!


    testosteron
    Member

    @testosteron

  • push

chrishajer
Participant

@chrishajer

I think if you wait until bbPress 0.9 is released and integrate it with WordPress 2.5, things will be a lot easier.

https://bbpress.org/forums/topic/cookies-subtle-bug-single-sign-on-bbpress-and-wordpress#post-14373


testosteron
Member

@testosteron

thanks allot !!!!!!!

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