Friday, January 28, 2011

Configuring WordBB to work with MyBB

WordBB is a Wordpress plugin designed to bridge MyBB and Wordpress together.  The purpose of doing this is so they work together. It's a way to integrate your existing MyBB forum into your Wordpress site. 

If you already have a Wordpress site, installing the plugin is easy.  Just log into your WP site and click the plugins link and then "add new' and search for "wordbb".  Once you find it, you can install and activate it.

Then comes the tricky part.

Once WordBB has been installed and activated, you'll have to click the links that reads, "WordBB Options" to configure it. And in order to configure it, you'll need to have some information handy (namely, the details of your database setup - that is, the database you setup during your MyBB installation).

Hopefully, you kept some notes during the installation process to make it easier to retrieve this information.  If you didn't, you'll have to log into your web host account and look up the details of your database.  Here's what you need to know:
  • The name of your MySQL database that was set up during MyBB installation. 
  • The username for that database
  • The password for the database
  • The Host Server for the database
You should keep these details in a file so you can refer back to them again if needed.  Another thing you need to know is the URL of your MyBB forum. This is pretty straight forward.  The URL would look something like:

There is one other thing you'll need to complete the WordBB configuration and this is where most people get hung up.You'll need to know is the "MyBB Absolute path on the server"

The easiest way to get this piece of information is to create a PHP file and paste some code into it and upload it to your server in the MyBB root folder (i.e., the folder you installed MyBB to).  This PHP file (when executed) will tell you what the absolute path is.  So here's what you do.

Open you're favorite web editing software (I use Dreamweaver) and create a new PHP file.  Name the file "rootchecker.php" and save it to the same folder you installed MyBB to.  I installed MyBB to a folder named, "forum" on my root directory, so that is where I saved the rootchecker.php file to.

Now copy the code below and then paste it into the rootchecker.php file just after the tag. Then save the file and upload it.

Once the rootchecker.php file has been uploaded, open your internet browser and type in the URL (being sure to replace "" with your actual domain name). :

You'll see a string of text when you're done.  That text is the path to your root folder. Copy that entire string of text and paste it on the "MyBB absolute path on server" field on the WordBB Options page and save the changes. 

If you see an error message saying, "can't find global.php file' after saving the changes, you'll have to follow the steps below. 

First re-open your "rootchecker.php" file and find the code previously pasted into it and remove it.  In it's place, copy and paste the code below:

Save the file and reupload it. Then open your internet browser again and go back to the URL mentioned above (  Once again you'll see a string of text.  Copy and paste this text into the "MyBB absolute path on server" and save.  Hopefully you won't see any more error messages.  

No comments:

Post a Comment