Skip to:

Can’t get WordPress and bbPress to integrate

  • I’m trying to integrate WordPress 2.07 and bbpress 0.75, but I’m not having any luck! :(

    I’ve followed the instructions found here:

    The following is a copy of my bbPress config.php file.


    // ** MySQL settings ** //

    define(‘BBDB_NAME’, ”); // The name of the database

    define(‘BBDB_USER’, ”); // Your MySQL username

    define(‘BBDB_PASSWORD’, ”); // …and password

    define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    // Change the prefix if you want to have multiple forums in a single database.

    $bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!

    // If your bbPress URL is , the examples would be correct.

    // Adjust the domain and path to suit your actual URL.

    // Just the domain name; no directories or path. There should be no trailing slash here.

    $bb->domain = ‘;; // Example: ‘;

    // There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.

    $bb->path = ‘/hype/’; // Example: ‘/forums/’

    // What are you going to call me?

    $bb->name = ‘Hype’;

    // This must be set before running the install script.

    $bb->admin_email = ”;

    // Set to true if you want pretty permalinks.

    $bb->mod_rewrite = true;

    // The number of topics that show on each page.

    $bb->page_topics = 30;

    // A user can edit a post for this many minutes after submitting.

    $bb->edit_lock = 60;

    // Your timezone offset. Example: -7 for Pacific Daylight Time.

    $bb->gmt_offset = 0;

    // Change this to localize bbPress. A corresponding MO file for the

    // chosen language must be installed to bb-includes/languages.

    // For example, install to bb-includes/languages and set BBLANG to ‘de’

    // to enable German language support.

    define(‘BBLANG’, ”);

    // Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage

    // of Akismet’s powerful spam blocking, you’ll need one. You can get an Akismet key at


    $bb->akismet_key = ‘e9a77fed10be’; // Example: ”

    // The rest is only useful if you are integrating bbPress with WordPress.

    // If you’re not, just leave the rest as it is.

    $bb->wp_table_prefix = ‘wp_’; // WordPress table prefix. Example: ‘wp_’;

    $bb->wp_home = ‘;; // WordPress – Options->General: Blog address (URL) // No trailing slash. Example: ‘;

    $bb->wp_siteurl = ‘;; // WordPress – Options->General: WordPress address (URL) // No trailing slash. Example: ‘;

    /* Stop editing */

    define(‘BBPATH’, dirname(__FILE__) . ‘/’ );

    require_once( BBPATH . ‘bb-settings.php’ );


    After setting the config file, I went through the install process for bbPress. Then I downloaded the following plugins: wordpress-integration.php (placed in my-plugins) and bbpress-integration (activated in WordPress and set table prefix to bb_)

    The only account that works through both logins is the admin account. When I check the tables for the bbPress database I see this:









    I checked wp_users and there is only 1 user in the database.

    This is driving me nuts!!! Any help would be appreciated.

Viewing 12 replies - 1 through 12 (of 12 total)

  • so1o


    on the top of config.php add

    define('WP_BB', true);


    require_once( '/absolute/path/to/wordpress/ config/file/wp-config.php');

    I added the two lines to the top of the file:

    define(‘WP_BB’, true);

    require_once( ‘/httpdocs/wp-config.php’);

    Still only 1 user showing in the wp_users table.



    have you added the wordpress plugin and activated it?

    Yes, I have. As stated above, I added the wordpress plugin and activated it in the plugin control panel on WordPress. Then set the table structure to “bb_”

    I then uploaded the wordpress-integration plugin into the /my-plugins/ folder.

    So both plugins have been added.



    just to understand the problem.. you have more than 1 user in the system..

    There’s only 1 user in bbPress (admin account/keymaster)

    There are thousands of users registered on my WordPress blog,

    None of the registered users from WordPress are showing up in bbPress.

    It seems as if the wordpress-integration plugin in the /my-plugins/ folder isn’t doing it’s job. Is there a way to check if it’s running?



    bbpress and wordpress are installed in the same database?

    No, they each have their own database. Was bbPress supposed to be installed in the same database as WordPress?

    I guess they’re supposed to be in the same db.. DOH!?!

    “Setting $bb->wp_table_prefix in bbPress’s config.php will tell bbPress to grab users and user meta data from those WordPress tables (in the same database as your bbPress tables).”

    They need to make this a bit more clear for folks that are trying to integrate the two. If you’re installing bbPress without going to the integration instructions first, you’ll have to restart the entire process.

    bbolman – is what I’m saying correct? if so, I’ll start the re-install. thanks.



    yeah, unfortunately at the moment the two need to be in the same database for the integration to work. You don’t necessarily need to reinstall, you can probably just copy your info from one db to the other.

    thanks… I’ll go ahead and do that. :)

Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.
Skip to toolbar