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.

Download

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

Installation

  • 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

Usage

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.

Options

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.

Troubleshooting

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: [11] 10 9 8 7 6 5 4 3 2 1 » Show All

  1. Nice post :D

  2. download your missing dll here!

  3. thank you i like this four you

  4. good news article..

  5. thanks for sharing

  6. Bata Expose | Dak Keraton
    Great post! I am actually getting ready to across this information which i found very interesting to read.
    Bata Expose | Dak Keraton

  7. mantap infonya bang

  8. great plugin

  9. Harga Jasa SEO Terbaru

  10. Jasa Pembuatan Website Murah dan berkualitas bagus

  11. Terima kasih bos informasinya

Pages: [11] 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.