Skip to:

Re: User Intregation Between WordPress & bbPress not work



All these problem are both cookie path

and forbidden character problems.

Both are poorly documented (or not mentioned at all)

but the good news is that fixes exist for both issues.

I have to find my previous instructions on this but

because bbpress search is so poor, this may take awhile.

Could someone please get this into a wiki or faq at some point:

Steps required for more complete and problem-free bbPress+WordPress integration:

1. cookies paths need to be changed to the same path in both WordPress and bbPress (change to domain root recommended)

2. the integration plugin should be installed

3. the allow spaces in usernames plugin should be installed (also add my underscore hack for characters bbPress by default forbids but WordPress allows – see my message later in same thread)

4. add the ” set default role when registering new user though forum” mini plugin should be installed:

5. search your bbpress templates and force all registrations/logins through wordpress from the several places they are buried on the forum (the WP login interfaces are far more developed) – unfortunately at least one bbPress login location is hard coded in the core which will require a direct hack everytime you upgrade. ie:

<?php $request_uri=$GLOBALS["HTTP_SERVER_VARS"]["REQUEST_URI"]; ?>
<a href="/wordpress/wp-login.php?redirect_to=<?php echo $request_uri; ?>"><?php _e('Login'); ?></a>
<a href="/wordpress/wp-register.php?redirect_to=<?php echo $request_uri; ?>"><?php _e('Register'); ?></a>

6. optional but highly recommended, install the “use display name” plugin for mods+admin:

Skip to toolbar