This anti-spam measure stops the posting of SPAM by robots without real people having to do anything special.
alogblog’s MTy plugins: CCode and TCode for blocking comment/trackback spam for MT 3.2
Update:
Installed as instructed, although I wasn’t sure where to put the tag in the referenced comment templates. At first I put it above the closing /MTIfCommentsActive tag, but this generated an error because I was defining a field outside of the form tags. I then moved as shown below, and that worked. I went ahead and added to the default templates for Individual Archive (individual_entry_archive.tmpl) and Comment Preview (comment_preview_template.tmpl) making it easier to refresh each blog’s templates. Not sure why this was not in instructions, but it matches the recommendation for the site java script (site_javascript.tmpl.)
</div>
<input type=”hidden” name=”entry_id” value=”<$MTEntryID$>” />
<$MTEntryCCode$>
</form>
</MTEntryIfCommentsOpen>
</div>
</MTIfCommentsActive>
Installed CCode and there is now a hidden field in the comment form that is automatically calculated when a person physically visits the page. Spam-bots do not physically visit the page, so the value is not calculated, and the comment cannot be submitted. No way to test other than wait and see if spam is eliminated.
Testing for Gramalie.
Had to reinstall an updated version with 3.3 and go through the process of:
1. Uploading plug-in code.
2. Patching javascript template.
3. Patching individual archive template.
4. Patching comment preview template.
5. Going through each blog and refreshing the three templates and…
6. Updating individual archive indexes of each blog.