Coming Soon: ExtendedComments, CommentTitles, and CommentThreads

Recently, I have been talking with Imajes in #joiito about the port of a site to MT. This site currently has a threaded comment system, and he was looking to see if it was doable in MT. Currently, the only way to do it is via a hack, MTThreadedComments, but I thought there might be a better way to do that, especially after all the experience I have gained while working on the SubCategories plugin. So, I am going to announce the following plugins:

  • ExtendedComments
  • CommentTitles
  • CommentThreads

ExtendedComments

ExtendedComments, as a replacement for mt-comments.cgi, will not be so much a plugin as it will be a platform for plugins. The idea here is to give plugin authors a way to add functionality to the comment system without having to write yet another MT::App class.

I envision something like the following being used in a plugin to add a handler for a new argument to the ExtendedComments cgi script:

rayners::ExtendedComments->add_param ('param_name' => \&handler);

CommentTitles

CommentTitles will provide what you would expect, titles for comments. Mostly, it is to duplicate functionality of the MTThreadedComments hack, as well as to provide me with a very basic plugin with which to test ExtendedComments.

CommentThreads

Here is the fun part. CommentThreads will provide a threaded comment system for MT users, without having to resort to patching the core files.

All three of these are still very much in the preliminary planning stages, so any and all feedback is more than welcome.

1 TrackBack

Ooh... here's a new plugin for threaded comments -- no hack needed! I can't seem to find a place to download this plugin, so it might not be available just yet. Of course, if I stick with MT for my... Read More

7 Comments

Awesome. Can't want to try this out.

jason

Methinks our plugins are going to have a deathmatch... We should coordinate...

Added save_callback

Double checking to see if it wasn't a fluke :)

This is actually pretty exciting, as I have seriously hacked up `MT::App::Comments` to get the functionality (threaded comments, comment text filters) that I want.

It would be great to replace all that with a plugin.

I'm just hoping this will be backwards-compatible with the data I already have stored in the `mt_comment` table in the database
(`comment_subject`, `comment_parent_id` and `comment_convert_breaks`)

Excellent timing! Does this mean we're getting close to seeing this as a downloadable plugin? *crossing fingers*

-All replies need to have '.2' added before the @

Leave a comment

Recent Entries

  • Plugin Writing 101

    So, I’m planning on writing up some entries about various aspects of plugin development. While I have a couple topics already in mind, I thought...

  • The Olympics Make Me Want To Compete Again

    Every time the Olympics come around (most the summer ones) I always start to delude myself into thinking I could complete once again in the...

  • Minimalist plugins are fun!

    Last night I whipped up one of the smallest plugins I’ve ever written. It is so small in fact that I was able to stuff...

  • Feedburner Widget on MT News

    Movable Type News A WordPress 2.5 Upgrade Guide: And of course there are lots of third-party plugins for the MT dashboard, to integrate statistics and...

  • AD&D Monster Stats for the Presidential Canditates

    Charles Stross (scifi author, D&D nerd, and former perl columnist) posted Politics as she is Played with 3d6: The recent death of Gary Gygax, who...

Close