Search Results for 'code'
-
Search Results
-
Topic: don’t work ADD NEW» button
I integrating my blog with bbpress and when I add
require_once('z:/home/test2.ru/www/wp-blog-header.php');
in config.php some buttons in bbpress forum don’t work — ADD NEW» and edit profileAny ideas?
Can’t login or register in bbpress after installing and integrating with WordPress MU. WordPress MU works fine.
I have read through everything, I have tried everything, and I am still not able to login or register in bbpress.
I have missed something and I need help figuring out what. It is making me crazy!
Any Help woudl be MUCH appreciated.
Here is the config file:
<?php
// ** MySQL settings ** //
define(‘BBDB_NAME’, ‘XXXXXX’); // The name of the database
define(‘BBDB_USER’, ‘XXXXXX’); // Your MySQL username
define(‘BBDB_PASSWORD’, ‘XXXXXX’); // …and password
define(‘BBDB_HOST’, ‘XXXXXX’); // 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 = ‘mp_’; // Only letters, numbers and underscores please!
// 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.
$bb->domain = ‘http://www.XXXXXX.com’; // Example: ‘http://bbpress.example.com’
// 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 = ‘XXXXXX’;
// This must be set before running the install script.
$bb->admin_email = ‘admin@XXXXXX.com’;
// Set to true if you want pretty permalinks.
$bb->mod_rewrite = false;
// 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 = 15;
// Your timezone offset. Example: -7 for Pacific Daylight Time.
$bb->gmt_offset = -7;
// 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 = false;
// 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 = ‘mp_’; // WordPress table prefix. Example: ‘wp_’;
$bb->wp_home = ‘http://www.XXXXXX.com’; // WordPress – Options->General: Blog address (URL) // No trailing slash
$bb->wp_siteurl = ‘http://www.XXXXXX.com’; // WordPress – Options->General: WordPress address (URL) // No trailing slash
define(‘CUSTOM_USER_TABLE’, ‘mp_users’);
define(‘CUSTOM_USER_META_TABLE’, ‘mp_usermeta’);
/* Stop editing */
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>
Hello,
Within bbpress-integration.php file, where do I have to input my bbPress table prefix? Refer to excerpt below.
Thanks for your support.
Robert Richard.
<?php _e(“Enter the table prefix for your bbPress installation below. The table prefix is found in your bbPress installation’s
config.php
file. You may list multiple table prefixes by separating them with commas.”); ?>71 <?php _e(‘Example’); ?>:
Add here = bb_
72
73 <h3><label for=’bbpress-integration’><?php _e(Or over here = ‘bbPress table prefixes’); ?></label></h3>
Topic: img tags convert
I am trying to use this to allow images in my posts: <img src=”http://example.com/image.gif” />
I tried this in my, but my post then converts the opening and closing tags to special characters.
Or is the above code supposed to go in config.php?
Topic: Configuring Config.php file?
Hello,
Need some support configuring my bbPress Config.php file at http://patrimoineacadien.com/bbpress . My WordPress blog can be found at http://patrimoineacadien.com .
Have patience reason I don’t have advance programming knowledge.
Please continue reading below to find my bbPress Installation related questions.
Thanks a million for your support.
Robert Richard.
_______________________________________
A) Did create a new MySQL database title patrimoi_bbpress, in my cPanel, for my new bbPress installation. Then, I inputted my already known/existing MySQL username and password. Is this correct?
<?php
// ** 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!
Everything seems to look fine for the URL. What do you think?
// 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.
$bb->domain = ‘http://patrimoineacadien.com’; // Example: ‘http://bbpress.example.com’
// There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.
$bb->path = ‘/bbpress/’; // Example: ‘/forums/’
// What are you going to call me?
$bb->name = ‘Babillard PatrimoineAcadien.com’;
// 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;
C) Getting the –1 years behavior. I’m Eastern Standard Time. How do I resolve?
// Your timezone offset. Example: -7 for Pacific Daylight Time.
$bb->gmt_offset = -4;
D) Did create new folder title languages in the following path bb-includes/languages; then I added fr_FR.mo file into above new folder. French language doesn’t seem to be working. How can I resolve?
// 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’, ‘fr_FR’);
E) Did I input the Akismet key at the right location?
// 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->baacc67278bb = true;
F) How do I configure the following in order to integrate my bbPress with my existing WordPress?
// 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 = false; // WordPress table prefix. Example: ‘wp_’;
$bb->wp_home = false; // WordPress – Options->General: Blog address (URL) // No trailing slash
$bb->wp_siteurl = false; // WordPress – Options->General: WordPress address (URL) // No trailing slash
/* Stop editing */
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>