[bbDev] bbpress and wp

Aaron aaron at paintbox.org
Tue Nov 22 16:05:56 GMT 2005


This is what I have done and it works perfectly.  Also, as a side note I
have done this with WordPressMU and still works perfectly.

Aaron

> Consider with the WP site at the URI root / and then placing the bbpress
> site in a subdirectory /bbpress then configuring bbpress to share the WP
> users

>
> bb-config.php
>
> populate the BBDB options with the username, password, host used on your
> WP site.
>
> Set the $bb->path to the relative uri
 '/bbpress' or whatever
>
> Then add
>
> define('CUSTOM_USER_TABLE', 'WP_users');
> $myhash = md5('http://www.blah.com');
> $bb->usercookie = 'wordpressuser_' . $myhash;
> $bb->passcookie = 'wordpresspass_' . $myhash;
> $bb->cookiepath = '/';


More information about the bbDev mailing list