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
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’
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.
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)
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
The go on the this URL to generate new keys and replace then in wp-config.php
Then open bb-config.php in you BBPress installation and search the following lines in it.
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.
Once these files are saved log into the Key Master account of your BBPress installation and in you setting click on ‘WordPress Integration’
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’
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.
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_
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.
Click on BBPress integration and the following screen will appear and enter the details such as your BBPress URL.
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.
Loading…