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.1   Updated Wednesday, June 20th, 2007 at 7:19pm

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.

Download

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

  • 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

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.

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.

Pages: [2] 1 » Show All

  1. Needs “captcha” added bad. Any chance you guide me through adding captcha to the plugin?

    Great plugin just the same.

  2. I modified your code with a simple spam avoidance field. Adding in a captcha or something similar to what I did (you can see it at profootballtalk.com) will significantly decrease emails to admins on popular sites.

  3. Nice plugin that i’ve adapted to suit my site, is there any way of incorporating the page with my blog template? It looks a little out of place at the moment.

    (I know i could drop the form into a hacked version of my template but am looking a straightforward solution.)

  4. thanks man, but how to do this for posts??

  5. Hi friend,

    I really appreciate what you have done. It’s great. Can you please code the plugin which do the same thing so that visitor can report a post on my site which is not working.

    I am waiting for ur reply.

    Thanks a lot for your support.

    Regards,
    GP.

  6. 16
    Alex

    Does anyone know if this works with WP 2.5?

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