<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress support forums Topic: Cookie Hell: WPMU + BBPress = bloodshot eye balls</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: Cookie Hell: WPMU + BBPress = bloodshot eye balls</description>
<language>en</language>
<pubDate>Mon, 13 Oct 2008 12:32:07 +0000</pubDate>

<item>
<title>horrorshow on "Cookie Hell: WPMU + BBPress = bloodshot eye balls"</title>
<link>http://bbpress.org/forums/topic/cookie-hell-wpmu-bbpress-bloodshot-eye-balls#post-14264</link>
<pubDate>Tue, 04 Mar 2008 20:37:40 +0000</pubDate>
<dc:creator>horrorshow</dc:creator>
<guid isPermaLink="false">14264@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;FofR,  he's trying to integrate WPMU, not WP, with BBpress
&#60;/p&#62;</description>
</item>
<item>
<title>FofR on "Cookie Hell: WPMU + BBPress = bloodshot eye balls"</title>
<link>http://bbpress.org/forums/topic/cookie-hell-wpmu-bbpress-bloodshot-eye-balls#post-5167</link>
<pubDate>Mon, 05 Mar 2007 19:50:16 +0000</pubDate>
<dc:creator>FofR</dc:creator>
<guid isPermaLink="false">5167@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;My WP cookies have a hash added to the end of their name (using WP 2.1), this hash is the same as the password hash. Did you delete this/edit it in WP?
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "Cookie Hell: WPMU + BBPress = bloodshot eye balls"</title>
<link>http://bbpress.org/forums/topic/cookie-hell-wpmu-bbpress-bloodshot-eye-balls#post-5147</link>
<pubDate>Sun, 04 Mar 2007 22:06:34 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">5147@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Glad you got it working!   Marking the topic as resolved!&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>tseven on "Cookie Hell: WPMU + BBPress = bloodshot eye balls"</title>
<link>http://bbpress.org/forums/topic/cookie-hell-wpmu-bbpress-bloodshot-eye-balls#post-5146</link>
<pubDate>Sun, 04 Mar 2007 21:38:13 +0000</pubDate>
<dc:creator>tseven</dc:creator>
<guid isPermaLink="false">5146@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I fixed it! \o/&#60;/p&#62;
&#60;p&#62;Remember how the cookies &#34;looked&#34; identical?&#60;/p&#62;
&#60;p&#62;Well they weren't.&#60;/p&#62;
&#60;p&#62;The cookies created by bbpress added the hash to the end of the cookie name.&#60;/p&#62;
&#60;p&#62;Both Safari and Camino didn't reveal this, but Flock did. I was using these other browsers as a testing platform because I needed to clear cookies in between each test.&#60;/p&#62;
&#60;p&#62;I added:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$bb-&#38;gt;usercookie = &#38;#39;wordpressuser&#38;#39;;
$bb-&#38;gt;passcookie = &#38;#39;wordpresspass&#38;#39;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;To my bbpress config to solve the problem. (which I found on one of the links you sent me)&#60;/p&#62;
&#60;p&#62;I actually like the idea of the cookie name including the hash. Isn't this more secure? Correct me if I'm wrong, but wouldn't this make it near impossible for another site to read that cookie?&#60;/p&#62;
&#60;p&#62;Thanks for your help Trent!
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "Cookie Hell: WPMU + BBPress = bloodshot eye balls"</title>
<link>http://bbpress.org/forums/topic/cookie-hell-wpmu-bbpress-bloodshot-eye-balls#post-5145</link>
<pubDate>Sun, 04 Mar 2007 20:41:32 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">5145@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;It will still let different cookies if you don't have them 'integrated' for the login from the config.php.   That is why I was leading you towards those articles.   I am sure being an WPMU user you are fully aware of working with complex issues and I didn't want to try and 'dumb it down' too much.   In terms of the cookies issue, I have had plenty of problems moving things around and changing structures to know that the 'Wordpress Integration' under the bbPress Documentation is the best when bbPress is in a directory inside Wordpress, but not always!&#60;/p&#62;
&#60;p&#62;If you let me know how you have it setup and what you have in your wp-config.php and config.php for cookie and integration stuff, I might be able to assist more.   I just know that if you already installed bbPress and it is using bb_users versus wp_users, it might be harder to get the cookies working (at least in my experience)..&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>tseven on "Cookie Hell: WPMU + BBPress = bloodshot eye balls"</title>
<link>http://bbpress.org/forums/topic/cookie-hell-wpmu-bbpress-bloodshot-eye-balls#post-5144</link>
<pubDate>Sun, 04 Mar 2007 19:58:53 +0000</pubDate>
<dc:creator>tseven</dc:creator>
<guid isPermaLink="false">5144@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks for the heads up Trent. Unfortunately those mostly focus integration of user databases etc. Which I have already done.&#60;/p&#62;
&#60;p&#62;Perhaps I'll take a look at how each application is looking for the cookies. There might be a clue in there.&#60;/p&#62;
&#60;p&#62;It seems most people have the forum in a sub directory of wp,.. which makes things much easier.&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;But what I don't understand is,.. the cookies are IDENTICAL... why doesn't it work?&#60;/strong&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "Cookie Hell: WPMU + BBPress = bloodshot eye balls"</title>
<link>http://bbpress.org/forums/topic/cookie-hell-wpmu-bbpress-bloodshot-eye-balls#post-5136</link>
<pubDate>Sun, 04 Mar 2007 15:26:32 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">5136@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Steven,&#60;/p&#62;
&#60;p&#62;I not sure of the 'exact' best procedure of combining bbPress and WPMU, but these are some users that have it going:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://bbpress.org/blog/2006/09/simpler-integration-with-wordpress&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/blog/2006/09/simpler-integration-with-wordpress&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://codex.wordpress.org/Ergate/wpmu_bbPress_integration&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Ergate/wpmu_bbPress_integration&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://mu.wordpress.org/forums/topic.php?id=2166&#38;#38;replies=10&#34; rel=&#34;nofollow&#34;&#62;http://mu.wordpress.org/forums/topic.php?id=2166&#38;#38;replies=10&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It is a little different with WPMU as the table structures are a little different, but those posts seem to most likely have the key.   Integrating with normal WP is much easier. &#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>tseven on "Cookie Hell: WPMU + BBPress = bloodshot eye balls"</title>
<link>http://bbpress.org/forums/topic/cookie-hell-wpmu-bbpress-bloodshot-eye-balls#post-5120</link>
<pubDate>Sun, 04 Mar 2007 08:52:29 +0000</pubDate>
<dc:creator>tseven</dc:creator>
<guid isPermaLink="false">5120@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Ok... Let me start off by saying I'm not your &#34;average&#34; user seeking help. I've spent the last 2-3 hours combing this forum and trying almost every combination of cookie configurations and tweaking.&#60;/p&#62;
&#60;p&#62;My site is setup like this:&#60;br /&#62;
domain.com/blog&#60;br /&#62;
domain.com/forum&#60;/p&#62;
&#60;p&#62;This is what I have thus far:&#60;br /&#62;
In my bbpress config.php&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$bb-&#38;gt;cookiedomain = &#38;#39;.domain.com&#38;#39;;
$bb-&#38;gt;cookiepath = &#38;#39;/&#38;#39;;
$bb-&#38;gt;sitecookiepath = &#38;#39;/&#38;#39;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;In my wpmu wp-settings.php around line 245&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if ( !defined(&#38;#39;COOKIEPATH&#38;#39;) )
	define(&#38;#39;COOKIEPATH&#38;#39;, &#38;#39;/&#38;#39; );
if ( !defined(&#38;#39;SITECOOKIEPATH&#38;#39;) )
	define(&#38;#39;SITECOOKIEPATH&#38;#39;, &#38;#39;/&#38;#39; );
if ( !defined(&#38;#39;COOKIE_DOMAIN&#38;#39;) )
	//define(&#38;#39;COOKIE_DOMAIN&#38;#39;, &#38;#39;.&#38;#39; . $current_site-&#38;gt;domain);
	define(&#38;#39;COOKIE_DOMAIN&#38;#39;, &#38;#39;.domain.com&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Of course I replaced &#34;domain.com&#34; with my actual domain.&#60;/p&#62;
&#60;p&#62;The result is I get a total of 4 cookies when I login into both sites.&#60;br /&#62;
Both sets are identical except expiration. (I even edited the expiration date with no avail, apparently bbpress is a full year and day off)&#60;/p&#62;
&#60;p&#62;the cookie properties look like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;website			name			path		secure		expires			value
bbpress
.domain.com		wordpresspass		/		no		Mar 03, 2008		long_hash
.domain.com		wordpressuser		/		no		Mar 03, 2008		test

wpmu
.domain.com		wordpresspass		/		no		Mar 04, 2007		long_hash (same as the other)
.domain.com		wordpressuser		/		no		Mar 04, 2007		test&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;
The only difference is the expiration date. As you can see bbpress has an issue with the date.&#60;/p&#62;
&#60;p&#62;Perhaps I need sleep, or I don't understand how the cookies are supposed to work. But I'm beat.. I can't battle it anymore tonight.&#60;/p&#62;
&#60;p&#62;I'm going to go get some sleep. Perhaps I'll be able to figure it out from a fresh approach.&#60;/p&#62;
&#60;p&#62;Any suggestions would be greatly appreciated. &#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Steven
&#60;/p&#62;</description>
</item>

</channel>
</rss>
