| 1 | The reCaptcha plugin has been officially moved to: |
|---|
| 2 | https://github.com/sixapart/mt-plugin-reCaptcha |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | --- |
|---|
| 10 | |
|---|
| 11 | Here's how to use the plugin. |
|---|
| 12 | 1. Copy the reCaptcha folder under plugins directory. |
|---|
| 13 | 2. Go to Preferences - Plugins in your blog dashboard. |
|---|
| 14 | 3. You should see reCaptcha plugin listed. Open reCaptcha plugin settings. |
|---|
| 15 | 4. Input public and private key pair you acquired from reCaptcha.net for the blog. |
|---|
| 16 | 5. Go to Blog Settings - Comment. |
|---|
| 17 | 6. Choose reCaptcha as the blog's captcha provider and Save. |
|---|
| 18 | |
|---|
| 19 | Users who are using the template set from MT 4.0x and MT 4.1x should follow the step 7 and 8 and skip the step 9. |
|---|
| 20 | Users who are using the template set from MT 4.2 should skip the step 7 and 8 and go to step 9. |
|---|
| 21 | NOTE that it is the version of the template that matters, not the version of the product you are using. For example, you should follow the step 7 and step 8 and skip step 9 if you are using MT 4.2x that was upgraded from older versions, and have not refreshed your templates. |
|---|
| 22 | |
|---|
| 23 | 7. [MT 4.0x/4.1x users only] Edit Comment Form template, so it renders MTCaptchaFields unconditionally. In practice, this means replacing these lines |
|---|
| 24 | <MTIfNonEmpty tag="MTCaptchaFields"> |
|---|
| 25 | <MTIfCommentsAccepted><MTIfRegistrationAllowed><MTElse><$MTCaptchaFields$></MTIfRegistrationAllowed></MTIfCommentsAccepted> |
|---|
| 26 | <div id="comments-open-captcha"> |
|---|
| 27 | </div> |
|---|
| 28 | </MTIfNonEmpty> |
|---|
| 29 | to these lines: |
|---|
| 30 | <MTIfNonEmpty tag="MTCaptchaFields"> |
|---|
| 31 | <div id="comments-open-captcha"> |
|---|
| 32 | <$MTCaptchaFields$> |
|---|
| 33 | </div> |
|---|
| 34 | </MTIfNonEmpty> |
|---|
| 35 | 8. [MT 4.0x/4.1x users only] Edit Javascipt index template, to remove these lines of code which calls delayShowCaptcha: |
|---|
| 36 | <MTIfNonEmpty tag="MTCaptchaFields"> |
|---|
| 37 | captcha_timer = setInterval('delayShowCaptcha()', 1000); |
|---|
| 38 | </MTIfNonEmpty> |
|---|
| 39 | |
|---|
| 40 | If your install does not have these lines in JavaScript index template, these lines should be in GlobalJavaScript, which is a global system template. |
|---|
| 41 | |
|---|
| 42 | 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 |
|---|
| 43 | <div id="comments-open-captcha"></div> |
|---|
| 44 | to this |
|---|
| 45 | <div id="comments-open-captcha"><$MTCaptchaFields$></div> |
|---|
| 46 | |
|---|
| 47 | 10. Rebuild index and individual entry archives. |
|---|
| 48 | |
|---|