Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Cookies in WP and BBpress only works on logout

Hi all

I have the same problems with wp 2.7 and bbpress 1.0.6 alpha, if I login in wordpress it logout in bbpress and viceversa.

I have put in wp-config and bb-press the same auth key – secure key and logged in key

the salts too in installation of bbpress (i have take that from wp-admin/options)

and then i have added in wp-config.php

define(‘COOKIE_DOMAIN’, ”);

define(‘COOKIEPATH’, ‘/’);

and in the bb-config.php

// Start integration speedups

// WordPress database integration speedup

$bb->wp_table_prefix = ‘wp_’;

$bb->user_bbdb_name = ”;

$bb->user_bbdb_user = ”;

$bb->user_bbdb_password = ”;

$bb->user_bbdb_host = ”;

$bb->user_bbdb_charset = ”;

$bb->user_bbdb_collate = ”;

$bb->custom_user_table = ”;

$bb->custom_user_meta_table = ”;

// WordPress cookie integration speedup

$bb->wp_siteurl = ‘http://mydomain’;

$bb->wp_home = ‘http://mydomain’;

$bb->cookiedomain = ”;

$bb->cookiepath = ‘/’;

$bb->authcookie = ‘wordpress_66640defe2164fce559625e843fb6d04’;

$bb->secure_auth_cookie = ‘wordpress_sec_66640defe2164fce559625e843fb6d04’;

$bb->logged_in_cookie = ‘wordpress_logged_in_66640defe2164fce559625e843fb6d04’;

$bb->admin_cookie_path = ‘/forum/bb-admin’;

$bb->core_plugins_cookie_path = ‘/forum/bb-plugins’;

$bb->user_plugins_cookie_path = ‘/forum/my-plugins’;

$bb->sitecookiepath = ‘/’;

$bb->wp_admin_cookie_path = ‘/wp-admin’;

$bb->wp_plugins_cookie_path = ‘/wp-content/plugins’;

// End integration speedups

Any Solutions? Really Thanks

Skip to toolbar