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).
This plugin is compatible with ClassicPress.
This plugin is also available in GitLab.
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.
- Download and unzip the plugin.
- Copy the zeno-report-comments directory into your plugins folder.
- Visit your Plugins page and activate the plugin.
- A new checkbox called “Allow comment flagging” will appear in the Settings->Discussion page.
- 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.
Bijdragers & ontwikkelaars
“Zeno Report Comments” is open source software. De volgende personen hebben bijgedragen aan deze plugin.Bijdragers
- Make sure to sanitize custom headers.
- Check WP Core blocklist for IP address.
- Some updates from phpcs and wpcs.
- Add css class to ‘moderated’ text.
- Add function ‘already_moderated’.
- Fix deprecated jQuery calls with WP 5.6 and jQuery 3.5.
- Add filter ‘zeno_report_comments_admin_email’ for email reports.
- Small update to regex to match with more themes.
- Replace nasty ‘preg_match_all’ by simpler ‘preg_replace’ to support more themes.
- Small fix in showing feedback for user that reported.
- 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.
- Add filter manage_edit-comments_sortable_columns so the column can be sorted (thanks wmeric).
- Add reporter ip address to abuse report email.
- Don’t use new function on wp-admin.
- Return comment content on threaded comments.
- Support link with unthreaded comments too.
- When moderating comment, set status to approve.
- Filter all frontend messages.
- 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.
- 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.
- 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.
- Typo fix, props spencermorin.
- Security fix, h/t vortfu.
- New ‘safe_report_comments_allow_moderated_to_be_reflagged’ filter allows comments to be reflagged after being moderated.
- Use home_url() for generating the ajaxurl on mapped domains, but admin_url() where the domain isn’t mapped.
- Coding standards and cleanup.