Skip to content

Fixing Comments

By default, comments will not work on your weblog. This is because I put in place a new spam-proofing solution before I realized that I don’t have the time to implement it fully.

These instructions describe how to make comments work. They shouldn’t take more than 5 minutes.

1. Login to MT.
2. Click the “Templates” button.

Note your templates for “individual entry,” comment listing, comment error, and comment preview (these latter three are buttons on template page, not links; they are there, just look around!).

Steps 3-6: Edit each of those 4 templates. In each, there is a line that looks like this (more or less):

<textarea tabindex=”4″ id=”text” name=”text” rows=”10″ cols=”50″></textarea><br><br>

After that line, insert the following code:

<!– Security Code Check –>
<input type=”hidden” id=”code” name=”code” value=”<$MTSecurityCode$>”>
<img border=”0″
src=”<$MTCGIPath$><$MTSecurityImage$>?code=<$MTSecurityCode$>”><br>
Verification (enter text from image above):
<input tabindex=5 id=”scode” name=”scode”><br><br>
<!– end of Security Code Check –>

Then save your template.

Step 7. After you have added that bit of code to each of the four templates (and saved the templates!), click the “rebuild site” button on the left and rebuild everything.

That’s it. You now have spam-free comments.

3 Comments

  1. Lisa Chau wrote:

    I just posted a Nov 1 entry but it doesn’t show on my main page. Wassup wit dat?

    Friday, November 12, 2004 at 10:46 am | Permalink
  2. Lisa Chau wrote:

    Hm… My archive posts don’t have the option to add comments –

    For example:

    http://dartblogs.com/lisachau/archives/000385.html

    Friday, November 12, 2004 at 1:59 pm | Permalink
  3. mihey wrote:

    wow!!! Very usefull and intresting.
    And your spam protection is cool.

    Tuesday, March 22, 2005 at 7:21 pm | Permalink