Skip to:
Content

bbPress.org

Opened 17 months ago

Last modified 5 weeks ago

#3349 assigned task

No notification to admins when a forum post is held for moderation

Reported by: r-a-y Owned by: r-a-y
Milestone: 2.7 Priority: high
Severity: normal Version: 2.6.0
Component: API - Moderation Keywords: has-patch
Cc:

Description

With the improvements in #2861 to inherit WP's blog comment moderation settings, when a post is held for moderation, no one is currently notified.

This can leave legitimate posts held up for a long time unless someone manually checks the moderation queue. This is especially apparent when someone trips the default link limit of 2 in a forum post.

So it would be great if we also inherited WP's "Email me whenever a comment is held for moderation" setting. We should also add a filter for the email address, so potentially forum moderators can be sent this email as well.

Let me know what you think.

Attachments (2)

3349.01.patch (9.0 KB) - added by r-a-y 2 months ago.
3349.02.patch (9.6 KB) - added by r-a-y 2 months ago.
Forgot to hook into the topic creation process.

Download all attachments as: .zip

Change History (5)

#1 @johnjamesjacoby
17 months ago

  • Keywords needs-patch added; dev-feedback removed
  • Milestone changed from Awaiting Review to 2.7
  • Owner set to r-a-y
  • Priority changed from normal to high
  • Status changed from new to assigned
  • Type changed from enhancement to task

Makes sense to me!

@r-a-y
2 months ago

#2 @r-a-y
2 months ago

  • Keywords has-patch added; needs-patch removed

01.patch is a first draft.

If a reply is pending, this patch will send an email to all moderators of a forum. Currently, moderators can be added to a forum from the "Forums" admin dashboard page. I've also hooked in BuddyPress group support, so if the forum is connected to a BuddyPress group and if there are BP group moderators, group moderators will also receive the email.

I've tried my best to adhere to how bbPress does notification emails, so let me know if any changes are needed.

Some design decisions:

  • I did not tie this to WP's "Email me whenever a comment is held for moderation" setting. This should be tied to something like #3325 instead.
  • I did not add the admin_email address to the moderation email list. Similarly, if the forum is tied to a BuddyPress group, I chose not to include the BP group administrators to the moderation email list. I feel like administrators shouldn't receive these types of emails, but if we feel strongly that they should, I can add them in.

One other thing I wanted to note is if a user is a moderator of multiple forums, it currently isn't possible to view all pending posts from the admin dashboard or on the frontend. This can be mitigated with BuddyPress if BP notification support is added in a subsequent patch, but for those without BuddyPress, some capability modifications will be needed for the "Topics" and "Replies" admin dashboard pages.

@r-a-y
2 months ago

Forgot to hook into the topic creation process.

#3 @jeffr0
5 weeks ago

Would love to see this enhancement added to bbPress as it caused me to not realize that two replies were held in moderation for almost a year. I've been trained to look for spam in the Akismet Queue in WordPress and not in a different place as is the case with bbPress. A notification would help.

Note: See TracTickets for help on using tickets.