SCode Manual

SCode is an anti-spam plugin that generates a CAPTCHA (or security image) that commenters must enter whilst commenting, this verifies that the comment was made by a human being and not using a spambot. CAPTCHAs are used on several other websites including Paypal and Google. CAPTCHAs have several advantages and disadvantages which have been discussed here.

SCode is free for personal users, however, a donation of $ is greatly appreciated. Commercial users are encouraged to support this plugin by donating at least $

Prerequisites

You must have:

  1. Movable Type 3.2 or higher.
  2. You must have the GD library installed
  3. You must have the GD Perl Module installed.

You will need to contact your host for #2 and #3.

Download

To download SCode, select the download format you would like, .zip files are good for Windows servers while .tar.gz files are good for Unix/Mac servers.


Installation

  1. Extract the distribution and preserve the directories. The directories that have been extracted correspond to the directories in your Movable Type installation. Upload these directories to your Movable Type installation such that file structure looks like so:

    MT_DIR/
    |__ plugins/
    |  \__ SCode/
    |     |__ SCode.pl
    |     |__ mt-scode.cgi
    |     \__ lib/
    |        |__ SCode.pm
    |
    |__ php/
    |   \__ plugins/
    |      |__ function.MTSCodeInsert.php
    |      |__ function.MTSecurityCode.php
    |      |__ function.MTSecurityImage.php
    

    If the plugin was successfully installed, you should see something similar to this on the Plugins listing under System Overview.

    SCode Registration

  2. Click the Show Settings link to display settings you must set for SCode before use and you will see the following settings:

    SCode Settings

Usage

  1. First you will need to add the SCode fields into your comment form. To do this add <MTSCodeInsert> in all your comment forms (typically these are in the Individual Entry Archive, Comment Listing and Comment Preview templates). <MTSCodeInsert> automatically generates all SCode fields. However, if you would like more flexibility, you can use the following code instead of <MTSCodeInsert>:

    <label for="scode">Security Code:</label><br />
    <input type="hidden" id="code" name="code" value="<$MTSecurityCode$>" />
    <img border="0" src="<$MTCGIPath$><$MTSecurityImage$>?code=<$MTSecurityCode$>"><br />
    <input id="scode" name="scode" />
    

    The best place to add the tag is right after the comment form's textarea as shown below::

    <p id="comments-open-text">
       <label for="comment-text">Comments: <MTIfAllowCommentHTML>(you may use HTML tags for style)</MTIfAllowCommentHTML></label>
       <textarea id="comment-text" name="text" rows="10" cols="30"></textarea>
    </p>
    
  2. Next you will need to enable SCode checking on the blog. To do so, click Settings on the left hand menu and then click the Plugins tab. Click Show Settings for SCode and check the box that appears

    SCode Settings

  3. Finally, if you are using static publishing, rebuild the templates that you've updated.

Support

SCode is free for personal users, however, a donation of $ is greatly appreciated. Commercial users are encouraged to support this plugin by donating at least $

For support, visit the forums

Personal Users

SCode is free for personal users, however, a donation of at least $ is greatly appreciated.

If you have a problem installing or using SCode, visit our forums

Commercial Users

You can download, install and try a fully functional version of SCode for a 30-day evaluation period. If, after this period, you wish to continue using the plugin, you are expected to purchase a commercial license for $. Purchasing a commerial license entitles you to priority support via The Helpdesk.

Buy Now

Enterprise Users

You can download, install and try a fully functional version of SCode for a 30-day evaluation period. If, after this period, you wish to continue using the plugin, you are expected to purchase an enterprise license for $. Purchasing an enterprise license entitles you to priority support via The Helpdesk.

Buy Now