Re: Plugins for WordPress integration
I tried this, one additonal problem is that the logout function on the forums doesn’t work now, I have to log out from a WP page. Other than that, nothing has changed! Would it be easier if I were to delete the account from my server and try again, or do you enjoy the challenge?
// ** 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!
$bb->cookiedomain = ‘.awspress.com’; // Thanks Trent! https://bbpress.org/forums/topic/12?replies=10
$bb->cookiepath = ‘/’; // Thanks Trent! https://bbpress.org/forums/topic/12?replies=10
// If your bbPress URL is http://bbpress.example.com/forums/ , 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.
// There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.
$bb->path = ‘/forums/’; // Example: ‘/forums/’
// What are you going to call me?
$bb->name = ‘Amazon plugin for WordPress’;
// 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 de.mo to bb-includes/languages and set BBLANG to ‘de’
// to enable German language support.
// 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 = ”;
// 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 = ‘http://awspress.com’; // WordPress – Options->General: Blog address (URL) // No trailing slash
$bb->wp_siteurl = ‘http://awspress.com’; // WordPress – Options->General: WordPress address (URL) // No trailing slash
/* Stop editing */
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );