Zeno Report Comments

Description

This plugin gives your visitors the possibility to report a comment as inappropriate. After a set threshold is reached the comment is put into moderation where the moderator can decide whether or not he want to approve the comment or not. If a comment is approved by a moderator it will not be auto-moderated again while still counting the amount of reports.

This plugin is a fork of safe-report-comments and has some features incorporated from crowd-control (a different fork).

Compatibility

This plugin is compatible with ClassicPress.

Contributions

This plugin is also available in Codeberg.

Known issues

Automatic mode implementation currently does not work with threaded comments in the last level of threading. As the script attaches itself to the comment_reply which is not displayed once the maximum threading level is reached the abuse link is missing at this point. As a workaround set the threading level higher than the likely amount of threading depth.

Screenshots

  • Simple activation via discussion settings.
  • Amount of reports per comment is shown in comments administration screen.
  • Fits well within most themes without any further action.
  • Ajax feedback right in place where available.

Installation

  1. Download and unzip the plugin.
  2. Copy the zeno-report-comments directory into your plugins folder.
  3. Visit your Plugins page and activate the plugin.
  4. A new checkbox called «Allow comment flagging» will appear in the Settings->Discussion page.
  5. Activate the flag and set the threshold value which will appear on the same page after activation.

The plugin should work by default in most themes. If something does not work, please start a topic at the support forum.

FAQ

This plugin cannot account for all themes and their layouts. Sometimes an extra divider is needed between reply and Zeno’s text.
A solution can be to add a little CSS code.

.zeno-comments-report-link::before { content: " | "; }

Reviews

26 Փետրվարի, 2024
This plugin is a great addition to a moderator’s tool chest. It effectively allows users to report comments saving you time finding spammers and inappropriate comments. A recent update showing responses to threaded comments also helps authors understand how readers respond to their posts. The plugin author is helpful and responsive to feedback. Thank you for maintaining a simple yet powerful plugin!
27 Մայիսի, 2020 3 replies
Fixed up. Now it works perfectly. Good support. Sorry about it, I cannot better qualify a plugin that does not work in a template than the ones that WordPress has by default. I understand that it works in other templates, but I have wasted a lot of time with this plugin and searched for all the possible information. My child template and my website are very advanced, and I don’t see the possibility of changing templates. A pity, I have tried it with other themes and it works wonderfully.
27 Ապրիլի, 2019
Thanks for this plugin as spammers are trying to find their way in on a very active site, users help me find them. Much is appreciated.
9 Հունվարի, 2019
I’ve been for 3 weeks looking for a good «report comment» plug-in, it’s been really hard to find, until I stumbled upon this one.. This plugin works perfect, and if there is an issue, or an question, the creator, Marcel, are happy to lend a hand. You can really see that he cares about this plug-in and us, the end users. Unfortunately this plug-in don’t have many installs, and it wasn’t on the top 5 search results when I searched «report comment», which I don’t understand, because if you are looking for a clean, fast and effective «report comment» plugin, this is it!
Read all 7 reviews

Contributors & Developers

“Zeno Report Comments” is open source software. The following people have contributed to this plugin.

Contributors

“Zeno Report Comments” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Zeno Report Comments” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.1.2

  • 2024-07-09
  • Fix approving comments when moderation is enabled (thanks spaceshipone).

2.1.1

  • 2024-04-02
  • Make JavaScript more specific to avoid conflicts with other plugins.
  • Only set comment to moderated when old status is unapproved and new status is approved.

2.1.0

  • 2024-02-14
  • Add column for responses to comment with link to edit screen.
  • Add text ‘report’ to report column if there are reports.
  • Add priority 90 and 91 to both columns.
  • Add optional spambot protection for report button (thanks jmorti).
  • When threading is disabled, use ‘comment_text’ filter and add reply link after wpautop.
  • Show moderation note if already moderated.

2.0.4

  • 2023-12-13
  • Again fix for Twenty Twenty-Four theme, when threaded comments are off.

2.0.3

  • 2023-12-06
  • Add user info to notification emails (thanks niccrockett).
  • Fix for Twenty Twenty-Four theme, it doesn’t use $in_comment_loop.

