Warning: Creating default object from empty value in /home/design/public_html/wp-content/plugins/paged-comments/paged-comments.php on line 31
Report Comments Plugin for WordPress · Dagon Design

Welcome to Dagon Design. In addition to free scripts, WordPress plugins, and articles, we offer a variety of services including custom theme design, plugin creation, and PHP scripting. Contact me for more information.

Version 1.2   Updated Sunday, February 22nd, 2009 at 4:16pm

Report Comments Plugin for WordPress

This plugin provides a way for visitors to report inappropriate comments on a WordPress powered site. It does this by automatically adding a link to each comment, which (after asking for confirmation) notifies the administrator by email. There are several options available, including customization of the text, the email message generated (you can choose to include the post title, url, date, author, etc..), and more. Now supports Recaptcha image verification.


  If you have found this page useful, please consider donating. Thanks!


  • Download and unzip the above file
  • Upload the entire dd-report-comments directory to your plugins directory
  • Activate the plugin from the WordPress admin panel
  • Configure the options under the admin panel: Options – DDReport


Once activiated, links are added to the comments automatically. The only option you must change is your email address. Other options are available as well, and are explained below.

Change Log

  • 02-22-09 Version 1.2 – Now uses a popup window to report comments. Recaptcha image verification support added, and a few other options. See updated options list below.
  • 06-20-07 Version 1.1 – Added an optional textarea so the personal reporting the comment can include a message.
  • 06-16-07 Version 1.0 – First release.


Link Display Options

Link text – The text shown for the link.

Code before/after link – This allows you to add code around the link for formatting. The default option wraps the link in p tags aligned to the right.

Open in new window – If checked, the confirmation pages will open in a new window.

Email Options

Email address – Where the notifications are sent.

Email subject & message – These options are used to generate the email. You can use the pre-defined tags for this:

%COMMENT_ID% – The ID number of the comment
%COMMENT_URL% – The URL of the comment
%POST_ID% – The ID of the post
%POST_URL% – The URL of the post
%POST_TITLE% – The title of the post
%COMMENT_AUTHOR% – The author of the comment
%COMMENT_DATE% – The date of the comment
%COMMENT_TEXT% – The comment text
%VISITOR_COMMENT% – Optional message from the person reporting this comment

Recaptcha Options

If you do not want to use image verification, leave these options blank.

Otherwise, enter your Recaptcha public and private key (for your domain). If you do not have a Recaptcha account, you can sign up for free at http://recaptcha.net/whyrecaptcha.html

Confirmation Page Options

Confirmation text – The text shown on the confirmation page.

Confirmation button – The text shown on the confirmation button.

Success message – The text shown to the user after the notification has been sent.

Validation error message – If using the Recaptcha image verification option, this is the message that will be shown if the code is not entered properly.

Popup width – The width of the popup window.

Popup height – The height of the popup window.


Some servers are configured to only allow PHP to send mail to an email address on the server itself. If you do not receive email sent from this script, try using an email address on the same domain.

Get IP and hostname of form submitters

Open up report.php, and look for this line:

mail($addr, $subject, $msg, 'From: ' . get_option('admin_email'));

Before it, add this:

$msg .= "\n\n" . 'IP: ' . $_SERVER['REMOTE_ADDR'] . "\n" . 'HOST: ' . 
gethostbyaddr($_SERVER['REMOTE_ADDR']) . "\n\n";

And the IP address and hostname of the person who submitted your form will be at the bottom of the email message.

Pages: [10] 9 8 7 6 5 4 3 2 1 » Show All

  1. Mirip Banget deh ah. LD

  2. Report Comments Plugin for WordPress very Amazing. :)

  3. thanks for information…
    i will try in my blog.. :D

  4. Spot on with this write-up, I seriously feel this website needs far
    more attention. I’ll probably be back again to read through more, thanks for the advice!

  5. Spot on with this write-up, I seriously feel this web site needs a great deal more
    attention. I’ll probably be back again to read more,
    thanks for the info!

    Also visit my web-site :: Special Price Laptops 2014

  6. If some one wants expert view concerning blogging and site-building after that i advise him/her to pay a quick visit this web site,
    Keep up the good job.

  7. The xanthones in mangosteen fruits are believed to: promote a microbiological balance of the cells;
    maintain and improve the strength of the immune
    system; promote the flexibility of joints; enhance mental ability; promote healthier cholesterol levels;
    increase the levels of antioxidants; help in efficient cell
    regeneration. Trisphere technology is used, which creates a triple layered beadlet
    delivery method for the sensitive “good” bacteria, which makes it more effective than other methods such
    as capsules. Is there a Xango Scam based on overpriced products.

    My web page xango review

  8. Hi Nasheed, yes it is working 100% on the latest wordpress. I have installed it on my Star Wars site and it works great! Thanks for this plugin! MUCH LOVE!

  9. Is this working with the latest wordpress?

  10. Just wanted to say that this is an awesome plugin and I’ve installed it on my blog now. Thanks a bunch!

Pages: [10] 9 8 7 6 5 4 3 2 1 » Show All

Leave a Comment

Before you comment: If you are having an issue with a script, please make sure you have read the entire article. Also, please read through the comments because most common issues have already been discussed many times. Thanks.

Be sure to wrap all code in <code></code> tags.