Akismet looks at a number of factors – ranging from email addresses to IPs and the texts of posts.
_ck_ also suggested not trying to test Akismet with spammy comments:
I don’t recommend trying to purposely cause spam to test it because akismet might flag you globally as a spammer and you’ll end up being bozo’ed across multiple forums/blogs.
https://bbpress.org/forums/topic/what-do-your-posters-see-when-their-posts-as-flagged-by-akismet#post-31467
I’ve marked a few posts as spam on my forum, and noticed that every subsequent comment by that user got flagged by Akismet. Your mileage may vary… but you’re welcome to take your chances.
I’m not entirely sure how Akismet works, but doesn’t it work with matching email addresses to known spammers, rather than forum names?
I also think to trigger Akismet’s wrath, you’d also have to go on a mass commenting/spamming over a multitude of forums.
Just activate it, and if you’re not getting spam, assume it’s working
So… I’m thinking the secret lies somewhere here:
bb-includes/functions.bb-users.php Lines 171+:
if ( count( $wordpress_roles_new ) ) {
bb_update_usermeta( $user, $wordpress_table_prefix . 'capabilities', $wordpress_roles_new );
bb_update_usermeta( $user, $wordpress_table_prefix . 'user_level', max( $wordpress_userlevels_new ) );
Can I just change the 3rd argument to keep it null?
Of course, there is also the next few lines dealing with: function bb_apply_wp_role_map_to_orphans()
In short — how can I prevent bbpress from messing with my WPMU settings ever!? And I mean – never ever! If I want to change the MU settings, I’ll do it in MU.
Bad bbpress! No! Bad program. Go to your room. 
Even when a new user registers in BBpress – let em be orphaned in MU… whats the harm?
(Stop… think… how will the affect cookies… if a user goes to MU, and there is no setting for them, but they have a shared cookie saying they are logged in, MU will FREAK OUT!… So, something needs to change on MU’s end to say: if this happens, (cookie says logged in, but no role for you!) no biggie, stay cool, just pretend the user is not logged in…. Oooooh…. am I on to something?)
I find the AUTH_SALT etc. in my wp-config.php file. But I still can’t share the cookies after I have done all stuff.
Here is my bbPress admin image:
http://www.waterlin.org/tmp/bbPress_Cookies_integration.png
I notice that there is on sentence in bbPress document:
https://bbpress.org/documentation/integration-with-wordpress/
Here is the sentence:
This feature requires your WordPress and bbPress installations to exist in the same domain name, or at least in sub-domains of the same domain name.
I install WPMU into the root of my virtual host; then I install bbPress into the path /forum/
I don’t know if bbPress will work when it is in the sub-folder of WPMU?
If you’re not getting spam, then you don’t have to worry too much if it’s working or not!
What I usually do on a new install is set it up with Akismet and then wait a week or so… for it to catch its first piece of spam! 
Definitely do not try and “test” Akismet, as you don’t want to get blacklisted from all sites that use Akismet!
“Is there any easy way to search for plugins that are compatible with the bbPress 1 branch?”
BBcode, Add image, the video plugin all worked perfectly for me.
can i somehow make simple force login without addons?
resolved by google: http://buddypress.org/forums/topic/bbpress-force-login-for-buddypress
‘code’
<?php
/*
Plugin Name: Force Login
Description: No one can see your forums unless they are logged in.
Plugin URI: http://bbpress.org/forums/topic/117
Author: Michael D Adams *voodoo code from Trent Adams and Sam Bauers*
Author URI: http://blogwaffe.com/
Version: 0.8
*/
function force_login_init() {
if ( !bb_is_user_logged_in()
&& 0 !== strpos($_SERVER, bb_get_option( ‘path’ ) . ‘bb-login.php’)
&& 0 !== strpos($_SERVER, bb_get_option( ‘path’ ) . ‘bb-reset-password.php’)
&& 0 !== strpos($_SERVER, bb_get_option( ‘path’ ) . ‘register.php’)
&& 0 !== strpos($_SERVER, bb_get_option( ‘path’ ) . ‘xmlrpc.php’)
) {
nocache_headers();
header(“HTTP/1.1 302 Moved Temporarily”);
bb_safe_redirect( bb_get_uri( ‘bb-login.php’, null, BB_URI_CONTEXT_HEADER + BB_URI_CONTEXT_BB_USER_FORMS ) );
header(“Status: 302 Moved Temporarily”);
exit();
}
}
add_action( ‘bb_init’, ‘force_login_init’ );
?>
‘/code’
i’m having a problem with unescaped characters showing up in my forum entries – for instance, if there’s an apostrophe in an entry, it gets displayed as '
when people read the forum. if you later edit that entry, the next display is \'
and so forth. it seems as if the engine isn’t un-escaping the characters.
i’m using bbPress 1.0.1 and wordPress 2.8.1 at http://trashfilmorgy.com/
No, especially because not all plugins that work with 1 are labeled as such
The problem is the way the plugin is written, the same filter is used for the title and such.
the post_text filter can also pass the post_id which you can use to lookup the forum the post is in but you’d have to modify more of the plugin to not use the post_id
you can try modifying this
add_filter('post_text', 'censor_post_text');
to
add_filter('post_text', 'censor_post_text',10,2);
so it then passes the post_id
Then change this
function censor_post_text($post) {
to this
function censor_post_text($post,$post_id=0) {
and then add this after the above
if (!empty($post_id)) {$temp=bb_get_post($post_id); if ($temp->forum_id==20) {return $post;}}
bb_is_user_logged_in()
is right there, still in 1.0.1
The problem is you are checking too early, right when the plugin loads which is too soon.
A user is not determined as logged in until bb_init happens. So you have to make a mini-plugin
add_action('bb_init','check_login');
function check_login() {
if(!preg_match("/bb-login.php/", $_SERVER["SCRIPT_NAME"]) && !bb_is_user_logged_in()) {
header("Location: " . $bb->uri . "bb-login.php");
die("Authorisation required.");
}
}
You could temporarily turn off pretty permalinks and you’ll see their id in the url.
You can also use this mini-plugin to show their user id in the profile
add_filter( 'get_profile_info_keys','bb_member_id_in_profile',255);
function bb_member_id_in_profile($keys) {
global $self;
if (empty($self)==true && isset($_GET['tab'])==false && bb_get_location()=="profile-page") {
(array) $keys=array_merge(array_slice((array) $keys, 0 , 1), array('ID' => array(0, __('Member #'))), array_slice((array) $keys, 1));
}
return (array) $keys;
}
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?
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.
You just listed them.
The WordPress “auth” cookie salt in WPMU is in your wp-config.php file: define('AUTH_SALT', 'bliddyblah');
If you’ve done that correctly, you should see something like this: http://img268.yfrog.com/img268/8247/bbpresssettings.gif
I wiped out my cookies and URL, but you should get the idea.
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.
Thanks, I have done so and it works
Are you certain you have bbpress installed under your /forums/
directory?
Because I am fairly certain you don’t.
If you did, this would work
http://absolute-truth.net/forums/license.txt
(unless you deleted that file, which is unlikely)
/forums/
should be at the same level that /blog/
is
The cookies are a different problem, you have to set the cookies to use the root /
and not a sub-folder.
See if it allows you into
http://absolute-truth.net/forums/bb-admin/options-general.php
and/or
http://absolute-truth.net/blog/wp-content/plugins/bbpress/bb-admin/options-general.php
and change the bbPress address (URL)
I opened the .mo file and changed “sullat” to “tappat” in it using a text editor and saved the change and uploaded it and ir worked. It should perhaps not have been possible but it was!
The second part of my question now seems strange since I pasted what in my e-mail looked like Ditt användarnamn är: Gran Lindgren
but it displayed correctly here!
Or just try putting this into your bb-config.php
$bb->uri = 'http://your-domain-name.com/forums/';
I noticed many of the old constants are not defined anymore by default.
A few plugins, definitely not all just a few, may be fixed somewhat by adding this to bb-config.php
define('BB_LOAD_DEPRECATED',true);
You don’t actually have bbpress installed underneath wordpress do you?
http://absolute-truth.net/blog/wp-content/plugins/bbpress/
if so, that’s really not good design
move it to http://absolute-truth.net/forums/
bbPress is not a wordpress plugin, it’s a standalone program
.mo
files cannot be directly edited, you need to use a tool like poedit http://www.poedit.net/ to correct the .po
file and then compile it to .mo
Try putting this into your bb-config.php
$bb->uri = 'http://your-domain-name.com/forums/';