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.
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
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 …
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
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.
I think if you wait until bbPress 0.9 is released and integrate it with WordPress 2.5, things will be a lot easier.
- You must be logged in to reply to this topic.