Integration between WordPress and bbPress
-
I found significant problems with the bbPress documentation on integrating bbPress into a WordPress site, which had me puzzling for well over an hour (http://bbpress.org/documentation/integration-with-wordpress/). Here is what I did in the end:
1) Not at all clear from the documentation that bbPress should be installed in the same database as WordPress. Get WP database parameters from the WordPress wp-config.php, and enter these on the first page of the bbPress install page:
define(‘DB_NAME’, ‘warriord_wrdp7’);
/** MySQL database username */
define(‘DB_USER’, ‘warriord_wrdp7’);
/** MySQL database password */
define(‘DB_PASSWORD’, ‘xxxxxx’);
2) Fantastico and other automated scripts generate very long AUTH_KEY etc, that typically contain “escaped characters” within a PHP “define” statement (ie. ’ and \). Copying these from the wp-config.php into page 2 of the bbPress installer is problematic. Rather than trying to figure this out, I just copied them from wp-config.php (in WordPress) to bb-config.php (in bbPress).
Other than this, it was pretty straightforward and now works like a charm. To see it working http://internet101.biz/wordpress-how-to/
Marc
- You must be logged in to reply to this topic.