bbPress

Simple, fast, elegant

bbPress Plugin Browser »

Moderator New Post Notification

Download

Version:

Other Versions

Last Updated: 2008-1-19

Requires bbPress Version: 0.83 or higher

Compatible up to: 0.83

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(1)

Your Rating

Author: finalwebsites

This bbpress plugin will guaranty that you and your forum moderators will never miss a new post made by some regular member. Inspired by the Post Notification plugin written by Thomas Klaiber is this plugin the best solution to get every new post into the forum moderator's mail box.

These days forum spam is a big problem and also bad messages could drive away your members. Just be the first reader of each new post and protect your forum for bad influences.


  1. I receive the following error when trying to post as a Member user:

    Fatal error: Call to undefined function: notification_is_activated() in /my-plugins/moderator_notification.php on line 74

    I receive the error after selecting the send post button, logged in as a Member. I set my key master id to receive notifications.

    I am using bbpress 0.8.3.1. The only other plugins activated are Quote and Support Forum.

    Any ideas?

    Posted: 1 year ago #
  2. You're right I missed something :D

    Replace the row with:
    if (mod_notification_is_activated($userdata->ID)) {

    Posted: 1 year ago #
  3. I thought that was the issue, but what not sure.

    Thanks a lot. It is working great now.

    Posted: 1 year ago #
  4. the last bug(s) is removed in version 1.01

    Posted: 1 year ago #
  5. Great plugin. The only problem is that the DB names are hard coded for the default BB intallation (using BB_ as DB prefix), so you have to change them manually if you're using a different prefix for the DB, and/or if you've integrated BB with WP.

    Posted: 1 year ago #
  6. thanks for pointing me on that (I guess I copy/pasted some code bad code)

    I will change that with the next release.

    Posted: 1 year ago #
  7. helpy

    Member

    I use WP/BB integration ... that means, that wp and bb are using the same table for the users. When I activate this plugin and then post a new message the following error occurs:

    bbPress database error: [Table 'MyDatabase.bb_users' doesn't exist]
    SELECT um.meta_value AS role FROM bb_users AS u, bb_usermeta AS um WHERE u.ID = um.user_id AND um.meta_key = 'bb_capabilities' AND u.user_status = 0 AND u.ID = 2

    Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /homepages/.../moderator_notification.php on line 40

    Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /homepages/.../moderator_notification.php on line 40

    Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /homepages/.../moderator_notification.php on line 40

    Warning: Invalid argument supplied for foreach() in /homepages/.../moderator_notification.php on line 73

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/46/d180234142/htdocs/helpy.de/5bn1983/www/forum/bb-includes/db.php:86) in /homepages/.../www/forum/bb-includes/pluggable.php on line 164

    Posted: 1 year ago #
  8. helpy

    Member

    Sorry! I just recognized that this "bug" was mentioned before.

    Posted: 1 year ago #
  9. jldean

    Member

    I just tried running this plugin with bbpress 0.9.0.2 integrated with WP.

    I had to change the user table names (bb_users and bb_usermeta to wp_users and wp_usermeta) to stop getting errors in the edit profile page.

    Now there are no errors on the profile page, but no tickbox to select notification either... no new options at all.

    Would it be easy to tweak this invaluable plugin for the latest bbpress?

    Thanks

    Posted: 1 year ago #
  10. jldean

    Member

    After a couple of tweaks, I got it working with 0.9.0.2

    More info here

    Posted: 1 year ago #
  11. Anonymous

    Unregistered

    I don't get any error messages when I post a new topic but I don't get any emails. I've enabled the option in my profile and I have double checked my email address.

    Any ideas?

    I'm running bbPress 0.9.0.2

    Posted: 11 months ago #
  12. TrishaM

    Member

    I also got this running by changing the user table names from bb_users and bb_usermeta to wp_users and wp_usermeta since I have my bbPress install integrated with WP,

    However, when I get the email there is no "from" address - not sure why since my email address is set up under my user data in both WP and bbPress........I don't see what is wrong with this line from the code, but is there some modification I can make to this?

    $header = 'From: '.bb_get_option('admin_email')."\n";

    Posted: 3 months ago #
  13. bripirie

    Member

    Hi Trisha,

    I fixed this problem of no from address by doing the following:

    Replace the line that reads:
    mail($userdata->user_email, $subject, $msg, $header);

    With this instead:
    bb_mail($userdata->user_email, $subject, $msg);

    Now, all the subscribed moderators receive proper emails when any new post appears on the site.

    Posted: 3 months ago #

RSS feed for this topic

Add a Comment

You must log in to post.

Code is Poetry.