Search Results for 'bbpress'
-
Search Results
-
I’m running WP 2.7.1 and bbPress Version 1.0-rc-1 on
localhost
. WP has been installed to/3dd/
and I installed bbPress to/3dd/bbpress/
today and have done all the proper steps for syncing in the bbPress admin.I have added the following code to
bb-config.php
:require(BB_PATH . '../wp-blog-header.php');<br />
define('WP_AUTH_COOKIE_VERSION', 1);<br />
$bb->bb_xmlrpc_allow_user_switching = true;I can login to both WP and bbPress with my WP user account (yay!), but <b>the problem is that WP doesn’t know when I logged in to bbPress and vice versa</b> (i.e. when I am logged into WP, bbPress still shows the login form). In addition, <b>when I login to bbPress, WP logs me out; and when I login to WP, I am no longer logged in on bbPress</b>. I have cleared my cookies many times and tried it in both IE and Firefox, same result.
Together, WP and bbPress create the following cookies (aside from the wp-settings and test cookies):
Domain Cookie name<br />
/3dd/ wordpress_logged_in_*<br />
/3dd/wp-admin wordpress_*<br />
/3dd/wp-content/plugins wordpress_*<br />
/3dd/bbpress/bb-admin wordpress_*<br />
/3dd/bbpress/bb-plugins wordpress_*<br />
/3dd/bbpress/my-plugins wordpress_*<br />
/3dd wordpress_logged_in_*<br />I believe the last 4 are created by bbPress and it should be noted that there is no trailing slash on the wordpress_logged_in_* cookie path.
Does anyone know what the problem might be?
I have searched (and searched) to no avail for a solution to this seemingly trivial issue. I may be missing something simple.
What I want to do is log out from an integrated bbPress (RC1) and WPMU (2.7.1 with BP 1.0) installation from within bbPress. The BuddyPress.org forum appears to do exactly this.
What is stopping me is that I can’t generate the WPMU nonce value in order to assemble the logout URL, that is, I need the NONCEVALUE for…
http://mysite.com/wp-login.php?action=logout&redirect_to=http://mysite.com&_wpnonce=NONCEVALUE
(bb_create_nonce() generates a different value, as one would expect)
So I have two questions:
1. Is there any way to do this *without* deep integration?
2. If not, how do I achieve this *with* deep integration?
Any help much appreciated. I’m tearing my hair out on this one.
Started this site for users of Canon Powershot cameras to share information, photos, tips, etc. Running bbPress 9.0.4 with Kakumei Blue theme and a number of plugins. Feel free to join if you’d like!
All users have the following displayed for Last Activity: “39 years, 5 months ago”
It appears that any user who has posted to the forum displays Total Time Online with: “-345569 hours, 7 minutes”
Running bbPress: 0.9.0.4
Everything else on the forum appears to be fine. What caused this? Suggestions on how I can fix these dates/data without messing up the forum?
Thanks!