default userpic

SCode plugin and CAPTCHA provider?

Vote 0 Votes

I just upgraded from MT 3.2 to MT 4.261. I have the SCode plugin which I had installed with MT 3.2. It still shows up under plugins as enabled. Separately I got to the Comment settings area and I see under "Comment Display Options" the entry "CAPTCHA Provider" which is set to "none".

So here's the question: does SCode bypass the CAPTCHA Provider setting? Do all my forms that produce the CAPTCHA graphics pattern just not use the new version but still work okay?

I can't get comments to work at all since upgrading.

Reported on Movable Type 4.2

2 Replies

| Add a Reply
  • Answer: I have 2 problems.

    1) The old Comments Listing Template is just not showing up. Though I still see the Comments Preview Template and I got that one to work for single post preview mode.

    2) Gotta replace the SCode MTSecurityCode and MTSecurityImage tags with new tags added to MT4.
    I think SCode (or at least an earlier version of it) does not work with MT 4.261. Instead I copied this code snippet below over the SCode snippet in the Comments Preview Template:





    Then I went into Preferences | Comment | CAPTCHA Provider and set it to "MovableType default". That seems to make CAPTCHA work again for single post previews at least.

  • Okay, the XML gets eaten up. See here:
    http://www.movabletype.org/documentation/designer/mt4s-comment-templates-for-use.html

    This is what you use to replace the SCode MTSecurityCode and MTSecurityImage:

    <MTIfNonEmpty tag="MTCaptchaFields">
    
    

    <MTIfCommentsAccepted>
    <MTIfRegistrationAllowed>
    <MTElse><$MTCaptchaFields$>
    </MTIfRegistrationAllowed>
    </MTIfCommentsAccepted>

    <div id="comments-open-captcha">
    </div>

    </MTIfNonEmpty>

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1195 3842

Last Topic: Comment form customization by anisa on Feb 8, 2010

60 184

Last Topic: Dynamic Publishing - Blank Screen by Sivaram M on Dec 15, 2009

955 2985

Last Topic: MT5 - Cookie Problems by Dave Cross on Feb 9, 2010

68 213

Last Topic: How to add Custom Fields by gregoryttp on Feb 5, 2010

19 67

Last Topic: Custom main index page by Richard on Feb 7, 2010

42 169

Last Topic: I want to write my own wordpress plugin by Xarzu on Jan 31, 2010

11 21

Last Topic: Monthly Calendars Help Needed by joe leblanc on Jan 19, 2010

91 326

Last Topic: SpamLookup Keyword Filter 2.1 not work by b.n09 on Nov 17, 2009

52 178

Last Topic: Assets - No options by Chelle on Feb 5, 2010

code.sixapart.com

128 444

Last Topic: ActionStream with Movable Type 5.01 by Parneix on Jan 24, 2010

154 468

Last Topic: URGENT! Help needed w/ Virus by PhilContrino on Feb 1, 2010