root/trunk/reCaptcha/README

Revision 885, 1.8 kB (checked in by fumiakiy, 1 month ago)

reCaptcha plugin now supports default templates of 4.0x/4.1x and 4.2.

Line 
1 Here's how to use the plugin.
2 1. Copy the reCaptcha folder under plugins directory.
3 2. Go to Preferences - Plugins in your blog dashboard.
4 3. You should see reCaptcha plugin listed.  Open reCaptcha plugin settings.
5 4. Input public and private key pair you acquired from reCaptcha.net for the blog.
6 5. Go to Blog Settings - Comment.
7 6. Choose reCaptcha as the blog's captcha provider and Save.
8
9 MT 4.0x/4.1x users follow the step 7 and 8 and skip the step 9.
10 MT 4.2 users skip the step 7 and 8 and go to step 9.
11
12 7. [MT 4.0x/4.1x users only] Edit Comment Form template, so it renders MTCaptchaFields unconditionally.  In practice, this means replacing these lines
13     <MTIfNonEmpty tag="MTCaptchaFields">
14     <MTIfCommentsAccepted><MTIfRegistrationAllowed><MTElse><$MTCaptchaFields$></MTIfRegistrationAllowed></MTIfCommentsAccepted>
15     <div id="comments-open-captcha">
16     </div>
17     </MTIfNonEmpty>
18 to these lines:
19     <MTIfNonEmpty tag="MTCaptchaFields">
20     <div id="comments-open-captcha">
21     <$MTCaptchaFields$>
22     </div>
23     </MTIfNonEmpty>
24 8. [MT 4.0x/4.1x users only] Edit Javascipt index template, to remove these lines of code which calls delayShowCaptcha:
25     <MTIfNonEmpty tag="MTCaptchaFields">
26     captcha_timer = setInterval('delayShowCaptcha()', 1000);
27     </MTIfNonEmpty>
28
29    If your install does not have these lines in JavaScript index template, these lines should be in GlobalJavaScript, which is a global system template.
30
31 9. [MT 4.2 users only] Edit Comments template module so it renders MTCaptchaFields by default.  In practice, this means you replace the line below
32     <div id="comments-open-captcha"></div>
33 to this
34     <div id="comments-open-captcha"><$MTCaptchaFields$></div>
35
36 10. Rebuild index and individual entry archives.
37
Note: See TracBrowser for help on using the browser.