bbpress standalone to bbpress wordpress plugin migration

bbPress Standalone to WordPress Migration

bbPress is  a forum software which,  in the older versions worked as a “standalone” forum and in some ways it had some degree of integration with WordPress forums, but not fully integrated. The latest versions of this software work as a WordPress plugin, having all functionality inside WordPress database and structure.

This is not one of my favorite forum software, and not one of my choice (mainly because there are a lot of functionality like emoticons, private messages, and other common forum tools that are not included, and for which we will need to download extra plugins to use those) but sometimes we need to take an existing bbPress forum and update it to the latest version of WordPress.

There are a few problems that show up when trying to migrate the forum data from an older version of bbPress (standalone versions) lower than the bbPress 1.2 version, in which case a few steps must be done for updating it, because an upgrade to the 1.2 version must be done manually.

Once the bbPress standalone version is updated to the 1.2, we can run the migration tool provided by the latest version of bbPress as a WordPress plugin:

https://wordpress.org/plugins/bbpress/

This operation is completely automatic, but will take some time if there is too much information in our database.

 

Sometimes you can run the migration tool from the new bbPress plugin on bbPress standalone versions older than 1.2 without any errors or warnings, however it has been reported that doing this has ended up in losing some reference information between registers, like parent forums not being converted and child forums having lost their parent reference.

 

Here you can see, on the bottom right of the screen, that our bbpress forum version is 1.0.2

Here you can see, on the bottom right of the screen, that our bbpress forum version is 1.0.2

 

Step by Step – How to upgrade bbPress < 1.2 to 1.2 standalone:

  1. Download bbPress standalone version 1.2 from  https://bbpress.org/download/legacy
  2. From the same page, download the Backpress Package.
  3. Download the “pomo” package here: https://glotpress.trac.wordpress.org/browser/trunk/pomo?rev=191
  4. Inside the recently downloaded folder for bbPress 1.2 version, find the folder “bb-includes” and inside of it create a folder called “backpress” (if it doesn’t exists) and dump in all files from backpress package includes folder. (you will have /backpress/class.bp-log.php and so on).
  5. Inside the “backpress” folder, create another called “pomo” (if it doesn’t exists) and dump inside all files from the “pomo” package downloaded in step 3
  6. When you combine this bbpress 1.2 folder with your project’s folder your bbpress standalone version will be updated to 1.2 version. Be careful not to delete your bb-config.php and your custom templates
  7. Log in to your administrator panel and the database will be updated automatically after you see a confirmation message

*You can find these files attached at the end of this post too.

Screen Shot 2015-03-31 at 12.38.05 PM

Here you can see the confirmation message from step 7

 

Here you can see on the bottom right that the new version of the bbpress forum is 1.2

Here you can see on the bottom right that the new version of the bbPress forum is 1.2

Migrate Data

Now you are ready to import to the built-in WordPress version of bbPress using the import tool. Download and install latest bbPress plugin:

https://wordpress.org/plugins/bbpress/

Then go to Tools>Forums>Import Forums and follow the instructions to import all your information.

bbpress WordPress plugin migration tool

bbPress WordPress plugin migration tool

 

Notes: once in the migration tool,

  • Where it says “select platform”, choose “bbpress1” (this is for standalone bbpress version, now 1.2).
  • Complete all MySQL/Database info with yours.
  • “Table prefix” is usually “bb_” (check your database to make sure of this).
  • Sometimes an error occurs during the import/migration, in case you need to re-start the migration process, I suggest you to check the “start a fresh conversion from the beginning” and “purge all information from a previously attempted import” checkboxes before starting.

 

You will probably need to update your WordPress version to be able to use bbPress plugin and migration tools.

 

F.A.Q. – Possible errors and warnings:

When logging in to admin panel to perform the database update you can get a notice about database upgrade and warnings about some errors that it could not drop primary index keys and create new ones.

This issue has been reported several times, but conversion could be completed successfully, and all forums were intact and operational besides these warnings.

This issue has been reported several times, but conversion could be completed successfully, and all forums were intact and operational besides these warnings.

 

 

Attached file packages for download:

download Download bbpress 1.2 package files

download Download Backpress package

download Download Pomo package