Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbAttachments not functional

Published on July 16th, 2009 by

I have followed the README to the letter for installation of the bbAttachments plugin. All relevant directories are 777, I created the bb-attachments directory, and a no go. I host my own site at http://gplug.org/forums/. As soon as I click the upload button, my topic is posted. I have tried jpg and png without success. Images do not reside in the bb-attachments folders either. Currently using bbPress 1.01 and WP 2.8.1 integration.

Suggestions

C*nsor posts but not in specific category

Published on July 16th, 2009 by thekmen

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?

howto find user ids?

Published on July 16th, 2009 by thekmen

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?

Check if user is logged in in 1.0.1

Published on July 16th, 2009 by 4crickj

I want to check if the visitor is logged in, I can’t find a function that works in version 1.0.1 (such as bb_is_user_logged_in(), is_user_logged_in(), bb_is_logged_in() and is_logged_in() ). All of those functions raise the “Call to undefined function” error.

I am trying to make my forum private, redirecting all users that are not logged in to the login page. The following code is in my functions.php theme file:

if(!preg_match("/bb-login.php/", $_SERVER["SCRIPT_NAME"]) && !bb_is_user_logged_in()) {

header("Location: " . $bb->uri . "bb-login.php");

die("Authorisation required.");

}

Any help is appreciated.

How to delete BBPRESS logo — need help

Published on July 16th, 2009 by birdy404

Hi,

Can anyone tell me if there’s a way to delete the BBPRESS logo stamped on the far right of forums? If so how do i do it? Also how can i delete the “xxx is proudly sponsored by bbpress. installbbpress”

thanks.

Linking directly to post?

Published on July 16th, 2009 by Milan Dinić

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

Can I later UPGRADE to 1.0 +

Published on July 16th, 2009 by

I want to start a forum using 0.9 just because it has more compatible plugins. But is it possible to later upgrade to 1.0+ from 0.9 when the plugins become compatible with 1.0+ later during the year… or does it mean i have to stick with one version for ever.

Reorganise/Delete Tags

Published on July 16th, 2009 by ademmler

hi,

I whish to reorganise and delete given tags. How can I do this.

I would also fiddle in the DB, but which are the correct tables?

Why I want this: We want to use Tags for specific support info and our users have done anything into it . . .

Thanks Alexander

Where is WordPress "auth" cookie salt in WPMU 2.7.1?

Published on July 16th, 2009 by Wattskemov

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?

How do I move my bbpress location

Published on July 16th, 2009 by lndasa

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.

Skip to toolbar