2.0.2

  • 2023-12-01
  • Add comment_text to notification emails (thanks jemar707).

2.0.1

  • 2023-11-30
  • Fix filter ‘zeno_report_comments_allow_moderated_to_be_reflagged’.
  • Cast $comment_id to (int) at top of functions instead of below.

2.0.0

  • 2023-11-30
  • Rewite from class to simple hooks and functions.
  • Remove support for admin notices, cast threshold to integer automatically.
  • Add more notes and messages, plus filters.
  • Make sure all admin screens have the same moderation results.
  • Fix to not display for author of comment (thanks niccrockett).

1.5.0

  • 2023-02-15
  • Fix frontend filters for return messages (thanks 1theo).
  • Escape more output.
  • Some updates from phpcs and wpcs.
  • Fix warning with handling of transient.

1.4.1

  • 2022-01-23
  • Make sure to sanitize custom headers.

1.4.0

  • 2021-10-30
  • Check WP Core blocklist for IP address.
  • Some updates from phpcs and wpcs.

1.3.6

  • 2021-03-25
  • Add css class to ‘moderated’ text.
  • Add function ‘already_moderated’.

1.3.5

  • 2021-02-22
  • Fix deprecated jQuery calls with WP 5.6 and jQuery 3.5.

1.3.4

  • 2020-11-10
  • Add filter ‘zeno_report_comments_admin_email’ for email reports.

1.3.3

  • 2020-06-16
  • Small update to regex to match with more themes.

1.3.2

  • 2020-05-21
  • Replace nasty ‘preg_match_all’ by simpler ‘preg_replace’ to support more themes.

1.3.1

  • 2020-04-08
  • Small fix in showing feedback for user that reported.

1.3.0

  • 2020-04-08
  • Rewrite regex for threaded comments.
  • Show if a comment is already moderated, to avoid confusion (thanks @karkidennis).
  • Use esc_html functions.
  • Add uninstall.php file to uninstall options from db.

1.2.4

  • 2019-04-24
  • Add filter manage_edit-comments_sortable_columns so the column can be sorted (thanks wmeric).

1.2.3

  • 2018-10-29
  • Add reporter ip address to abuse report email.

1.2.2

  • 2018-10-03
  • Don’t use new function on wp-admin.

1.2.1

  • 2018-10-03
  • Return comment content on threaded comments.

1.2.0

  • 2018-10-03
  • Support link with unthreaded comments too.

1.1.2

  • 2018-06-26
  • Add example text to the privacy policy.

1.1.1

  • 2018-06-11
  • When moderating comment, set status to approve.
  • Filter all frontend messages.

1.1.0

  • 2017-05-22
  • Don’t show flagging link if already moderated (really this time).
  • Rewrite the html of the link.
  • Ues wp_localize_script also for nonce.
  • Add rel=»nofollow» to the link.
  • Delete reports after moderating as allowed.
  • Add link for moderators to moderate/allow comments and remove reports.
  • Add Admin JavaScript.
  • Add version to JavaScripts.

1.0.0

  • 2016-07-31
  • Forked from safe-report-comments.
  • Support localization and translation.
  • Make sure cookie_data is an array, as returned by json_decode.
  • Make it not possible to report your own comments.
  • Don’t show flagging link if already moderated.
  • Load JavaScript in footer, not in head.
  • Add function get_user_ip for proxies (props Thorsten Ott).
  • Add Copyright notices.
  • Add settings for mail and add function for wp_mail (props Postmatic).
  • Add action for each report and add function for wp_mail.
  • Remove unused action register_admin_panel in admin_menu.

0.4.1

  • 2014-07-23
  • Typo fix, props spencermorin.

0.4

  • 2014-07-23
  • Security fix, h/t vortfu.

0.3.2

  • 2013-03-06
  • New ‘safe_report_comments_allow_moderated_to_be_reflagged’ filter allows comments to be reflagged after being moderated.

0.3.1

  • 2012-11-21
  • Use home_url() for generating the ajaxurl on mapped domains, but admin_url() where the domain isn’t mapped.

0.3

  • 2012-11-07
  • Coding standards and cleanup.