bbPress

Simple, Fast, Elegant

bbPress support forums » Installation

[sticky]

How to integrate bbPress 0.9 with WordPress 2.3 or lower

(7 posts)
  • Started 1 month ago by sambauers
  • Latest reply from sambauers
  • This topic is not a support question
  1. bbPress 0.9 requires WordPress 2.5 "out of the box" but I have just released a couple of plugins that allow for integration with earlier versions of WordPress (e.g. version 2.3).

    Although you can use these plugins to get integration with earlier versions happening, it is still strongly recommended that you upgrade your WordPress installation to version 2.5!

    Only follow this guide if you are using bbPress 0.9 or higher and are trying to integrate it with a WordPress installation with a version earlier than version 2.5!!!

    The problem with using earlier versions of WordPress is two-fold:

    1. The password hashing algorithm has changed.
    2. The authentication cookie is now different.

    The solution is to install these two plugins into bbPress:

    1. "MD5 Insecurity for bbPress" - downgrades bbPress' password hashing back to MD5.
    2. "Mouldy Old Cookies for bbPress" - Reinstates use of the old cookie styles in bbPress.

    Download and install each of these into bbPress. No plugins should be necessary in WordPress to enable integration.

    I recommend you make these plugins "autoload" by pre-pending an underscore "_" to the plugin filename. This means the plugins will always load and can't be deactivated from the plugin page in the admin area.

    Posted 1 month ago #
  2. Sam, I have both of these plugins running on the latest version of bbpress .9.0.1 and I'm using wordpress 2.3.3. Even before I installed any of your plugins, the user databases transferred between the two but the user roles have never been assigned correctly. Ever since I installed the moldy cookie plugin, I can login on my forums and go to wordpress but when I got from wordpress to bbpress it logs me out. In addition, I can only log onto bbpress now and not wordpress, wordpress says my password is invalid. So I can login through bbpress and go to wordpress fine, but I can't do it vice versa. Any suggestions?

    EDIT:
    Scratch that, it works perfectly now, the problem was that I setup a subdomain forum.chroniccorner.net and it only carried the cookie if I made it chroniccorner.net/bbpress
    thanks!

    Posted 1 month ago #
  3. Hi Sam, would this hold good to WPMU as well? I figure it is definitely not as up to date as WP.

    I tried installing these plugins in bbPress but WordPress doesn't seem to recognize that I am already logged into bbPress or vice versa.

    When I look at the cookies, WPMU has just wordpresspass & wordpressuser set. The bbPress cookies look like wordpressuser_2c7... & wordpresspass_2c7..

    This is with the two plugins installed and made to load with the underscore.

    I will appreciate any help. Thanks!

    Posted 3 weeks ago #
  4. Try putting this in your bb-config, it should rename those bbPress cookies for you:

    $bb->usercookie = 'wordpressuser';
    $bb->passcookie = 'wordpresspass';

    .
    You may also need to adjust the cookie domain and path, but try that first.

    Posted 3 weeks ago #
  5. Hi Sam,
    youve been a great help so far. I was just going through the installation of bbpress. Now I have wpmu installed on my server www.blackidlabs.com. I wanted to integrate bbpress into it. I guess wpmu is in 2.3.3 stage as of now. So I wanted to ask you, should I go through the wordpress integration option which bbpress gives during the installation?

    Thanks

    Jyot

    Posted 3 weeks ago #
  6. @ blackidlabs

    I think a new release of WPMU is imminent. You might want to hold off until it is released, or you can simply follow the same integration steps as for WP2.3 (installing required compatibility plugins)

    If you have any issues, then ask here.

    Posted 3 weeks ago #
  7. New WordPress MU 1.5 release candidate is now out:

    http://ocaoimh.ie/2008/04/19/wordpress-mu-15-rc1/

    Posted 2 weeks ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.