Forum Replies Created
-
In reply to: WP and BBpress in 2 separate dbs?
i dont understand what “define USER_BBDB_NAME, USER_BBDB_USER, USER_BBDB_PASSWORD, and USER_BBDB_HOST” means..
here is my config.php file. please let me know if this is correct.
<?php
// ** MySQL settings ** //
define(‘USER_BBDB_NAME’, ‘XXXXX’); // The name of the database
define(‘USER_BBDB_USER’, ‘XXXXX’); // Your MySQL username
define(‘USER_BBDB_PASSWORD’, ‘XXXXXX’); // …and password
define(‘USER_BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
define(‘BBDB_NAME’, ‘XXXXX’); // The name of the database
define(‘BBDB_USER’, ‘XXXXXX’); // Your MySQL username
define(‘BBDB_PASSWORD’, ‘XXXXXX’); // …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 = ‘http://richardfleigh.com/richardfleigh/bbpress/’;
// What are you going to call me?
$bb->name = ‘Richards new bbpress site’;
// This must be set before you run the install script.
$bb->admin_email = ‘richard@mediosone.com’;
// 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 de.mo 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
// http://wordpress.com/api-keys/
$bb->akismet_key = ”; // 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 = ‘http://blog.richardfleigh.com/’; // WordPress – Options->General: Blog address (URL) // Example: ‘http://example.com’
$bb->wp_siteurl = ‘http://blog.richardfleigh.com/’; // WordPress – Options->General: WordPress address (URL) // Example: ‘http://example.com’
/* Stop editing */
if ( !defined(‘BBPATH’) )
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>