Info
- 9 posts
- 5 voices
- Started 5 years ago by macwise
- Latest reply from testosteron
- This topic is not resolved
Cookie Domain Settings?
-
- Posted 5 years ago #
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.
-
- Posted 5 years ago #
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. :)
-
- Posted 5 years ago #
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 5 years ago #
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 andfloat: 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 4 years ago #
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 4 years ago #
Hey
lets say the forum url is
http://forum.mydomain.comand the wordpress is http://mydomain.com
what do i have to enter where?
Thanks a lot! -
- Posted 4 years ago #
- push
-
- Posted 4 years ago #
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 4 years ago #
thanks allot !!!!!!!
-
You must log in to post.