Home > Plugins > Comment Flag

Comment Flag

October 03, 2009Mike18 comments

Introduction and Quick Installation Guide

I got the idea for this one from the Movable Type forums. The installation process is straight forward. Copy the zip file to your host, unzip it and copy the mt-static and plugins directories to their proper locations in the Movable Type directory. After that, there are two tags which have to be added to your templates. Add <$mt:CommentFlagIncludes$> to the header module. If you don't already have jQuery integrated into your templates, you can add the attribute add_jquery="1" to have the plugin add jQuery 1.3.X to your web pages. Also, you should add below that, <$mt:CommentFlagJavaScript$> to add the code to call the reporting popup. Then, in the comments area, add <$mt:CommentFlagLink$> on the same line as the comment author meta data. The proper module is Comment Detail (Professional Website and Classic Blog) or its equivalent in another template.

Downloads:

 

Changelog

1.5

  • Added email notification for flagged comments to the address specified by EmailAddressMain.

If you like this work, please consider rattling the ol' tip jar!

Categories: PluginsTags:
  1. November 03, 2009 at 10:58 | #1

    Hey Thanks dude. Just noticed this was released. We are going to install this and give it a test.

    Thanks again!

  2. November 03, 2009 at 11:09 | #1

    Ok, just remember that this is a 1.0 release and can/will have bugs in it so please unload here with bug reports!

  3. November 15, 2009 at 23:29 | #1

    I like the plugin so far and have a couple of questions now that I have been messing with it. I see that there is a bit of CSS but it doesn't seem to be picking it up, giving a rather plain page when reporting.

    There seems to be no link to return to the blog after having reported.

    Would it be possible to add the 'report' link text to the configuration? I manually edited the plugin.pm in order to change it to something a bit more self-explanatory but having that as part of the config would be cool.

    I have a test post up on a new blog I am setting up, you can take a look at it here to see what I am talking about.

    Very nice idea for a plugin though. Thanks!

  4. November 17, 2009 at 08:50 | #1

    Good catch! That's the sort of bug reports and suggestions that I need. When I get a chance, I'll incorporate that into my branch on GitHub.

  5. December 01, 2009 at 01:59 | #1

    I dont understand one bit about what to do. So frustrating!
    Add <$mt:CommentFlagIncludes$> to the header module.
    What header module? Where?
    add <$mt:CommentFlagLink$> on the same line as the comment author meta data.

    ehhmm.... do you have pictures?

  6. December 04, 2009 at 23:40 | #1

    Linda, add it to the bottom line in the HTML Header module in your blog templates.

    As far as the comment author meta data it really depends on which version of MT you are using as to which module you need to edit. I am running MT 4.32 and mine is the Individual Comments template. I added another span class just under (to the right on the page) of the comment reply link.

    If you need I can probably also post some screenshots.

    Mike, I also noticed something while troubleshooting a problem with something else entirely. I don't have any problems with the way it works while I am using my normal browser but when I use IE I get an "Object doesn't support this property or method" on the document.ready function

    Does this matter? It seems to be working fine, just throws that error.

  7. December 07, 2009 at 15:42 | #1

    Are you using IE 6 or a later version? I just tested it in IE 7 and it works just fine.

  8. December 25, 2009 at 22:33 | #1

    I'm using IE 8 actually. Like I said, it seems to work fine but IE 8 is registering that error.

  9. January 19, 2010 at 11:02 | #1

    When using this plugin am I supose to get an email alert? I have the plugin set up and it shows the flagged comments filter under comments but i get no email notification that a comment has been flagged. Am I missing something?

  10. January 19, 2010 at 15:26 | #1

    An email alert is one of the things I have planned for the second release. My goal with 1.0 was "just get it working with minimal bugs" so that it wouldn't be a total piece of crap like most 1.0 releases end up.

  11. March 09, 2010 at 14:48 | #1

    We are having issues with this plugin. users click the report link but the form does not submit. They do not get the message that the report was sucessfull. the pretty photo box just goes blank and then back to the begging. Any thoughts?

    I did upgraged to the new version and it is still doing the same thing.

  12. March 09, 2010 at 14:50 | #1

    Got a URL I can look at?

  13. March 09, 2010 at 15:08 | #1

    yes. http://www.news-journalonline.com If i am signed up as an admin user i can report as offensive but if you are just a commenter you will see waht happens.

  14. March 09, 2010 at 16:43 | #1

    At the risk of sounding like I am shifting blame, I am noticing that for some strange reason, Movable Type is not actually saving the plugin settings. I'm going to see if it's an issue with MT 4.34 as soon as I get a chance. I remember checking this on 4.32 and it didn't seem to be misbehaving on that version (4.33 was a very buggy release of MT 4.3 and 4.34 may likewise have problems with saving plugin data...).

  15. March 09, 2010 at 19:51 | #1

    Are you using 4.33 or 4.34? I confirmed your bug on 4.34 and after reverting back to 4.32, it works for me again.

  16. March 10, 2010 at 08:05 | #1

    FYI, there is a setting under the plugin settings in blog view for requiring the user to authenticate or not before flagging a comment.

  17. May 20, 2010 at 10:08 | #1

    Does this plugin work with mt5 anyone have any success with this?

  18. May 21, 2010 at 08:14 | #1

    The tags and CGI script which runs the blog-side of things should all work. The callbacks for the CMS that add the flag information to the comment edit page are anyone's guess. I have no intent to support MT5 at this time as I am a dilettante supporter of and contributor to Melody.