It looks like you used wp_ (instead of bb_) as your table prefix, and WordPress was already installed, which means bbPress tried to install into the WordPress tables?
By default, WordPress uses these tables (in 2.7):
wp_comments
wp_links
wp_options
wp_postmeta
wp_posts
wp_terms
wp_term_relationships
wp_term_taxonomy
wp_usermeta
wp_users
And bbPress uses these in the alpha version:
bb_forums
bb_meta
bb_posts
bb_terms
bb_term_relationships
bb_term_taxonomy
bb_topics
bb_usermeta
bb_users
bbPress 0.9.0.* versions used different tables:
bb_forums
bb_posts
bb_tagged
bb_tags
bb_topicmeta
bb_topics
bb_usermeta
bb_users
And when you integrate, bbPress uses the wp_users and wp_usermeta tables instead of its own bb_users and bb_usermeta.
I just validated the feed for one of the pages for this forum, and it came back as valid. The data format looks the same to me. I noticed in your date, there is a character missing from “Friday”:
<pubDate>Fr, 02 Jan 2009 10:57:20 +0000</pubDate></blockqoute>
This date format is correct for RFC 822 from a Linux command line:
[~/ch/bbpress]$ date -R
Mon, 05 Jan 2009 10:12:42 -0500
So, I think there is just some problem with your date function, missing the “i” in Friday, or you typed incorrectly instead of pasting, and the missing “i” is just a typo.
That is correct. Here are the moderator capabilities from bb-includes/capabilities.php:
'moderator' => array(
'name' => __('Moderator'),
'capabilities' => array(
'moderate' => true,
'participate' => true,
'manage_tags' => true,
'delete_topics' => true,
'close_topics' => true,
'stick_topics' => true,
'move_topics' => true,
'view_by_ip' => true,
'edit_closed' => true,
'edit_deleted' => true,
'browse_deleted' => true,
'edit_others_tags' => true,
'edit_others_topics' => true,
'delete_posts' => true,
'throttle' => true,
'ignore_edit_lock' => true,
'edit_others_posts' => true,
'edit_favorites' => true,
'edit_tags' => true,
'edit_topics' => true,
'edit_posts' => true,
'edit_profile' => true,
'write_topics' => true,
'write_posts' => true,
'change_password' => true,
'read' => true
)),
You could add the permissions you for your moderator there, but it’s generally a bad idea to modify a core file. You probably want a plugin to modify the capabilities for your moderators. I didn’t see one specifically for that, but I did notice this plugin was added yesterday.
https://bbpress.org/plugins/topic/bbpress-moderation-suite/
bbpress 0.9.0.4 and wordpress 2.7 intregrate but bbpress doesn’t hanlde the roles at all. If a user gegisters through wordpress, all is good but if they register through bbpress, they get an “you don’t have permission to view this page” when they try to login to wordpress.
I think this should be addressed asap, but as I’m ready through the forums, I see Sam or any other developer has addressed this issue at all. There are some .htaccess 301 redirects and a small code change you can make to redirect users from the bbpress registration page to the wordpress registration page, but in my humble opinion, one should not have to do this because the whole reason to use bbpress with wordpress was the fact that they intregrate.
Bottom line…bbpress needs to update the user roles to that of wordpress user roles period.
Hi folks!
Just wanted to say hello and that I am looking forward to getting into the workings of bbPress. I newly created my forum last night, so a lot of learning ahead.
All the best,
Cal
Thanks for the quick reply _ck_!
There’s no official documentation or codex yet.
A few people have done phpxref for bbpress but I find that kind of output fairly useless.
If you have access to linux shell you can do a grep to get a function list in the template include like so (or install the grep for windows)
grep -oe ^function.*) bb-includes/template-functions.php | sort > functions.txt
modifying that you can also get the filters/actions
grep -oe apply_.*) bb-includes/template-functions.php | sort > filters.txt
grep -oe do_.*) bb-includes/template-functions.php | sort > actions.txt
If you use the grep for windows, leave out the escapes (backslashes) or it won’t work.
Allowing iframes is a massive security issue.
Whatever you are trying to do, you need to find another way.
The code button is the same as backticks, it’s for placing encoded text, not actual code to execute.
Do not use the Private Forums plugin, it has not been updated in awhile and has bugs.
Use my Hidden Forums plugin instead. The code above is not sufficient in itself.
Is there a way to allow members to use the <iframe> tag in posts? I have downloaded and installed the admin can do all plugin and I can get it to work for me, but I would like the forum members to be able to use <iframe> also. Not sure if this is a security issue or not.
Speaking of security, I also installed the bbcode lite plugin and the bbcode button plugin. I see there is an option for “code” there – is this any kind of security concern or is it something simple and harmless that members can use for something?
Thanks in advance!
So, I finally got the revamp of my site launch completed on January 1st. The “News” portion of the site is driven by wordpress, and the “Messageboard” portion is bbpress with some marriage between the two.
We migrated from a phpbb2 install that was using phpbbfetchall for pulling “News” to the front page. I think the new set up is much better. 
I’m still ironing out glitches and adding features, but I thought I’d share it here to show it off so far. We get between 10,000-12,000 unique visitors to the site per day, and bbpress is handling that traffic beautifully.
http://www.columbusunderground.com/forums/
*snicker* That was so much easier. Sometimes I get stupider the more I try to code!
<li style="list-style:none">
<h2>Meta</h2>
<?php global $user_ID, $user_identity, $user_level ?>
<?php if ( $user_ID ) : ?>
<p><?php if ( $avatar = get_avatar( $user_ID, $size = '50' ) ) : ?>
<div style="float:right;"><?php echo $avatar; ?></div>
<?php unset($avatar); endif; ?>
<?php printf(__('<strong>Welcome, %1$s!</strong>'), $user_identity );?>
<br /><?php global $current_user; ?> <a href="http://domain.net/forums/profile.php?id=<?php echo $user_ID; ?> ">Profile</a> | <a href="<?php echo wp_logout_url(); ?>">Logout</a>
</p>
<div style="clear:right"></div>
<?php elseif ( get_option('users_can_register') ) : ?>
<form action="http://domain.net/blog/wp-login.php" method="post">
<p>
<label for="log"><input type="text" name="log" id="log" value="<?php echo wp_specialchars(stripslashes($user_login), 1) ?>" size="22" /> User</label><br />
<label for="pwd"><input type="password" name="pwd" id="pwd" size="22" /> Password</label><br />
<input type="submit" name="submit" value="Send" class="button" />
<label for="rememberme"><input name="rememberme" id="rememberme" type="checkbox" checked="checked" value="forever" /> Remember me</label><br />
</p>
<input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>"/>
</form>
<p><a href="http://domain.net/forums/register.php">Register</a> | <a href="http://domain.net/forums/bb-login.php">Recover password</a></p>
<?php endif; ?>
</li>
Matching the bbPress theme to your WordPress theme isn’t trivial… at first it really bothered me. But once I realized how different blogs and forums were, it made a lot more sense to me.
The initial conversion was the hardest part. After that, little tweaks to my blog theme didn’t take that long to incorporate into my bbPress theme. But I’m getting ready to do a redesign of the blog, and am dreading converting it into a bbPress theme again. It probably won’t be that bad; it’s just inconvenient.
Overall though, it’s been definitely worth it
. Frankly I am liking bbPress much more than I ever liked WordPress!
I’m having an installation error as well 
Warning: cannot yet handle MBCS in html_entity_decode()! in /home/content/b/r/i/xxxxxx/html/xxxxxx/support/bb-includes/wp-functions.php on line 113
This seems a great time to mention a new hidden feature in bbPress 1.0 based on a suggestion I made: “Safe Mode”
When you don’t know why something isn’t working, one quick and easy way to prove if it’s a plugin gone wrong or not is to temporarily try “Safe Mode”
The way to activate safe mode is to edit bb-config.php and insert
$bb->safemode = true;
Then your forum will temporarily switch to the default theme (which you should never have tampered with) and disable all plugins, temporarily.
When you are done testing, remove the line from bb-config.php
This is far easier than deactivating 20+ plugins, one at a time and then having to activate them again.
Not sure if this is new since alpha5 or not, but on a fresh install the auth key seems to die when there is a quotation mark " in the key.
Basically a WP key like
define('SECURE_AUTH_KEY', '-"r642fed3E1d>}MdGFlh@tR!QPU%/!S_6;CjO0}^>6TclyZM9mEKqEn+ <?)3 U#*X;');
Ended up like
define('BB_SECURE_AUTH_KEY', '-');
This actually messed up the installer at one point too, displaying part of the key inside an area where it wouldn’t normally.
Should I trac this Sam?
We could make another query to delete usermeta where the id doesn’t appear in wp_users.
I’m not crazy about deleting rows entirely but I guess it could not hurt if the user id # never gets reused, which mysql should not do.
Definitely do a backup first.
This will show all “orphaned” usermeta:
SELECT user_id,meta_key, umeta_id FROM wp_usermeta
LEFT JOIN wp_users ON user_id=ID
WHERE ID is NULL
so delete the wp_users rows first using the first query and then delete the orphaned usermeta
Thanks for the fix Sam.
What’s really scary is the code it replaced.
I can’t believe what I was seeing – did they really build the $table on EACH and EVERY call instead of making it static? That’s some serious non-performance thinking.
I mean just look at it, ugh:
function htmlspecialchars_decode( $str, $quote_style = ENT_COMPAT ) {
$table = array_flip( get_html_translation_table( HTML_SPECIALCHARS, $quote_style ) );
$table = array_merge( array( ''' => "'" ), $table, array( '&' => "&", '&' => "&" ) );
return strtr( $str, $table );
on EVERY call it builds $table?
Well it’s gone now so I guess that’s what counts.
I hope the error catching routine doesn’t slow things down too much.
Personally I am waiting for PHP 5.3 to finally “upgrade” from PHP 4
It won’t be worth it until then.
Okay instead of commenting it out, do this instead
error_reporting(0);
I opened that a half a month ago
But thanks, _ck_! It works now. I updated my ticket but … why isn’t it picking that up from the default template?
I commented-out the error_reporting line in the “stable” 0.9 download and still get this installation error:
Warning: cannot yet handle MBCS in html_entity_decode()! in /xxx/xxx/xxx/xxx/forum/bb-includes/wp-functions.php on line 113
Can someone put together a working version of bbpress for download?
No you miss the point that both are put into the template so the ajax can hide or unhide the link as necessary depending on the post status.
But older themes without the two classes above will never hide the alternate link by default. So they both show.
There will be hundreds of questions about this now.
Put these two classes into your style.css
#thread li .undelete-post, #thread li.deleted .delete-post { display: none; }
#thread li.deleted .undelete-post { display: inline; }
and it should fix.
Here are lines 106 – 119:
if ( version_compare( PHP_VERSION, ‘5.2.3’, ‘>=’ ) ) {
$string = htmlentities( $string, $quote_style, $charset, $double_encode );
} else {
// Handle double encoding for PHP versions that don’t support it in htmlentities()
if ( !$double_encode ) {
// Multi-byte charsets are not supported below PHP 5.0.0
// ‘cp866’, ‘cp1251’, ‘KOI8-R’ charsets are not supported below PHP 4.3.2
$string = html_entity_decode( $string, $quote_style, $charset );
}
// ‘cp866’, ‘cp1251’, ‘KOI8-R’ charsets are not supported below PHP 4.3.2
$string = htmlentities( $string, $quote_style, $charset );
}
return $string;
The first time I went through the install process, it allowed me to finish right up until the end but the page kept spamming the following message throughout the install process:
Warning: cannot yet handle MBCS in html_entity_decode()! in /mnt/w0709/d31/s09/b0286f02/www/jrobichess.com/forums/bb-includes/wp-functions.php on line 113
When the install says it’s done and I have my username and ID – and go to open the page, it has this error message only repeating. I am currently reinstalling, but thought I would post here to see if I am missing something simple. On a side note, when I open the file in question in notepad, I can’t locate line 113 to see what the issue is. Anyone recommend a good code viewer broken down by lines?
Thanks,
Jason
Okay, with 1.0-a-5 trunk I get the same old inactive user when I register via WP. No errors on the page or in the log, though.
Also I got this error, which I fixed by flipping back to the old file:
Call to undefined function wp_check_invalid_utf8() in
/home/XX/public_html/forums/bb-includes/functions.wp-core.php on line 60