CCode and TCode

| | Comments (3) |

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>


Categories

3 Comments

Me said:

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.

Test said:

Testing for Gramalie.

Me said:

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.

Leave a comment

About this Entry

This page contains a single entry by Jeb published on September 12, 2005 12:11 PM.

Firewall (Out) was the previous entry in this blog.

High Point for Gas is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.31-en

Good Reads

Flickr Badge

www.flickr.com
This is a Flickr badge showing items in a set called Wallet. Make your own badge here.