Search Results for 'bbpress'
-
Search Results
-
I am using the C*nsor posts plugin on bbPress 1.0.1, works perfectly…
However, I want to disable the censor on one forum.
the function used in the plugin is:
function censor_post_text($post) {
if (!bb_get_option('censor_enable')) {return $post;}
$words = bb_get_option('censor_words');
if ($words[0]=='') return $post;
foreach ($words as $key => $word) {
$words[$key] = '/b('.preg_quote($word).')b/i';
}
$replace = array();
$numwords = sizeof($words);
for($i = 0; $i < $numwords; $i++) {
array_push($replace, "****");
}
$clean_post = preg_replace($words, $replace, $post);
return $clean_post;
}anyone know how I would add something like – if not in form id 20 – to the above?
Topic: howto find user ids?
Hi all,
I am using the hidden forums plugin by _ck_ on bbPress 1.0.1 without any issues so far.
The only thing I am stuck on is getting the user id to add to the list of allowed users. It is not displayed in the bbPress users admin page, so I have to go back to the wordpress end, click on edit user & get the number from the URL.
I am using pretty permalinks in bbPress, so maybe thats why I don’t get it in the edit user profile URL there…
Anyone know of an easy way to display the user id in the bbPress back end?
Topic: Linking directly to post?
Is it possible to link directly to post except with link to named anchor (http://example.com/forum/topic.php?id=152#post-499) on topic page, just like in vBulletin (http://example.com/forum/showthread.php?p=1856440#post1856440) or SMF (http://example.com/index.php/topic,152.msg499.html#msg499)?
Why I am asking this is that I’m doing migration from SMF and there are many links which contains IDs of posts and I want to link directly to them in bbPress too (through mod rewrite), and this is hard when topics have multiple threads (how to find on which page is post in exampled SMF URL above?).
Thanks
I have installed my WordPress-MU 2.7 & bbPress1.0.1 and I also try to bridge the cookies between them.
Now the user data is shared by them. But I can’t make the cookie share work.
I have installed “bbPress Integration” plugin for WordPress. I also Copy these from wp-config:
define(‘AUTH_KEY’, ‘blahblah’);
define(‘SECURE_AUTH_KEY’, ‘blahblah’);
define(‘LOGGED_IN_KEY’, ‘blahblah’);
define(‘NONCE_KEY’, ‘blahblah’);
define(‘AUTH_SALT’, ‘bliddyblah’);
define(‘LOGGED_IN_SALT’, ‘bliddyblah’);
Put them in bb-config.php with BB_ in front:
define(‘BB_AUTH_KEY’, ‘blahblah’);
define(‘BB_SECURE_AUTH_KEY’, ‘blahblah’);
define(‘BB_LOGGED_IN_KEY’, ‘blahblah’);
define(‘BB_NONCE_KEY’, ‘blahblah’);
define(‘BB_AUTH_SALT’, ‘bliddyblah’);
define(‘BB_LOGGED_IN_SALT’, ‘bliddyblah’);
But I don’t know what I should fill in bbPress –> Dashboard –> Setting –> WordPress Integration. For example, where is WordPress “auth” cookie salt in WPMU? I also can’t find WordPress “secure auth” cookie salt & WordPress “logged in” cookie salt in my WordPress admin page.
Where can I find them in WPMU?
I have installed bbpress under mysite.com/blog/wp-content/plugins/bbpress/ and its working fine along with blog (integrated). I would like to move it to mysite.com/forums. I physically copied the files to the mysite.com/forums folder and ran it gave an error saying “page not found” and then I commented out my bb-config.php to restart installation. It accepted DB values but in the Step 2 it went to the old location where it was installed mysite.com/blog/wp-content/plugins/bbpress/. So looks like the site path is hard coded in the database how do I address this.