<?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 Tag: cookies</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress Support Forums Tag: cookies</description>
<language>en</language>
<pubDate>Fri, 09 Jan 2009 05:06:42 +0000</pubDate>

<item>
<title>levifig on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2/page/2#post-21462</link>
<pubDate>Thu, 11 Dec 2008 02:01:50 +0000</pubDate>
<dc:creator>levifig</dc:creator>
<guid isPermaLink="false">21462@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;@josswinn:&#60;br /&#62;
Sure, but when is a 1.0 product coming out?? And remember, WP is not bound to bbPress and bbPress is just darn slow! I'm ok with that, but I can't afford using it if that's the case! Every new WP version breaks integration and then there's months before a new version of bbPress comes out... Sorry, not for me!&#60;/p&#62;
&#60;p&#62;Don't get me wrong, I love what they got here, but it just doesn't fit me! I'll recommend it to ppl wanting a very lightweight forum with little to no integration with any CMS! Well.. in that case why use bbPress, that's my question!&#60;/p&#62;
&#60;p&#62;See? :)
&#60;/p&#62;</description>
</item>
<item>
<title>josswinn on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2/page/2#post-21457</link>
<pubDate>Wed, 10 Dec 2008 22:07:24 +0000</pubDate>
<dc:creator>josswinn</dc:creator>
<guid isPermaLink="false">21457@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Well, I wouldn't be so harsh... It's not even 1.0 software yet and I'm looking to integrate two applications from SVN trunk, ideally using a third-party LDAP plugin :-) I didn't really expect it to work but hopefully reporting my findings might help us along the way...&#60;/p&#62;
&#60;p&#62;I've spent enough time on it for now, but will watch for progress and help test with interest.
&#60;/p&#62;</description>
</item>
<item>
<title>tomwi on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2/page/2#post-21450</link>
<pubDate>Wed, 10 Dec 2008 18:30:23 +0000</pubDate>
<dc:creator>tomwi</dc:creator>
<guid isPermaLink="false">21450@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;yep, very frustrating... i have the same issue whether i use 2.5 and alpha 1 rc2, 2.6 and alpha1 rc2, or 2.7 and alpha 1 rc2.&#60;/p&#62;
&#60;p&#62;login to WP, go to BB and click on &#34;Admin&#34; does not go to Admin section - BROKEN&#60;br /&#62;
login WP, user stays logged in to WP and BB - WORKS&#60;br /&#62;
login to BB, user is not logged into WP - BROKEN&#60;/p&#62;
&#60;p&#62;I've tried every integration post on wordpress.org and bbpress.org with no luck.  anyone have ideas?
&#60;/p&#62;</description>
</item>
<item>
<title>levifig on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2/page/2#post-21447</link>
<pubDate>Wed, 10 Dec 2008 16:48:23 +0000</pubDate>
<dc:creator>levifig</dc:creator>
<guid isPermaLink="false">21447@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;@josswinn:&#60;br /&#62;
I think we're all on the same boat: accounts shared and... that's about it!&#60;/p&#62;
&#60;p&#62;F.R.U.S.T.R.A.T.I.N.G.&#60;/p&#62;
&#60;p&#62;I'm starting to wonder if this is actually a worthy open-source project or some project that started with some pretty good intentions and just died out! bbPress is in nooo way related to WP!
&#60;/p&#62;</description>
</item>
<item>
<title>josswinn on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2#post-21446</link>
<pubDate>Wed, 10 Dec 2008 16:43:08 +0000</pubDate>
<dc:creator>josswinn</dc:creator>
<guid isPermaLink="false">21446@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Just to add to this conversation: I've tried to integrate WPMU Version 2.7-RC1-10145 and bbPress Version 1.0-alpha-2 (both from svn trunk).&#60;/p&#62;
&#60;p&#62;User accounts are being shared, user roles are not mapping, cookies are not working.&#60;/p&#62;
&#60;p&#62;Anyone else got past this point without a dirty hack for these recent versions?&#60;/p&#62;
&#60;p&#62;(On another note, bbPress doesn't seem to want to know about users that are created from LDAP accounts which WPMU is authenticating against. It only recognises locally created accounts). I'm using &#60;a href=&#34;https://sourceforge.net/projects/wpmu-ldap&#34;&#62;this&#60;/a&#62; nice plugin for LDAP.
&#60;/p&#62;</description>
</item>
<item>
<title>levifig on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2#post-21444</link>
<pubDate>Wed, 10 Dec 2008 16:21:06 +0000</pubDate>
<dc:creator>levifig</dc:creator>
<guid isPermaLink="false">21444@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Again, I posted something here this morning and it's not showing up while it showed up immediately after posting...&#60;/p&#62;
&#60;p&#62;Will it show up later? Is it gone forever? &#60;/p&#62;
&#60;p&#62;Bottom line: no more bbPress for me!
&#60;/p&#62;</description>
</item>
<item>
<title>mvds on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2#post-21443</link>
<pubDate>Wed, 10 Dec 2008 15:13:10 +0000</pubDate>
<dc:creator>mvds</dc:creator>
<guid isPermaLink="false">21443@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;@Nipon: try to log out and then back in again. I bet you it will tell you that the username does not exist!&#60;/p&#62;
&#60;p&#62;I had to take out the WP-&#38;gt;BBP integration to get that back working.
&#60;/p&#62;</description>
</item>
<item>
<title>Nipon on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2#post-21434</link>
<pubDate>Wed, 10 Dec 2008 11:26:48 +0000</pubDate>
<dc:creator>Nipon</dc:creator>
<guid isPermaLink="false">21434@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;@levifig: Well I forgot to add... yes me too lost the &#60;code&#62;wp_user_level&#60;/code&#62; on my user id. But in the end, I can't access BB admin though it shows me logged in.
&#60;/p&#62;</description>
</item>
<item>
<title>johnjamesjacoby on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2#post-21430</link>
<pubDate>Wed, 10 Dec 2008 08:41:03 +0000</pubDate>
<dc:creator>johnjamesjacoby</dc:creator>
<guid isPermaLink="false">21430@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;If you want to check out &#60;a href=&#34;http://www.delsolownersclub.com,&#34; rel=&#34;nofollow&#34;&#62;www.delsolownersclub.com,&#60;/a&#62; I am running wp2.7rc2 and bbpress1.0a2 right now. Logins are done through WordPress, and if I need to access the bbPress admin, I can login that way privately myself by typing the URL. &#60;/p&#62;
&#60;p&#62;Registrations are also forced through WordPress, as I need to use the register plus plugin or the facebook connect plugin to control registrations. All registered users have author access to WordPress, which conventionally is a horrible idea, but for our intentions it works alright. Unfortunately WordPress doesn't automatically give the new user access to the forums because it isn't aware of the roles for it. I have to manually run the map tool in bbPress when a new user registers. Again, it's a small private group of about 90 users or so, and we all know each other.
&#60;/p&#62;</description>
</item>
<item>
<title>levifig on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2#post-21427</link>
<pubDate>Wed, 10 Dec 2008 08:13:51 +0000</pubDate>
<dc:creator>levifig</dc:creator>
<guid isPermaLink="false">21427@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I'm getting annoyed by bbPress already...&#60;br /&#62;
Wouldn't post my reply and then posted 3 times and then no way to delete them... :&#124;
&#60;/p&#62;</description>
</item>
<item>
<title>levifig on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2#post-21425</link>
<pubDate>Wed, 10 Dec 2008 08:12:42 +0000</pubDate>
<dc:creator>levifig</dc:creator>
<guid isPermaLink="false">21425@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;@Nipon:&#60;br /&#62;
I had the same problem. I had to manually add a row to the wp_usermeta table! For some reason, I lost the &#34;wp_user_level&#34; on my user... setting that to &#34;10&#34; fixed the problem! I had full admin rights to the WP install again, while keeping the &#34;keymaster stuff&#34; on wp_capabilities...&#60;/p&#62;
&#60;p&#62;Hope it helps...&#60;/p&#62;
&#60;p&#62;I'm still struggling with some stuff and wish I didn't have to have my users sign in twice... I might come up with a solution for that or, at least, have the BB login look exactly like my WP's custom login page. I'm actually contemplating of just taking punBB... It's no more of a PITA to install and configure and it's a much better solution!&#60;/p&#62;
&#60;p&#62;And I thought bbPress would be better and easier because of being from the same &#34;ecosystem&#34;... I was *sooooo* wrong... ;(
&#60;/p&#62;</description>
</item>
<item>
<title>johnjamesjacoby on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2#post-21328</link>
<pubDate>Mon, 08 Dec 2008 01:10:55 +0000</pubDate>
<dc:creator>johnjamesjacoby</dc:creator>
<guid isPermaLink="false">21328@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;@Nipon: I had that plug-in installed at one point also, but I'm not sure if it is the culprit or not. I actually installed it hoping that it would pick up on the bbPress roles but it didn't.&#60;/p&#62;
&#60;p&#62;If you integrate by modifying the config.php files, you won't be able to access the bbPress admin regardless of where you login from.&#60;/p&#62;
&#60;p&#62;If you don't integrate the config.php files, you can access the bbPress admin by logging in ONLY through the forum/bb-login.php.&#60;/p&#62;
&#60;p&#62;WordPress just isn't aware of how to assign your session/role the forum admin rights. I am convinced this isn't a cookie issue because all of us seem to have them pretty well synced up, and we're able to login and stay logged in.
&#60;/p&#62;</description>
</item>
<item>
<title>Nipon on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2#post-21327</link>
<pubDate>Sun, 07 Dec 2008 23:59:39 +0000</pubDate>
<dc:creator>Nipon</dc:creator>
<guid isPermaLink="false">21327@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I can login it seems but the bb admin page wont open! I am using role managers plugin... is it to be blamed?
&#60;/p&#62;</description>
</item>
<item>
<title>Nipon on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2#post-21326</link>
<pubDate>Sun, 07 Dec 2008 23:38:24 +0000</pubDate>
<dc:creator>Nipon</dc:creator>
<guid isPermaLink="false">21326@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I did as johnjamesj said (except that i left &#34;secure auth&#34; cookie salt as blank because I don't see it anywhere) I am on wp 2.7rc1 and bb1.0a2. After installing, BB integrated and extracted the wp admin id to assign it the keymaster role. But I could not login in the newly created forum. On the WP side, I was stripped of my admin status and told that I don't have the permissions.. bla bla. After initial panic, I edited  wp_capabilities (under wp_usermeta). It was changed by BB to&#60;br /&#62;
&#60;code&#62;a:1:{s:9:&#38;quot;keymaster&#38;quot;;b:1;}&#60;/code&#62;&#60;br /&#62;
I changed it to&#60;br /&#62;
&#60;code&#62;a:1:{s:13:&#38;quot;administrator&#38;quot;;b:1;}&#60;/code&#62;&#60;br /&#62;
and got back admin powers in wp much to my relief.&#60;/p&#62;
&#60;p&#62;But the problem remains, I can't login to BB. Something is seriously wrong.
&#60;/p&#62;</description>
</item>
<item>
<title>johnjamesjacoby on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2#post-21255</link>
<pubDate>Thu, 04 Dec 2008 07:26:16 +0000</pubDate>
<dc:creator>johnjamesjacoby</dc:creator>
<guid isPermaLink="false">21255@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;@elwagar: Conversely, once they are registered you can assign them a role by going to the bbPress admin, WordPress Integration, and remapping. I feel like a plug-in could help this registration laziness along, but I also think this should just work correctly right away.&#60;/p&#62;
&#60;p&#62;I actually had a similar issue years ago integrating phpBB 2.x and osCommerce together, trying to get one to work inside the other with cookies and what-not was a really big problem, one that I never really did get working 100% correctly.&#60;/p&#62;
&#60;p&#62;I have no experience with bbPress Live, but it might be worth looking into. CK posted a really nice SQL example on how to grab information without a plug-in, so if you can't get that to work, you could always put in a little manual labor. ;)
&#60;/p&#62;</description>
</item>
<item>
<title>eliwagar on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2#post-21254</link>
<pubDate>Thu, 04 Dec 2008 06:39:43 +0000</pubDate>
<dc:creator>eliwagar</dc:creator>
<guid isPermaLink="false">21254@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I am still kind of fighting with it...what i found was that initially new members added to bbpress via WP don´t get a role assigned...but on publishing their first post they will be assigned the proper role...&#60;/p&#62;
&#60;p&#62;As you mentioned bbpress live above: On install it says &#34;not implemented&#34; on the settings screen for the post to WP section. And I can´t get it work either. Is there any secret?
&#60;/p&#62;</description>
</item>
<item>
<title>eliwagar on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2#post-21243</link>
<pubDate>Wed, 03 Dec 2008 14:31:23 +0000</pubDate>
<dc:creator>eliwagar</dc:creator>
<guid isPermaLink="false">21243@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;:( I have just realized that...Bugfixing can be so frustrating...I will check again tonight...
&#60;/p&#62;</description>
</item>
<item>
<title>johnjamesjacoby on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2#post-21241</link>
<pubDate>Wed, 03 Dec 2008 14:14:52 +0000</pubDate>
<dc:creator>johnjamesjacoby</dc:creator>
<guid isPermaLink="false">21241@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Have you tried logging in and out of both your WordPress and bbPress installations and accessing both admin panels? I mean each combination each way.&#60;/p&#62;
&#60;ol&#62;
&#60;li&#62;Log into WordPress; Check admin panel access and cookies; Log out of WordPress&#60;/li&#62;
&#60;li&#62;Log into bbPress; Check admin panel access and cookies; Log out of bbPress&#60;/li&#62;
&#60;li&#62;Log into WordPress; Check admin panel access and cookies; Log  out of bbPress&#60;/li&#62;
&#60;li&#62;Log into bbPress; Check admin panel access and cookies; Log out of WordPress&#60;/li&#62;
&#60;/ol&#62;
&#60;p&#62;That is where the problem lies, and I have been running the most updated trunks of both bbPress and WordPress the entire time. :/
&#60;/p&#62;</description>
</item>
<item>
<title>eliwagar on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2#post-21240</link>
<pubDate>Wed, 03 Dec 2008 13:02:59 +0000</pubDate>
<dc:creator>eliwagar</dc:creator>
<guid isPermaLink="false">21240@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi, I just upgraded Wordpress to RC1 and used the newest trunk pf bbpress yesterday, and everything worked out fine...just as described during installation.
&#60;/p&#62;</description>
</item>
<item>
<title>johnjamesjacoby on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2#post-21225</link>
<pubDate>Tue, 02 Dec 2008 22:18:20 +0000</pubDate>
<dc:creator>johnjamesjacoby</dc:creator>
<guid isPermaLink="false">21225@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Short term, I was able to make this work by modifying 1 core WordPress file. This only allows for integration of the theme, but still does not allow access to the bbPress admin panel without changing the &#60;code&#62;bb-config.php&#60;/code&#62; file back to original.&#60;/p&#62;
&#60;p&#62;It's essentially a quick fix to get the theme working with all capabilities playing nicely.&#60;/p&#62;
&#60;p&#62;Basically I'm hard-coding the capability check from bbPress into WordPress. There should be a filter for this, but I'm not sure how to hook into it correctly without a mod or plug-in on the WordPress side.&#60;/p&#62;
&#60;p&#62;~My fix is in no way a permanent solution. Auto-updating your WordPress installation will overwrite this fix.~&#60;/p&#62;
&#60;p&#62;-----------------------------------------&#60;/p&#62;
&#60;p&#62;In FILE  &#60;code&#62;wp-includes/capabilities.php&#60;/code&#62;:&#60;br /&#62;
In the &#60;code&#62;meta_map_cap&#60;/code&#62; function:&#60;br /&#62;
Around Line 906:&#60;br /&#62;
AFTER &#60;code&#62;break;&#60;/code&#62;&#60;br /&#62;
BEFORE &#60;code&#62;default&#60;/code&#62;&#60;br /&#62;
INSERT:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/* ----------------------- */
	case &#38;#39;write_post&#38;#39;:
		$caps[] = &#38;#39;write_posts&#38;#39;;
		break;
	case &#38;#39;edit_post&#38;#39;:
		// edit_posts, edit_others_posts, edit_deleted, edit_closed, ignore_edit_lock
		if ( !$bb_post = bb_get_post( $args[0] ) ) {
			$caps[] = &#38;#39;magically_provide_data_given_bad_input&#38;#39;;
			return $caps;
		}
		if ( $user_id == $bb_post-&#38;gt;poster_id )
			$caps[] = &#38;#39;edit_posts&#38;#39;;
		else
			$caps[] = &#38;#39;edit_others_posts&#38;#39;;
		if ( $bb_post-&#38;gt;post_status == &#38;#39;1&#38;#39; )
			$caps[] = &#38;#39;edit_deleted&#38;#39;;
		if ( !topic_is_open( $bb_post-&#38;gt;topic_id ) )
			$caps[] = &#38;#39;edit_closed&#38;#39;;
		$post_time = bb_gmtstrtotime( $bb_post-&#38;gt;post_time );
		$curr_time = time() + 1;
		$edit_lock = bb_get_option( &#38;#39;edit_lock&#38;#39; );
		if ( $edit_lock &#38;gt;= 0 &#38;#38;&#38;#38; $curr_time - $post_time &#38;gt; $edit_lock * 60 )
			$caps[] = &#38;#39;ignore_edit_lock&#38;#39;;
		break;
	case &#38;#39;delete_post&#38;#39; :
		// edit_deleted, delete_posts
		if ( !$bb_post = bb_get_post( $args[0] ) ) {
			$caps[] = &#38;#39;magically_provide_data_given_bad_input&#38;#39;;
			return $caps;
		}
		if ( 0 != $bb_post-&#38;gt;post_status )
			$caps[] = &#38;#39;edit_deleted&#38;#39;;
		// NO BREAK
	case &#38;#39;manage_posts&#38;#39; : // back compat
		$caps[] = &#38;#39;delete_posts&#38;#39;;
		break;
	case &#38;#39;write_topic&#38;#39;:
		$caps[] = &#38;#39;write_topics&#38;#39;;
		break;
	case &#38;#39;edit_topic&#38;#39;:
		// edit_closed, edit_deleted, edit_topics, edit_others_topics
		if ( !$topic = get_topic( $args[0] ) ) {
			$caps[] = &#38;#39;magically_provide_data_given_bad_input&#38;#39;;
			return $caps;
		}
		if ( !topic_is_open( $args[0]) )
			$caps[] = &#38;#39;edit_closed&#38;#39;;
		if ( &#38;#39;1&#38;#39; == $topic-&#38;gt;topic_status )
			$caps[] = &#38;#39;edit_deleted&#38;#39;;
		if ( $user_id == $topic-&#38;gt;topic_poster )
			$caps[] = &#38;#39;edit_topics&#38;#39;;
		else
			$caps[] = &#38;#39;edit_others_topics&#38;#39;;
		break;
	case &#38;#39;move_topic&#38;#39; :
		$caps[] = &#38;#39;move_topics&#38;#39;;
		break;
	case &#38;#39;stick_topic&#38;#39; :
		$caps[] = &#38;#39;stick_topics&#38;#39;;
		break;
	case &#38;#39;close_topic&#38;#39; :
		$caps[] = &#38;#39;close_topics&#38;#39;;
		break;
	case &#38;#39;delete_topic&#38;#39; :
		$caps[] = &#38;#39;delete_topics&#38;#39;;
		add_filter( &#38;#39;get_topic_where&#38;#39;, &#38;#39;no_where&#38;#39;, 9999 );
		if ( !$topic = get_topic( $args[0] ) ) {
			$caps[] = &#38;#39;magically_provide_data_given_bad_input&#38;#39;;
			return $caps;
		}
		if ( 0 != $topic-&#38;gt;topic_status )
			$caps[] = &#38;#39;edit_deleted&#38;#39;;
		remove_filter( &#38;#39;get_topic_where&#38;#39;, &#38;#39;no_where&#38;#39;, 9999 );
		break;
	case &#38;#39;manage_topics&#38;#39; :
		// back compat
		$caps[] = &#38;#39;move_topics&#38;#39;;
		$caps[] = &#38;#39;stick_topics&#38;#39;;
		$caps[] = &#38;#39;close_topics&#38;#39;;
		$caps[] = &#38;#39;delete_topics&#38;#39;;
		break;
	case &#38;#39;add_tag_to&#38;#39;:
		// edit_closed, edit_deleted, edit_tags;
		if ( !$topic = get_topic( $args[0] ) ) {
			$caps[] = &#38;#39;magically_provide_data_given_bad_input&#38;#39;;
			return $caps;
		}
		if ( !topic_is_open( $topic-&#38;gt;topic_id ) )
			$caps[] = &#38;#39;edit_closed&#38;#39;;
		if ( &#38;#39;1&#38;#39; == $topic-&#38;gt;topic_status )
			$caps[] = &#38;#39;edit_deleted&#38;#39;;
		$caps[] = &#38;#39;edit_tags&#38;#39;;
		break;
	case &#38;#39;edit_tag_by_on&#38;#39;:
		// edit_closed, edit_deleted, edit_tags, edit_others_tags
		if ( !$topic = get_topic( $args[1] ) ) {
			$caps[] = &#38;#39;magically_provide_data_given_bad_input&#38;#39;;
			return $caps;
		}
		if ( !topic_is_open( $topic-&#38;gt;topic_id ) )
			$caps[] = &#38;#39;edit_closed&#38;#39;;
		if ( &#38;#39;1&#38;#39; == $topic-&#38;gt;topic_status )
			$caps[] = &#38;#39;edit_deleted&#38;#39;;
		if ( $user_id == $args[0] )
			$caps[] = &#38;#39;edit_tags&#38;#39;;
		else
			$caps[] = &#38;#39;edit_others_tags&#38;#39;;
		break;
	case &#38;#39;edit_user&#38;#39;:
		// edit_profile, edit_users;
		if ( $user_id == $args[0] )
			$caps[] = &#38;#39;edit_profile&#38;#39;;
		else
			$caps[] = &#38;#39;edit_users&#38;#39;;
		break;
	case &#38;#39;edit_favorites_of&#38;#39;:
		// edit_favorites, edit_others_favorites;
		if ( $user_id == $args[0] )
			$caps[] = &#38;#39;edit_favorites&#38;#39;;
		else
			$caps[] = &#38;#39;edit_others_favorites&#38;#39;;
		break;
	case &#38;#39;delete_forum&#38;#39;:
		$caps[] = &#38;#39;delete_forums&#38;#39;;
		break;
	case &#38;#39;change_user_password&#38;#39;:
		// change_password, edit_users
		$caps[] = &#38;#39;change_password&#38;#39;;
		if ( $user_id != $args[0] )
			$caps[] = &#38;#39;edit_users&#38;#39;;
		break;
/* ----------------------- */&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>andrewfelluss on "Cookie pretzel - Logging in from WP locks out BB admin"</title>
<link>http://bbpress.org/forums/topic/cookie-pretzel-logging-in-from-wp-locks-out-bb-admin#post-21217</link>
<pubDate>Tue, 02 Dec 2008 19:46:02 +0000</pubDate>
<dc:creator>andrewfelluss</dc:creator>
<guid isPermaLink="false">21217@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks for the update.  I made a little headway now..  I put the following in the wp-config.php:&#60;/p&#62;
&#60;p&#62;define('COOKIE_DOMAIN', '');&#60;br /&#62;
define('COOKIEPATH', '');&#60;/p&#62;
&#60;p&#62;Which I found from the WP Integration page in BB Press.  Now the login/admin access works, but I have to login at each site separately.
&#60;/p&#62;</description>
</item>
<item>
<title>johnjamesjacoby on "Cookie pretzel - Logging in from WP locks out BB admin"</title>
<link>http://bbpress.org/forums/topic/cookie-pretzel-logging-in-from-wp-locks-out-bb-admin#post-21215</link>
<pubDate>Tue, 02 Dec 2008 19:36:16 +0000</pubDate>
<dc:creator>johnjamesjacoby</dc:creator>
<guid isPermaLink="false">21215@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;We're all experiencing the same issue.&#60;/p&#62;
&#60;p&#62;Integration appears to be a little broken still.&#60;/p&#62;
&#60;p&#62;If you need to use the WP functions in your bbPress, that will break it further by not allowing you to access your bbPress admin panel at all. &#60;/p&#62;
&#60;p&#62;The problem looks like the bb_map_meta_cap filter is ignored when the WordPress functions are loaded in place of the bbPress ones.&#60;/p&#62;
&#60;p&#62;Some users have been able to resolve this by using a .htaccess file to redirect to the bbPress login and register page whenever an attempt to register or login is made through WordPress. That is the best fix at the moment if you do not require access to the WP functions.&#60;/p&#62;
&#60;p&#62;If you do require that access, then you will need to wait until a fix comes out for the issue I mentioned above. That's where I am. :(
&#60;/p&#62;</description>
</item>
<item>
<title>andrewfelluss on "Cookie pretzel - Logging in from WP locks out BB admin"</title>
<link>http://bbpress.org/forums/topic/cookie-pretzel-logging-in-from-wp-locks-out-bb-admin#post-21210</link>
<pubDate>Tue, 02 Dec 2008 19:06:43 +0000</pubDate>
<dc:creator>andrewfelluss</dc:creator>
<guid isPermaLink="false">21210@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;WP2.6/BBpress1a&#60;br /&#62;
I think my cookies settings are all in a pretzel!  (Or the admin roles are mis-mapped?)&#60;/p&#62;
&#60;p&#62;I've had a challenging time getting these integrated, but I can see the light at the end of the tunnel...&#60;/p&#62;
&#60;p&#62;If I log in as admin from WP, I can post at bb, but can't access the backpages, nor can i logout.  &#60;/p&#62;
&#60;p&#62;If I login from BBpress, everything works normally.  I'm confused about the various settings for cookie paths, since both the blog and forum are in subfolders of the site, to allow for future expansion without having to move them again.&#60;br /&#62;
&#60;a href=&#34;http://www.epnyc.org&#34; rel=&#34;nofollow&#34;&#62;http://www.epnyc.org&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://www.epnyc.org/forum&#34; rel=&#34;nofollow&#34;&#62;http://www.epnyc.org/forum&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://www.epnyc.org/blog&#34; rel=&#34;nofollow&#34;&#62;http://www.epnyc.org/blog&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>johnjamesjacoby on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2#post-21208</link>
<pubDate>Tue, 02 Dec 2008 18:56:54 +0000</pubDate>
<dc:creator>johnjamesjacoby</dc:creator>
<guid isPermaLink="false">21208@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;It seems like there are several issues here, and I'm not sure which is really the issue or which is a bug...&#60;/p&#62;
&#60;p&#62;Firstly, when integrated, bbPress wants to use the WordPress classes and functions where possible. Namely, the problem with capabilities lies currently with the difference in the &#60;code&#62;WP_User-&#38;gt;has_cap&#60;/code&#62; function. &#60;/p&#62;
&#60;p&#62;On the WordPress side of it, it is missing the &#60;code&#62;global $wp_roles;&#60;/code&#62; and the corresponding check of those roles against the current capability to check.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$caps = call_user_func_array( array(&#38;#38;$wp_roles, &#38;#39;map_meta_cap&#38;#39;), $args );&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;So I'm not sure if this is just a case of bbPress not keeping up with the WordPress user/role classes, or if this is WordPress not properly carrying over bbPress capabilities.&#60;/p&#62;
&#60;p&#62;Ugh...
&#60;/p&#62;</description>
</item>
<item>
<title>Ipstenu on "WP 2.6.3 &#038; bbPress 1.0A2 slight fix"</title>
<link>http://bbpress.org/forums/topic/wp-263-038-bbpress-10a2-slight-fix#post-21031</link>
<pubDate>Tue, 25 Nov 2008 14:33:21 +0000</pubDate>
<dc:creator>Ipstenu</dc:creator>
<guid isPermaLink="false">21031@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;If I add  &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;define(&#38;#39;COOKIE_DOMAIN&#38;#39;, &#38;#39;&#38;#39;);
define(&#38;#39;COOKIEPATH&#38;#39;, &#38;#39;&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to my wp-config file, I can't log in at all. But other than that, yes. Those directions are mostly the same as these, except for the sitecookie hack.
&#60;/p&#62;</description>
</item>
<item>
<title>johnjamesjacoby on "WP 2.6.3 &#038; bbPress 1.0A2 slight fix"</title>
<link>http://bbpress.org/forums/topic/wp-263-038-bbpress-10a2-slight-fix#post-21027</link>
<pubDate>Tue, 25 Nov 2008 07:11:01 +0000</pubDate>
<dc:creator>johnjamesjacoby</dc:creator>
<guid isPermaLink="false">21027@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Curious if you've tried the steps in my wp2.7 topic? It should essentially be the same as with 2.6.3 and everything works pretty well other than the wp header integration.
&#60;/p&#62;</description>
</item>
<item>
<title>Ipstenu on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2#post-21014</link>
<pubDate>Mon, 24 Nov 2008 17:26:47 +0000</pubDate>
<dc:creator>Ipstenu</dc:creator>
<guid isPermaLink="false">21014@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Admittedly, I couldn't get BBPress-Live to work (I wanted to include recent forum posts on my WP front page), but I figured it may be worth a shot :) Good luck!
&#60;/p&#62;</description>
</item>
<item>
<title>Ipstenu on "WP 2.6.3 &#038; bbPress 1.0A2 slight fix"</title>
<link>http://bbpress.org/forums/topic/wp-263-038-bbpress-10a2-slight-fix#post-21013</link>
<pubDate>Mon, 24 Nov 2008 17:23:23 +0000</pubDate>
<dc:creator>Ipstenu</dc:creator>
<guid isPermaLink="false">21013@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Okay, I did some testing of &#60;/p&#62;
&#60;p&#62;&#60;code&#62;$bb-&#38;gt;wp_home = &#38;#39;http://ipstenu.org&#38;#39;;&#60;/code&#62; and &#60;code&#62;$bb-&#38;gt;wp_home = &#38;#39;http://ipstenu.org/bblog&#38;#39;;&#60;/code&#62; and ffft.&#60;/p&#62;
&#60;p&#62;So. This doesn't really bother me much, since I don't mind people double-logging in.  It's only annoying in the realm of I hate when code doesn't work right! :)&#60;/p&#62;
&#60;p&#62;WP 2.6.3, BP 1.0-alpha-2 &#60;/p&#62;
&#60;p&#62;&#60;strong&#62;bb-config&#60;/strong&#62;&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;// WordPress cookie integration speedup
$bb-&#38;gt;wp_siteurl = &#38;#39;http://jorjafox.net/blog&#38;#39;;
$bb-&#38;gt;wp_home = &#38;#39;http://jorjafox.net&#38;#39;;
$bb-&#38;gt;cookiedomain = &#38;#39;.jorjafox.net&#38;#39;;
$bb-&#38;gt;cookiepath = &#38;#39;/&#38;#39;;
$bb-&#38;gt;authcookie = &#38;#39;wordpress_DELETED&#38;#39;;
$bb-&#38;gt;secure_auth_cookie = &#38;#39;wordpress_sec_DELETED&#38;#39;;
$bb-&#38;gt;logged_in_cookie = &#38;#39;wordpress_logged_in_&#38;#39;;
$bb-&#38;gt;admin_cookie_path = &#38;#39;/forums/bb-admin&#38;#39;;
$bb-&#38;gt;core_plugins_cookie_path = &#38;#39;/forums/bb-plugins&#38;#39;;
$bb-&#38;gt;user_plugins_cookie_path = &#38;#39;/forums/my-plugins&#38;#39;;
$bb-&#38;gt;sitecookiepath = &#38;#39;/&#38;#39;;
$bb-&#38;gt;wp_admin_cookie_path = &#38;#39;/blog/wp-admin&#38;#39;;
$bb-&#38;gt;wp_plugins_cookie_path = &#38;#39;/blog/wp-content/plugins&#38;#39;;
// End integration speedups&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;strong&#62;WP-config&#60;/strong&#62;&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;// Cookies
define(&#38;#39;COOKIE_DOMAIN&#38;#39;, &#38;#39;.jorjafox.net&#38;#39;);
define(&#38;#39;COOKIEPATH&#38;#39;, &#38;#39;/&#38;#39; );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I've also tried with no cookie settings in my wp-config. Right now it's commented out. It's sharing the admin cookie, since I can get into WP-admin if I log in with BBpress, but I don't show up as a user (if I go to make a comment, it gives me the screen anon users see). If I log in via WP, I'm only logged into WP.
&#60;/p&#62;</description>
</item>
<item>
<title>lorenzocoffee on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2#post-21010</link>
<pubDate>Mon, 24 Nov 2008 16:35:53 +0000</pubDate>
<dc:creator>lorenzocoffee</dc:creator>
<guid isPermaLink="false">21010@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;@johnjamesjacoby: no worryes, I apreciate your effort for the community, and the attention you gave me.&#60;/p&#62;
&#60;p&#62;@Ipstenu : You light up my day (well almost a month..already)&#60;br /&#62;
bthw bbsync have many issue in the 2.7+1.x ,but a new look afresh maybe will do&#60;/p&#62;
&#60;p&#62;thankyou both very much
&#60;/p&#62;</description>
</item>
<item>
<title>Ipstenu on "Integrate wp2.7 and bbp1.0a2"</title>
<link>http://bbpress.org/forums/topic/integrate-wp27-and-bbp10a2#post-21001</link>
<pubDate>Mon, 24 Nov 2008 15:25:29 +0000</pubDate>
<dc:creator>Ipstenu</dc:creator>
<guid isPermaLink="false">21001@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;BBsync and BBpressLive is as close as I know how to get, &#60;strong&#62;lorenzo&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://bbpress.org/plugins/topic/bbsync/&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/plugins/topic/bbsync/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wordpress.org/extend/plugins/bbpress-live/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/bbpress-live/&#60;/a&#62;
&#60;/p&#62;</description>
</item>

</channel>
</rss>
