Skip to:

Need Help With Install – Is this config filled out correctly?

  • I have spent three hours trying to figure out what I’m doing – can someone tell me if this config.php is correct?

    I have placed xxx’s in place of password, etc..


    $bb->WP_BB = true;

    require_once( ‘public_html/wp-blog-header.php’ );

    // ** MySQL settings ** //

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

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

    define(‘BBDB_PASSWORD’, ‘xxxxxxxx’); // …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!

    // The full URL of your bbPress install

    $bb->uri = ‘;;

    // What are you going to call me?

    $bb->name = ‘Teach The Boss Forums’;

    // This must be set before you run the install script.

    $bb->admin_email = ‘’;

    // Set to true if you want pretty permalinks, set to ‘slugs’ if you want to use slug based 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 = -5;

    // 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 = ‘xxxxxxxx’; // Example: ‘0123456789ab’

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

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

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

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

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

    /* Stop editing */

    if ( !defined(‘BBPATH’) )

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

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


Viewing 6 replies - 1 through 6 (of 6 total)
  • Right off the cuff, I would do the following until you have it installed correctly:

    1) Remove:

    $bb->WP_BB = true;
    require_once( 'public_html/wp-blog-header.php' );

    2) Change to false:

    $bb->mod_rewrite = false;

    Once you have bbPress installed and integrated with wordpress (logins), then play around with the permalinks and the including bbPRess functions with WP.


    Hi Trent,

    I did as you instructed, and it now says;

    Cannot select DB.

    Could you give me another clue on this?


    It is purely in the Database information. Double check that you have the right username, password and database name. That error just means that it is the wrong info. Double check you have the right password and stuff from your WP wp-config.php


    Yes. Your database info is wrong. Maybe you’re the supposedly 1% that needs to change the db host – does your hosting provider give any info on connecting to databases?

    [Edit] Trent totally beat me to it, and better, too.

    Thanks Trent, it worked. I didn’t know I could duplicate the needed entries from wp-config.

    Thanks again.

    Glad to hear it ronald. Marking this one as resolved. Make a new topic if you find another issue for us!


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