Here is an untested variation of Mark’s WP plugin for bbPress, it’s a little more sophisticated in that it tries to return the person back to the topic they were in if it exists or if they were starting a topic, to the forum they were posting in.
<?php
/*
Plugin Name: Moderation Notification
Author: _ck_
*/
add_action( 'bb_post.php', 'moderation_notification', 999);
add_action( 'bb_head', 'moderation_notification_alert', 999);
function moderation_notification($post_id) {
if (empty($post_id)) {return;} // invalid post
$post = bb_get_post($post_id);
if ($post->post_status==0) {return;} // not moderated
if ($post->post_position>1) {
$link = get_topic_last_post_link($post->topic_id); // return them to the last known good post in the topic
} else {
$link = get_forum_link($post->forum_id); // return them to the forum that they posted in since there's no valid topic yet
}
$link=add_query_arg('moderated','true',$link); // set the flag
wp_redirect($link);
exit;
}
function moderation_notification_alert() {
if (!isset($_GET['moderated'])) {return;}
$out = <<<EOF
<script type="text/javascript">
<!--
alert ("You post was successfully processed, \n\n however it was placed on hold and will appear once a moderator verifies that it is not spam.\n\n Please be patient and do not resubmit your comment.");
//-->
</script>
EOF;
echo $out;
}
?>
You can see the notice by putting ?moderated=true
on one of your urls
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.
I’m in the same boat. I’ve tried every suggestion I’ve come across in the forums, the cookie hashes match, the settings match, and still it refuses to work. It’s rather frustrating to say the least.
Not sure about BuddyPress at all…
Because bbPress is not a plugin for WordPress, it’s not really possible, as far as I know, to make your forum appear in a WordPress page. Someone posted here once about putting bbPress in an iFrame and putting that in a WordPress page, but I’ve still not seem it working at all.
Most people create a theme for bbPress that looks like your WordPress theme and then they integrate the logins so you can log in once for both bbPress and WordPress.
Ipstenu, my skip-akismet plugin works on wordpress installs too, though there is some kind of subtle bug I can’t seem to find where it doesn’t catch everyone on the wp side, works great on the bbpress side however.
If you meant what will notify users of comments being held, this will do it:
http://txfx.net/files/wordpress/notify-users-of-moderation.phps
What’s crazy is that was written back for WP 1.2, and yet it’s still needed, 5 years later.
bump
Sam’s code works but still it displays the time in GMT rather than in my timezone. That doesn’t seem right cause it display the proper time since. How do I get that correctly?
(same thing with _ck_’s code – off the time zone and into GMT)
EDIT:
looking through some bbPress code I think I’ve got it right at last! The time has to be filtered through bb_offset_time, so the code should be(for post times):
echo date("date-format-goes-here", bb_offset_time(strtotime($bb_post->post_time)));
Still wonder why isn’t the time filtered when using sam’s code…
EDIT again:
and it does not localize – the date is in English… wonder how to set that up?
Ah, that might be it, thanks. I had only checked the bbpress repository 
Is this needed/required for the dreaded WPMU/BP/BBpress integration as well?
I have downloaded the files, extracted them and uploaded them to my site, each and every one of them but when I go to the link of my forum to install it in step one I have reems of the same kind of message saying:
Warning: cannot yet handle MBCS in html_entity_decode()! in /homepages/41/d23308234/htdocs/PRBSPORTS/bbpress/bb-includes/wp-functions.php on line 113
It goes on for quite a while with the installation info at the bottom. Any ideas what it could be?
Today I installed the bbPress Attachments plugin, which seems to work well.
But then I tried to delete a topic, got a PHP header already sent error, and when I returned to the Front Page, in the Forums and Latest Discussions tables I no longer have the Topics & Posts counts in the Forums table, nor do I have the Posts, Last Poster and Freshness columns in the Latest Discussions.
I’m running .9.0.3.
Anyone have any ideas what might have happened and/or how I could resolve this?
Well. We’re all wondering, aren’t we? Those of us insane enough to be on bleeding edge, report!
Here are the ones I’m using without any issues:
- Akismet 1.0
- Allow Images 0.7.1
- bbPress Smilies 0.0.8
- Comment Quicktags for bbPress 1.1
- Spoiler Tags 0.4
- Unread Posts 0.9.3
BACKUP EVERYTHING INCLUDING DATABASE before any upgrade.
You cannot downgrade once you upgrade, all you can do is restore a backup.
With 0.9 upgrades, many plugins will likely stop working including several of mine.
Both were downloaded yesterday, so the version would be… most current.
Just moved the site from a WPMU to stand-alone. All functioning perfectly after editing and restoring from WPMU SQL before going on to add the bbpress. I did get the bbpress working perfectly before deciding to change from myurl.com/forum to forum.myurl.com so maybe there was residual info left from the first install, even though I dumped all tables and bbpress wares.
I didn’t consider restoring/refreshing WP before re-installing the bbpress. This may be where the issue occurred. I will refresh all WP files then try again.
I looked at my wp-config but lines aren’t numbered so I’ll have to count to 80, I’m on lunch break… thanks for the reply. I will look into detailed info when I get home tonight. I didn’t know that bbpress would alter the wp php files… except to create .htaccess and bb_config
thanks again. and no worries… I’m sure a freshy will fix it… cause it’s got to be on my end, not the software.
btw: when i added the define cookies text from the bb configuration/integration settings page to my wp-config.php, the text I added showed at the top of my site… (an error)
a wiki-plugin already exists:
https://bbpress.org/plugins/topic/wiki-post/
a revision tracking plugin also:
https://bbpress.org/plugins/topic/edit-history/
But it seems like it does much more than we basically desire.
I just tested the Edit History plugin and it does indeed track all that data – last edit, last editor and number of edits. But it does not output the message in the normal topic view. Instead it uses a separate page with all the revisions of a post. And that page is not visible to everyone.
I guess it is not hard to add that feature to the plugin. Wish I had the programming skills to do it!
Hi, new here and looking to add bbpress to WPMU.
I searched the plugins for ‘WPMU’ and for ‘Integration’ but could not find the plugin mentioned? What is teh name and where can it be found?
Thanks.
I have the following:
Version 1.0-alpha-6 and WordPressMU 2.7.1 The problem lies with the instructions: Your video is excellent but when you read other posts they approach it different, and everyone has different ideas about this token, and the plug ins. Its just so dam confusing. I have two con fig files that have so much different code I just have no idea what is going on.
Hello everyone!!!
I have installed my wp and bb and there is a problem: there is no common session between them.
When I’m logging in my bbpress forum word press is automatically logging out(( and the same when i’m logging in word press… Please help me to solve this problem))
No, not the wiki-post. We want to be able to output a message under any post that has been edited by its author or by a moderator. phpBB has that functionality and it prints something like:
“This post has been edited [number-of-edits] times. Last edit by [username] at [time].”
And since bbPress has the option to edit posts it will be good to have some kind of indication about edits. It’s a forum board and integrity of posts is important.
For anyone having problems with WPMU integration with bbPress, make sure you have the latest (1.0-alpha-6) version of the bbPress Integration plugin.
This newer version of the plugin is compatible with bbPress 1.0-rc-1 and should give you better advice about what to manually insert into your WPMU wp-config.php
This is becoming more of a problem with the newer release of WPMU and with so many people wanting to integrate with it to use BuddyPress.
I’m looking into WPMU integration specifically at the moment in an attempt to make it easier for 1.0
It is actually possible right now, it’s just too damn convoluted to be within most people’s ability. If you can sit tight on just the DB integration for now, then try again with 1.0-rc-2, things should be better by then.
I hope to have that version out within a couple of weeks.
I have followed every video out there and every instruction link on this Migration and I am about to go crazy! Can someone please explain step by step on how to get cookies to work between these two loads! I have the two apps sharing the same data base I just cant get cookies to work. someone please help !