In case anyone was still curious following my previous headache post, it is possible to integrate WP2.6 and bbPress 0.9.0.2. I say “possible” because while I’ve got it working as far as I can tell (without having modified core code in either WP or bbP), I haven’t really tested it and it’s a mess. More or less, a specially-crafted plugin for WP plus a specially-crafted plugin for bbP got me nearly there. The one hangup was the login cookie (the new one that is at the root of the site), which while my bbPress plugin seemed to be duplicating it, WP didn’t want to recognize it (I couldn’t find any difference between the cookie set by my bbP plugin and the one set by WP, but WP didn’t like mine anyway). I got around this by bypassing the bbP login mechanism entirely and using the WP login with a redirect back to bbPress.
Of course, it’s also annoying that while there’s a set_auth_cookie action hook, there’s no clear_auth_cookie, so my plugins had to override the clear_auth_cookie function wholesale rather than hooking into it as they do with set_auth_cookie.
If you have some twisted desire to make this unholy integration that I now seem to have working and would like some of my code, leave me a comment.
Comments 3
any ideas to make two wordpress pass cookies o eachother within single domain with same userdatabase?
Posted 01 Oct 2008 at 12:56 am ¶@jc min:
see my reply to your other comment, here.
I’ve been running into the same problem and would be very interested in how you enabled single login between WP2.6 and bbPress 0.9x
Posted 25 Jan 2009 at 6:37 pm ¶