Re: bbPress theme for Buddy
In bb-config.php
<?php
/* require_once( $_SERVER['DOCUMENT_ROOT'] . '/wp-blog-header.php' ); */
if ( !defined('ABSPATH') & !defined('XMLRPC_REQUEST')) {
define('WP_USE_THEMES', false);
include_once( '/home/xxxxxxxxxx/public_html/wp-blog-header.php' );
header("HTTP/1.1 200 OK");
header("Status: 200 All rosy");
}
if ( !defined( 'ABSPATH' ) ) {
include_once( '/home/xxxxxxxxxxxxxxxxx/public_html/wp-load.php' );
}
/**
* The base configurations of bbPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys and bbPress Language. You can get the MySQL settings from your
* web host.
*
* This file is used by the installer during installation.
*
* @package bbPress
*/
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for bbPress */
define('BBDB_NAME', 'xxxxxxxxxxxxxxx');
/** MySQL database username */
define('BBDB_USER', 'xxxxxxxxxxxxxxx');
/** MySQL database password */
define('BBDB_PASSWORD', 'xxxxxxxxxxxxxxx');
/** MySQL hostname */
define('BBDB_HOST', 'localhost');
/** Database Charset to use in creating database tables. */
define('BBDB_CHARSET', 'utf8');
/** The Database Collate type. Don't change this if in doubt. */
define('BBDB_COLLATE', '');
/**#@+
* Authentication Unique Keys.
*
* Change these to different unique phrases!
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/bbpress/ WordPress.org secret-key service}
*
* @since 1.0
*/
define('BB_AUTH_KEY', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
define('BB_SECURE_AUTH_KEY', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
define('BB_LOGGED_IN_KEY', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
define('BB_NONCE_KEY', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
define('BB_AUTH_SALT', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
define('BB_LOGGED_IN_SALT', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
define('BB_SECURE_AUTH_SALT', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
/**#@-*/
define('BP_DISABLE_ADMIN_BAR', false);
/**
* bbPress Database Table prefix.
*
* You can have multiple installations in one database if you give each a unique
* prefix. Only numbers, letters, and underscores please!
*/
$bb_table_prefix = 'bb_';
/**
* bbPress Localized Language, defaults to English.
*
* Change this to localize bbPress. A corresponding MO file for the chosen
* language must be installed to a directory called "my-languages" in the root
* directory of bbPress. For example, install de.mo to "my-languages" and set
* BB_LANG to 'de' to enable German language support.
*/
define('BB_LANG', 'es_ES');
define('COOKIE_DOMAIN', '');
define('COOKIEPATH', '/');
require_once(ABSPATH . 'wp-settings.php');
$bb->bb_xmlrpc_allow_user_switching = true;
?>