Info
- 1 post
- 1 voice
- Started 3 years ago by Callum Macdonald
- This topic is resolved
bbPress 0.9.04 and WordPressMU 2.7.1
-
- Posted 3 years ago #
I've just synced cookies on bbPress 0.9.04 and WordPressMU for the second time. I've read a few places that it doesn't work or is difficult, so I wanted to share my solution. It's really very easy. I wrote it up in a blog post:
http://www.callum-macdonald.com/2009/05/17/bbpress-09-and-wordpressmu-27/It was remarkably simple (at least to me) to get it all working. Summary of steps:
1) Set all _KEY values to the same in WordPress and copy to bbPress.
2) Repeat for _SALT values.
3) Set COOKIE_DOMAIN and COOKIE_PATH
4) Settings > WordPress Integration > Show manual config settings, copy into bb-config.php.
5) From 4, change the authcookie value to wordpress_logged_in_Step 5 won't work exactly on WordPress standalone because it uses a hash in the cookie name. You can probably check the WordPress cookie in your browser and set it manually. Or maybe it'll "just work".
Then I whipped up a plugin to set / unset the other 2 WordPress cookies on bbPress login / out. It only works for WPMU right now. Somebody could probably improve it to work for WordPress. Code here:
http://www.callum-macdonald.com/download/wpmu-cookies.php-0.1.zipThis might be useful to somebody... :-)
-
You must log in to post.