Update: This plugin addresses a bug seems to affect only some people who upgraded to Movable Type 3.2 from previous versions. I don't know what leads to the problem, but if you get a "You must define a Comment Pending Template" error message, this plugin can help. I previously thought (incorrectly) that the problem was due to a design flaw in Movable Type 3.2. In MT 3.2, a new feature was introduced that enabled blog authors to have comments held for moderation, or place in a junk folder, depending on settings and other criteria. In such cases, a message is shown to the commenter, notifying them that the comment is being held for moderation. This message is displayed via a new "Comment Pending Template". When you create new blogs with MT 3.2, it automatically creates this system template.
The problem, which affects only certain installations (not sure why or how many), is that the upgrade process for MT 3.2 does not create a "Comment Pending Template" for existing blogs on the system, as it should ( blogs that were created with previous versions of MT). If you are affected by this issue, when comments get held for moderation, commeters get an ugly MT error screen, with the cryptic error message "You must define a Comment Pending template". This means nothing to commenters, of course, who cannot create such a template. Another challenge, it turns out that even blog owners/admins cannot define a "Comment Pending Template" from the MT admin interface. When you browse to System templates, there are no options to create this template. Googling for a solution, a found a message from a SixAparter saying that the only way to add this template is to use the TemplateRefresh plugin on the entire blog. This is BAD IDEA if you have many customized templates! While it does back up your customized templates, it creates a mess by replacing all your templates with the default ones, making a big mess for you to clean up later.
Hence, the reason for this plugin.
What this plugin does
DefineCommentPending does exactly what it says, it defines a Comment Pending Template for a particular blog. The plugin creates a "Define Comment Pending Template" plugin action that will appear at the bottom of your template listing screens (when you click "Templates" from the MT menu). A single click of this link will create the Comment Pending Template and enable you to customize it, if desired.
1. Download Now:
2. Expand the zip file and upload to the "plugins" directory within your MT directory.
3. In the MT admin interface, browse to the blog you want, then choose "Templates" from the menu.
4. Click the "Define Comment Pending Template" link that appears below the list of templates.
5. Repeat for each blog, as desired.