Search Results for 'bbpress'
-
Search Results
-
Topic: bbPress 0.8
I feel like its Xmas again… the anticipation!
-orion
I have a unique problem it seems. I have bbpress 0.75 installed and WP 2.0.5 installed and playing together nicely… except that I get a forward slash in front of apostrophes and quotation marks. I have found that if I take out the require_once( ‘/…/wp-config.php’); and define(‘WP_BB’, ‘true’); from the bbpress config.php the problem vanishes. I have been searching all over the forums, but haven’t found anything that seems to match.
My forums are at: http://www.digitalfrontierplus.com/wordpress/forums
bbPress config.php:
<?php
//This will get all the functions from WordPress into bbPress
//require_once(‘path/to/wp-config.php’)
require_once( ‘/home/users/web/b1442/pow.drinknbud/htdocs/wordpress/wp-config.php’);
//Set this value in the config file so the functions defined in WordPress are not redefined
define(‘WP_BB’, ‘true’);
// ** MySQL settings ** //
define(‘BBDB_NAME’, ‘****’); // The name of the database
define(‘BBDB_USER’, ‘*****’); // Your MySQL username
define(‘BBDB_PASSWORD’, ‘*****’); // …and password
define(‘BBDB_HOST’, ‘*****’); // 99% chance you won’t need to change this value
// ** WordPress MySQL settings ** //
define(‘USER_BBDB_NAME’, ‘*****’);
define(‘USER_BBDB_USER’, ‘*****’);
define(‘USER_BBDB_PASSWORD’, ‘****’);
define(‘USER_BBDB_HOST’, ‘*****’);
// Change the prefix if you want to have multiple forums in a single database.
$bb_table_prefix = ‘***’; // 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.digitalfrontierplus.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 = ‘/wordpress/forums/’; // Example: ‘/forums/’
// What are you going to call me?
$bb->name = ‘DFP Forums’;
// This must be set before running the install script.
$bb->admin_email = ‘****’;
// 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 = 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 = ‘*******’;
// 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 = ‘***’; // WordPress table prefix. Example: ‘wp_’;
$bb->wp_home = ‘http://www.digitalfrontierplus.com/wordpress’; // WordPress – Options->General: Blog address (URL) // No trailing slash
$bb->wp_siteurl = ‘http://www.digitalfrontierplus.com/wordpress’; // WordPress – Options->General: WordPress address (URL) // No trailing slash
/* Stop editing */
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>
The management of time and timezone in bbPress needs some care soon, actually you have to set up in config.php the timezone of your server to have freshness works, but this way you loose the time of your timezone if different.
This is not a problem if server and users are on same timezone or in adiacent ones, but as I’m setting up a forum all in italina that has a timezone GMT +1 but server is in LA on PST timezone all the things mess up, if i wanna have time of posts correct for italy i get freshness gettind mad showing up -1 years freshness if i set the PST time zone freshness works right but i get the post time in that timezone too and this is not nice neither right.
I don’t think I’m the only one with this problem and the time management actually is not clear at all maybe it needs to have a server timezone offset and a desired tforum timezone offset or something like that.
Any ideas ?
I’ve done some searching around the forums regarding this issue; haven’t found anything sim. to my problem though – is the error on my side?
I’ve set up wordpress and bbpress on my sandbox apache server and enabled sharing accounts between wordpress and bbpress. When I create a user on the wordpress end, that user gets correct status in bbpress. However, when I register a user through bbpress, it gets far too high privileges on the wordpress side (author)!
I’d like to manually set new users to read-only on the blog side of things.
How can I prevent this?
Topic: PHP call for bbPress root
I am trying to use a call to navigate to the root directory in order to call on an include that is located in a directory outside of the bbPress directory.
Is there anyone out there who could help me with a BB PHP command that will bounce me back to the root directory. I tried…
<?php include('../../etc/etc'); ?>
with out results.So, any suggestions or ideas would be greatly appreciated.
All the Best,
Orion