<?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: Cookies and WPMU</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: Cookies and WPMU</description>
<language>en</language>
<pubDate>Fri, 29 Aug 2008 18:52:47 +0000</pubDate>

<item>
<title>mozey on "Cookies and WPMU"</title>
<link>http://bbpress.org/forums/topic/cookies-and-wpmu#post-870</link>
<pubDate>Tue, 31 Oct 2006 16:20:47 +0000</pubDate>
<dc:creator>mozey</dc:creator>
<guid isPermaLink="false">870@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;i SOMEHOW want to include my bb back end at my wp-admin in a submenue. it should be a matter of using the right include statment in a plugin that creates a new admin submenue. I have'nt done it yet, i'll post the plugin whenever i get it done. it should'nt be much work (in thoery).&#60;/p&#62;
&#60;p&#62;anyone did this you guys, please let us know.
&#60;/p&#62;</description>
</item>
<item>
<title>suleiman on "Cookies and WPMU"</title>
<link>http://bbpress.org/forums/topic/cookies-and-wpmu#post-861</link>
<pubDate>Tue, 31 Oct 2006 11:42:47 +0000</pubDate>
<dc:creator>suleiman</dc:creator>
<guid isPermaLink="false">861@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;here's one problem mozey, you can't access the admin backend of bbpress anymore after you've done this trick! &#60;/p&#62;
&#60;p&#62;I'm signed in as my site admin, and although WPMU recognizes me as the admin, BBPress does not.
&#60;/p&#62;</description>
</item>
<item>
<title>mozey on "Cookies and WPMU"</title>
<link>http://bbpress.org/forums/topic/cookies-and-wpmu#post-783</link>
<pubDate>Mon, 30 Oct 2006 02:40:39 +0000</pubDate>
<dc:creator>mozey</dc:creator>
<guid isPermaLink="false">783@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;oh yeahh, i forgot to mention, i'm not even going to bother with the BB user table for anything!. I can get it to the point where i log in using one portals for both platforms, but i have'nt tested it beyond that.
&#60;/p&#62;</description>
</item>
<item>
<title>mozey on "Cookies and WPMU"</title>
<link>http://bbpress.org/forums/topic/cookies-and-wpmu#post-779</link>
<pubDate>Mon, 30 Oct 2006 00:12:10 +0000</pubDate>
<dc:creator>mozey</dc:creator>
<guid isPermaLink="false">779@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;suleinman, sure thing,&#60;br /&#62;
okay, first of all, my bb and my mu are sharing ONLY the usertable and the login sessions. THATS IT, no common functions, nothing like that.  &#60;/p&#62;
&#60;p&#62;and in order to do that, i added the following lines to my config.php on my bb. &#60;/p&#62;
&#60;p&#62;__________________________________________________&#60;/p&#62;
&#60;p&#62;//These are for the information about the database into which bbPress should store its content&#60;br /&#62;
// ** MySQL settings ** //&#60;br /&#62;
define('BBDB_NAME', 'bbdbname');      // The name of the database&#60;br /&#62;
define('BBDB_USER', 'bbdbuser');     // Your MySQL username&#60;br /&#62;
define('BBDB_PASSWORD', 'bbdbpassword'); // ...and password&#60;br /&#62;
define('BBDB_HOST', '127.0.0.1');    // 99% chance you won't need to change this value&#60;/p&#62;
&#60;p&#62;// This is the information about mu's database. bbPress will look for users in this database&#60;br /&#62;
define('USER_BBDB_NAME', 'mudbname');&#60;br /&#62;
define('USER_BBDB_USER', 'mudbuser');&#60;br /&#62;
define('USER_BBDB_PASSWORD', 'mudbpass');&#60;br /&#62;
define('USER_BBDB_HOST', '127.0.0.1');&#60;/p&#62;
&#60;p&#62;//if your using one database, its cool, just replicate the mu/bb data!&#60;/p&#62;
&#60;p&#62;//now your about to tell bb to look for users in the wp table&#60;br /&#62;
define('CUSTOM_USER_TABLE', 'wp_users');&#60;br /&#62;
define('CUSTOM_USER_META_TABLE', 'wp_usermeta');&#60;/p&#62;
&#60;p&#62;//and now, your about to tell bb to user the same sessions as wp&#60;br /&#62;
$bb-&#38;gt;usercookie = 'wordpressuser';&#60;br /&#62;
$bb-&#38;gt;passcookie = 'wordpresspass';&#60;br /&#62;
$bb-&#38;gt;cookiedomain = 'localgigs.fm'; // or .example.com if there was a . above&#60;br /&#62;
$bb-&#38;gt;cookiepath = '/';&#60;br /&#62;
// Change the prefix if you want to have multiple forums in a single database.&#60;/p&#62;
&#60;p&#62;__________________________________________________&#60;/p&#62;
&#60;p&#62;i hope this helps. do reply back with questions, :)
&#60;/p&#62;</description>
</item>
<item>
<title>suleiman on "Cookies and WPMU"</title>
<link>http://bbpress.org/forums/topic/cookies-and-wpmu#post-755</link>
<pubDate>Sun, 29 Oct 2006 09:34:46 +0000</pubDate>
<dc:creator>suleiman</dc:creator>
<guid isPermaLink="false">755@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;mozey, would you mind helping out a fellow mu'er and post the code to your working mu/bbpress integration? &#60;/p&#62;
&#60;p&#62;I've been stumbling again and again on getting the user integration to work, let alone the cookies!
&#60;/p&#62;</description>
</item>
<item>
<title>mozey on "Cookies and WPMU"</title>
<link>http://bbpress.org/forums/topic/cookies-and-wpmu#post-408</link>
<pubDate>Tue, 24 Oct 2006 00:06:40 +0000</pubDate>
<dc:creator>mozey</dc:creator>
<guid isPermaLink="false">408@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;PERFECT,
&#60;/p&#62;</description>
</item>
<item>
<title>mdawaffe on "Cookies and WPMU"</title>
<link>http://bbpress.org/forums/topic/cookies-and-wpmu#post-379</link>
<pubDate>Mon, 23 Oct 2006 17:07:57 +0000</pubDate>
<dc:creator>mdawaffe</dc:creator>
<guid isPermaLink="false">379@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Try this.&#60;/p&#62;
&#60;p&#62;Look at the cookie you have from you mu site.  (In firefox: preferences -&#38;gt; privacy -&#38;gt; cookies -&#38;gt; view cookies then find the cookie in question.  I'm sure there's a way to do this in other browsers as well.)&#60;/p&#62;
&#60;p&#62;I bet it looks like this:&#60;br /&#62;
Name: wordpressuser&#60;br /&#62;
Domain: example.com // or is it &#60;strong&#62;.&#60;/strong&#62;example.com ?&#60;br /&#62;
Path: /&#60;br /&#62;
Send For: Any type of connection&#60;/p&#62;
&#60;p&#62;And one for the password too:&#60;br /&#62;
Name: wordpresspass&#60;br /&#62;
Domain: example.com&#60;br /&#62;
Path: /&#60;br /&#62;
Send For: Any type of connection&#60;/p&#62;
&#60;p&#62;If that is the case, in bbPress' config.php set the following.&#60;/p&#62;
&#60;p&#62;$bb-&#38;gt;usercookie = 'wordpressuser';&#60;br /&#62;
$bb-&#38;gt;passcookie = 'wordpresspass';&#60;br /&#62;
$bb-&#38;gt;cookiedomain = 'example.com';  // or &#60;strong&#62;.&#60;/strong&#62;example.com if there was a &#60;strong&#62;.&#60;/strong&#62; above&#60;br /&#62;
$bb-&#38;gt;cookiepath = '/';&#60;/p&#62;
&#60;p&#62;If I'm wrong in my guess about the structure of yrour cookies, please post what they are (name, domain, path, send for only.  Don't post the content of the cookie).
&#60;/p&#62;</description>
</item>
<item>
<title>mozey on "Cookies and WPMU"</title>
<link>http://bbpress.org/forums/topic/cookies-and-wpmu#post-369</link>
<pubDate>Mon, 23 Oct 2006 14:30:14 +0000</pubDate>
<dc:creator>mozey</dc:creator>
<guid isPermaLink="false">369@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;mdawaffe, thanks for the response, okay, &#60;/p&#62;
&#60;p&#62;example.com/someblog&#60;br /&#62;
my forum is in example.com/forums&#60;/p&#62;
&#60;p&#62;i'm not loading wpmu, i was using at a point of time&#60;br /&#62;
MU_BB was true,&#60;br /&#62;
include_once('wp-config')&#60;br /&#62;
(the syntax was right)&#60;/p&#62;
&#60;p&#62;However, i took that off since it was messing up my template, it was assuming that /forums is someone that wanted to register. &#60;/p&#62;
&#60;p&#62;should i solve that issue FIRST? if so, any ideas? :)&#60;/p&#62;
&#60;p&#62;however, back to main topic, what should i play with in order to share the sessions?
&#60;/p&#62;</description>
</item>
<item>
<title>mdawaffe on "Cookies and WPMU"</title>
<link>http://bbpress.org/forums/topic/cookies-and-wpmu#post-359</link>
<pubDate>Mon, 23 Oct 2006 07:16:40 +0000</pubDate>
<dc:creator>mdawaffe</dc:creator>
<guid isPermaLink="false">359@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;In bbPress, where and how are you loading wpmu?&#60;/p&#62;
&#60;p&#62;Are your mu blogs set up like someblog.example.com or example.com/someblog?
&#60;/p&#62;</description>
</item>
<item>
<title>mozey on "Cookies and WPMU"</title>
<link>http://bbpress.org/forums/topic/cookies-and-wpmu#post-352</link>
<pubDate>Mon, 23 Oct 2006 05:18:49 +0000</pubDate>
<dc:creator>mozey</dc:creator>
<guid isPermaLink="false">352@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;what i need done is for someone to log into thier mu account, and not to have to login again to post in my forums.
&#60;/p&#62;</description>
</item>
<item>
<title>mozey on "Cookies and WPMU"</title>
<link>http://bbpress.org/forums/topic/cookies-and-wpmu#post-337</link>
<pubDate>Sun, 22 Oct 2006 22:39:04 +0000</pubDate>
<dc:creator>mozey</dc:creator>
<guid isPermaLink="false">337@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;well it is a subdirecotry.  and thank you, however,&#60;br /&#62;
$bb-&#38;gt;passcookie = PASS_COOKIE;?&#60;br /&#62;
is not working.
&#60;/p&#62;</description>
</item>
<item>
<title>mdawaffe on "Cookies and WPMU"</title>
<link>http://bbpress.org/forums/topic/cookies-and-wpmu#post-334</link>
<pubDate>Sun, 22 Oct 2006 22:28:42 +0000</pubDate>
<dc:creator>mdawaffe</dc:creator>
<guid isPermaLink="false">334@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;&#60;code&#62;$bb-&#38;gt;passcookie = PASS_COOKIE&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Might work if you load wp before you load bb.&#60;/p&#62;
&#60;p&#62;Is your bbPress URL a sudbirectory of your mu URL?  If so, you should be able to use the $bb-&#38;gt;wp_home and $bb-&#38;gt;wp_siteurl variables.
&#60;/p&#62;</description>
</item>
<item>
<title>mozey on "Cookies and WPMU"</title>
<link>http://bbpress.org/forums/topic/cookies-and-wpmu#post-326</link>
<pubDate>Sun, 22 Oct 2006 15:08:40 +0000</pubDate>
<dc:creator>mozey</dc:creator>
<guid isPermaLink="false">326@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;i managed to get bb and mu working from mu's users tables THANK GOD. Now, i need them to have the same sessions, &#60;/p&#62;
&#60;p&#62;&#34;name 	$bb-&#38;gt;usercookie 	USER_COOKIE&#60;br /&#62;
name 	$bb-&#38;gt;passcookie 	PASS_COOKIE&#60;br /&#62;
path 	$bb-&#38;gt;cookiepath 	COOKIEPATH&#60;br /&#62;
path 	$bb-&#38;gt;sitecookiepath 	SITECOOKIEPATH&#60;br /&#62;
domain 	$bb-&#38;gt;cookiedomain 	COOKIE_DOMAIN&#34;&#60;br /&#62;
(documentation)&#60;/p&#62;
&#60;p&#62;SO, what would the code look like in my config.php?&#60;/p&#62;
&#60;p&#62;$bb-&#38;gt;passcookie = $wp-&#38;gt;{'PASS_COOKIE'}; ?&#60;br /&#62;
..&#60;/p&#62;
&#60;p&#62;This is not workig as nice. any clues?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
