bbPress

Simple, Fast, Elegant

bbPress support forums » Troubleshooting

Cookie Domain Settings?

(9 posts)
  • Started 1 year ago by macwise
  • Latest reply from testosteron
  • This topic is not resolved
  1. 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 www.myurl.com.

    Posted 1 year ago #
  2. 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 www.loinhead.net (and forums.loinhead.net) and it works nicely. :)

    Posted 1 year ago #
  3. 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...

    Posted 1 year ago #
  4. 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

    Posted 1 year ago #
  5. erissiva
    Member

    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.

    Posted 10 months ago #
  6. testosteron
    Member

    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!

    Posted 8 months ago #
  7. testosteron
    Member

  8. push
Posted 8 months ago #
  • chrishajer
    Moderator

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

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

    Posted 8 months ago #
  • testosteron
    Member

    thanks allot !!!!!!!

    Posted 8 months ago #

  • RSS feed for this topic

    Reply

    You must log in to post.

    Code is Poetry.