« update page photos without rebuild? | Main | Need Help with MT install »

Define Comment Pending Template

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.

Installation:

1. Download Now:

Membership required, please sign-in or register:

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.

Rate this entry:

  • Currently 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 0/5 (0 votes cast). Powered by the Ajax Rating plugin.

TrackBack

TrackBack URL for this entry:

Listed below are links to weblogs that reference Define Comment Pending Template:

» home theater systems. home theater information. from home theater systems. home theater information.
[Read More]

» Another MT Error Fixed from tecosystems
One other little bugfix to note: some of you may have received while commenting on either James' or my entries an error that read "You must define a Comment Pending template." As near as I can determine, it's a result... [Read More]

» MaxGXL Benefits of Glutathione » MaxGXL Glutathione from MaxGXL Benefits of Glutathione » MaxGXL Glutathione
Robert Scoble, you have proven once again what a mensch you are— not only do you write about the World Economic Forum, you also write about how to improve the world with peas… in other words, about our own Twitter and Facebook friend, Susan Reynolds, h... [Read More]

Comments (3)

Thanks, this was a big help.

Excellent. Does exactly what I'm looking for it to do. Thanks!

Anonymous:

Saved the day, this one did. Many thanks!

One problem, though.

I installed MT 3.35 in directory recommended: /cgi-bin/mt/

Your plugin seems to be looking to execute /cgi-bin/mt.cgi - which should be /cgi-bin/mt/mt.cgi

So, I just edited the URL in my browser's address bar and, voila!

Post a comment

Gift idea: Buy Seinfeld DVD box set, complete 9 seasons!