Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: WordPress/BBPress Single Sign On


_ck_
Participant

@_ck_

There is an obscure cookie control plugin for wordpress that I found somewhere around here I think:

http://www.2diabolos.com/blog/plugins-pour-wordpress/setcookieparams/

the bbpress config options you want are like this:

$bb->wp_table_prefix = 'wp_';  // WordPress table prefix.  Example: 'wp_';
$bb->wp_home = 'http://example.com/blog'; // WordPress - Options->General: Blog address (URL) // Example: 'http://example.com'
$bb->wp_siteurl = 'http://example.com'; // WordPress - Options->General: WordPress address (URL) // Example: 'http://example.com'

$bb->usercookie = 'wordpressuser_ab1b1c8b2de0ca2b381c25a6b6e812a1';
$bb->passcookie = 'wordpresspass_ab1b1c8b2de0ca2b381c25a6b6e812a1';
$bb->cookiedomain = 'example.com';
$bb->cookiepath = '/';

you also obviously want this plugin:

https://bbpress.org/plugins/topic/2?replies=3

and less obviously this one is a must for WP integration:

https://bbpress.org/forums/topic/usernames-with-spaces-do-not-work?replies=24#post-7904

unfortunately it’s not setup here as a formal plugin but it should be – see my dot fix at the end

Skip to toolbar