CCode and TCode MT4.1
One confusing part of upgrading to MT4 is all that all the new templates and my old templates end up all mixed together. I created a "Temp41" blog from scratch just to have a reference set of code to help sort out the mess.
I missed that the javascript template is now "mt.js" instead of "mt-site.js" and that both were still being generated. Since this is where I store the CCode/TCode javascript (anti-spam), it was important to retire mt-site.js and get the obfuscator function into mt.js.
CCode and TCode works in before saving spam feedbacks to MT system. CCode/TCode makes it very difficult for spam-bots to guess tb URL and the required ct input fields. Target ct/tb URLs to send spams are calcuated from unrevealed entry/trackback data and obfuscated by Javascript.
Steps to install CCode/TCode in MT4 (vs. MT3.)
- Download MT4 version.
- Remove old plug-in code and add new plug-in code in MT system.
- Place obfuscator.js code into: mt.js template:
mt41:default_templates:javascript.mtml - Refresh mt.js in each blog to bring it in.
- Install the tag into the Comments Form template. This is an improvement because the new sub-template approach means only updating one sub-template vs. multiple templates under MT3. Put it under this line:
<input type="hidden" name="entry_id" value="<$MTEntryID$>" />
<$MTEntryCCode$> - Republish individual archives.
Tags
About this Entry
This page contains a single entry by Jeb published on June 20, 2008 10:55 PM.
SMTP Inbound on Domino was the previous entry in this blog.
Jonas Brothers Stuck in the iMac 20 is the next entry in this blog.
Find recent content on the main index or look in the archives to find all content.
Archives
- All Entries
- 2008
Aug (1) Jun (6) May (4) Apr (1) Mar (6) Feb (3) Jan (3) - 2007
Dec (3) Nov (3) Oct (1) Sep (3) Aug (2) Jul (3) Jun (5) May (7) Apr (1) Mar (3) Feb (2) Jan (1) - 2006
Dec (6) Nov (5) Oct (5) Sep (2) Aug (5) Jul (6) Jun (3) May (2) Apr (6) Mar (9) Feb (6) Jan (7) - 2005
Dec (6) Nov (7) Oct (7) Sep (13) Aug (9) Jul (3) Jun (10) May (10) Apr (3) Mar (8) Feb (12) Jan (14) - 2004
Dec (9) Nov (12) Oct (9) Sep (8) Aug (11) Jul (12) Jun (10) May (14) Apr (7) Mar (7) Feb (5) Jan (7) - 2003
Dec (13) Nov (20) Oct (19) Sep (12) Aug (14) Jul (11) Jun (18) May (19) Apr (10) Mar (3) - 2001
Aug (1) - 2000
Jul (1) - 1999
Sep (1) - 1990
Nov (1) - 1981
Oct (1) Feb (1)
Search
Breadcrumbs
10/05
Help:Images - MediaWiki
Overview of image tags in MediaWiki
10/01
Index of /pub/fedora.redhat/linux/releases/9/Fedora/i386/iso
Fedora 9 DVD i386 @ Ga Tech
09/30
aBowman ยป Gadgets
Feed the fish
09/30
Retired
60 : 40 stock : bonds w/ 4% draw. Or 85% draw 1/20th, 1/19th, 1/18th.... The 15% inve..
09/27
Start Giving It Away Early (Estate Planning: Personal Finance) at Smar..
Gift tax limits.
09/24
YouTube - Dick Van Dyke, The Art of Slapstick
09/24
401K 9/2008
09/22
JumpBox | Instant Infrastructure | JumpBox Inc.
Movable Type and Joomla
09/20
HP Inkjet Driver (Universal Binary)
For our HP Deskjet 6540. See also software (utilities.)
09/20
Software for HP Deskjet Printers - Mac OS X v10.3 and v10.4 (Universal..
For our HP Deskjet 6540. Utilities. See also driver.
09/16
Women's Chalet Long Down Coat from Lands' End
Coat for Nicole
09/15
Upgrade Your MacBook Pro's Hard Drive - How To by ExtremeTech
09/15
Macworld | Mobile Mac | Upgrading the MacBook Pro's hard drive
Hitachi
09/15
Choosing the Right E-Marketing Service: Pros and Cons - Inside CRM
Silverpop, Epsilon mentioned.



Leave a comment