in

BBPress and integration of BBPress with WordPress

What is BBPress

WordPress is one of the most popular open source blogging engine. BBPress is also an open source forum system by the creators of WordPress.

BBPress is a very elegant and powerful forum system which is written in PHP and mySQL.

BBPress has a very good integration with WordPress which helps us to get the full power and functionality of both these systems.

Installing BBPress

You can download the latest version of BBPress from http://bbpress.org/download/

Once it is downloaded it unzip it and upload it on your web server. Then point your browser to your BBPress directory, so you will see the following screen.

On that screen press go to step 1

BBPress integration WordPress Image 1

Step 1 – DataBase configuration

In step 1 you will provide the information about mysql database. Here you will have to enter the Database name , Database user, Database password , Database host , table prefix etc.

Here preferably enter the same database which you used for your WordPress installation.

Once all the details are filled click on ‘Save Data’

BBPress integration WordPress Image 2

Step 2 WordPress Integration

For now skip WordPress integration by clicking on ‘Skip WordPress integration’. We will do the integration once the BBPress installation is done.

BBPress integration WordPress Image 3

Step 3 Site Setting

The third step is site setting in which you will have to enter the site name, site address etc.

Here you will also enter the ‘Key Master’ username and email (Key Master is equivalent to your Admin user in WordPress)

BBPress integration WordPress Image 4

This will complete your BBPress installation. You can now point your browser to your BBPress installation and check if your forum shows up and everything is working fine.

Integration of BBPress with WordPress

Open wp-config.php in your WordPress installation . In that locate the place where you find the following lines

BBPress integration WordPress Image 5

The go on the this URL to generate new keys and replace then in wp-config.php

BBPress integration WordPress Image 6

Then open bb-config.php in you BBPress installation and search the following lines in it.

BBPress integration WordPress Image 7

Then you can replace the following lines with the keys you pasted in wp-config.php. You have to just add BB_ before every key as shown below.

BBPress integration WordPress Image 8

Once these files are saved log into the Key Master account of your BBPress installation and in you setting click on ‘WordPress Integration’

BBPress integration WordPress Image 9

After that the first thing you need to do is to map the roles between wordpress and BBPress. You can map the roles as shown below ( or some appropriate combination based on your site ) . Once the roles are mapped you can click on ‘Save Changes’

BBPress integration WordPress Image 10

Below on the screen you will have to do a few more settings as shown below. For the cookies you will have to enter the WordPress URL and Blog URL. These should be the same as on the Settings page of your WordPress site.

BBPress integration WordPress Image 11

Then you will have to do the setting for the database .If you have installed BBPress in the same database as your WordPress installation then you will just have to add the table prefix you gave in wordpress. This prefix generally is wp_

BBPress integration WordPress Image 12

Once this is done you setting from BBPress side is totally done.

BBPress Integration plugin for WordPress

The one last thing before we are done is you will have to download the bbPress Integration plugin for WordPress and install it. Once the plugin is installed in your WordPress you will see the link of BBPress Integration as shown below.

BBPress integration WordPress Image 13

Click on BBPress integration and the following screen will appear and enter the details such as your BBPress URL.

BBPress integration WordPress Image 14

Once you entered the details it will generate some code which you will have to paste it in wp-config.php . This code will be generated based on the information you provided and your general setting.

Once you have pasted the code generated in wp-config.php you are done with you BBPress integration with WordPress . Now user will have a common log in for the WordPress and BBPress installation.

Conclusion

WordPress and BBPress together give a lot of features and functionality to your complete site . And the good integration between BBPress and WordPress helps the user to have one common log in for both the sites. Of course, although both scripts run on cheap web hosting, it is preferably fro best performance to have a good web hosting plan.

Written by CrazyLeaf Editorial

Follow us on Twitter @crazyleaf , Facebook , Pinterest

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Loading…

New High Resolution Cloud Texture Packs Giveaway

Roles and User Management in WordPress – Tips, Tricks and Useful Plugins