I was away so didn’t get a chance to write this tutorial but now I am back on track and here it is.
This tutorial is for people starting with fresh installations of WordPress 2.8 or 2.9 & bbPress 1.0. There is also a tutorial for upgrading existing integrated installations of WordPress & bbPress. And if by any chance you want to integrate WordPress 2.6 or 2.7 with bbPress with 0.9, then head over to this tutorial.
If you want to have a look at the benefits of integrating WordPress with bbPress, then take a look at my previous tutorial.
INSTALL WORDPRESS FIRST
I have gone a little more to enhance the security of WordPress by changing the default table prefix, however you can skip it but there is no reason why would you do so.
- In your wp-config.php file, change the WP prefix table from “$table_prefix = wp_’;” to something else like “$table_prefix = ‘rocking_’;”
- Use WP secret key service to generate yourself authentication unique keys : https://api.wordpress.org/secret-key/1.1/ and paste them in wp-config.php
- Open this URL : http://example.org/wp-admin/options.php in your browser and copy the values from here when asked during the bbPress installation.
Now proceed to install bbPress.
INSTALL BBPRESS NOW
Make a sub folder in your WordPress directory so as to have the forums in the sub-directory. For example: Main site URL is http://example.org/ and forums URL is http://example.org/forums
- Change the bbPress table prefix from “$bb_table_prefix = ‘bb_’;” to something else like “$bb_table_prefix = ‘life_’;” in bb-config.php
- Install bbPress by opening http://example.org/forums/ and at the integration step, fill all the details. Some are available under wp-config.php and some are in http://example.org/wp-admin/options.php page.
Fill all the details asked. Just click on the question icon on right and details will appear which will tell form where you can get that value.
WordPress “secure auth” cookie salt can be left blank if not found.
Now, In User Database integration settings, specify the wordpress table prefix, if you have changed it to “rocking_”or something else.
Leave the WordPress MU option blank (the reasons are obvious, you are using regular WordPress installation).
Now, under Advance Database settings, fill all the details that you fill in config files like database name, database user & password, database host, character set (utf8) & character collation (utf8_unicode_ci).
Fill the custom user tables too. Default ones are wp_users and wp_usermeta. Change them to rocking_users & rocking_usermeta or whatever your WP table prefix is.
ensure that the following constants are equivalent in WordPress’ and bbPress’ respective config files.
WORDPRESS <=> BBPRESS
AUTH_KEY <=> BB_AUTH_KEY
SECURE_AUTH_KEY <=> BB_SECURE_AUTH_KEY
LOGGED_IN_KEY <=> BB_LOGGED_IN_KEY
Now you have got WordPress 2.8.1 & bbPress 1.0.1 integrated. If you didn’t achieve integration, then follow the steps again as I have tested this on multiple installations. Tried? Still need help? Leave a comment here and I will try to help and yes, you can hire me too if you want me to do it for you.