Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: cookies (subtle bug?) single sign-on bbpress and wordpress


horrorshow
Member

@horrorshow

I fixed the problem by making changes to the bb_cookie() and bb_logout() since wpmu and bbpress set cookies differently: (the expire times are different). If anyone wants to me to post the code, please let me know.

Also, I added the “cookiedomain” to the config.php

Here’s the full list relevant to the integration.

$bb->wp_table_prefix = 'wp_';
$bb->wp_home = 'http://achillesblog.com';
$bb->wp_siteurl = 'http://achillesblog.com';
$bb->usercookie = 'wordpressuser';
$bb->passcookie = 'wordpresspass';
$bb->cookiepath = '/';
$bb->cookiedomain = '.achillesblog.com';
$bb->path='/forum/';

Skip to toolbar