MTThreadMail


Description

MTThreadMail adds email notification to the MTThreadedComments plugin by Alexei Kosut. A check box is added to the comment entry form to indicate that the comment author wishes to see replies to that comment.

Note:MTThreadMail includes a standard Movable Type plugin to add new tags, but it also requires modification of the main Movable Type source code. Do not install MTThreadMail unless you are comfortable modifying your Movable Type installation. Also, it requires that you have the MTThreadedComments plugin installed and working.


Download

MTThreadmail0.1.1.tar.gz


Installing MTThreadMail

Requirements

Installation

  1. Untar MTThreadmail.tar.gz into a temporary location.
  2. Copy MTThreadMail.pl into your Movable Type plugins directory.
  3. Apply the patchfile to the Movable Type library. If you are using a standard Unix-like shell, cd to your Movable Type Directory (the one that contains mt.cgi, lib, extlib, etc...) and type the following command:
    patch -p0 < /path/to/where/you/untarred/MTThreadMail.patch
    Watch the output of the patch command for any errors.
  4. If you are using a database to store your weblog (i.e., not DBM files), you will need to modify your database scheme. You will need to add a comment_notify column to the mt_comment table. You might use SQL commands similar to the following:
    alter table mt_comment add column comment_notify integer
    

Documentation

Configuring your weblog
After installing MTThreadedMail, you'll need to make some minor adjustments to your weblog templates to accomodate the new features. You only need to modify the Comment Listing Template, the Comment Preview Template and the Comment Error Template. The below changes are based on the modifications made while installing MTThreadedComments.

Altering the Comment Listing Template
Add the following to the post form, below the Email Address: input tag:

<label for="notify">Check to have replies sent to you:</label>
<input type="checkbox" value="1" name="notify" /><br /><br />

Altering the Comment Preview Template and Comment Error Template
Add the following to the post form, below the Email Address: input tag:

<label for="notify">Check to have replies sent to you:</label>
<input type="checkbox" value="1" name="notify" 
  <$MTCommentPreviewNotify$> /><br /><br />

New Tags

  • MTCommentPreviewNotify
    Returns the text 'CHECKED' if the comment author has checked the notify box.

Version History

0.1.1
Added in support for anonymous comments. If notify box is checked and there is no email address provided it will give an error.

0.1

  • Initial Release

Known Bugs/Issues

None.


Contact the Author

Please send any comments or suggestions to Gregory Blake


Warning: include_once(counter.php): failed to open stream: No such file or directory in /home/gblake/public_html/plugins/MTThreadMail.html on line 168

Warning: include_once(): Failed opening 'counter.php' for inclusion (include_path='/home/gblake/include/') in /home/gblake/public_html/plugins/MTThreadMail.html on line 168