TC5-compatible CAPTCHA tool

TC5-compatible CAPTCHA tool

This question is answered

I'm looking to add a CAPTCHA to the comment form on blog posts. I'm using TC5. Are there any available CAPTCHA components out there that work on TC5? Would a component built for CS2008/2008.5 work fine? Are there any known things that may be issues when using a one for CS2008?

Mark

Verified Answer
  • Mark, I haven't used this one myself yet but feedback is good and apparently it works well in TC5: upupo-soft.com/.../155.aspx

    Thanks

    Adam

  • Hi Adam, thanks for the link. I'll look into it and start to integrate and get back about it.

  • Hi everyone, I tried a few CAPTCHAs. The one Adam sent a link to seemed to be coupled with a user create form and I couldn't get the CAPTCHA to work well alone. I scrapped it because of the time. I ended up going with the Telerik RadCaptcha (www.telerik.com/.../radcaptcha.html) which worked very well and was easy to hook into my site and customize. It has a high price tag though - luckily I have a license for it already.

  • Hi Mark, thanks for passing on this information. I will bear this in mind in future. Did you come across any CAPTCHA controls which would work ok (other than the Telerik ones) and are free?

    Thanks

    Adam

  • Hi Adam,

    I did find FormShield but it only seemed to run in classic mode. I asked a question about whether TC5 can run in either a classic or integrated mode and I got some conflicting answers.

    I determined through some testing that classic mode will partially work, but lots of handlers and extra things will break. So since I need to run my site in integrated and the FormShield CAPTCHA only seems to work in classic, I canned it. Let me know if you try it and have any luck yourself though.

    Mark

  • The FormShield also seem to require a page postback (be placed in a <form runat=server>). Mark could you write a couple of points on how to integrate the Ajax Captcha control from Rad?

    Cheers!

  • Hi Anders,

    Unfortunately even though the RadCaptcha is part of the ASP.NET AJAX Rad controls, the captcha control itself cannot be used via Ajax. I've already confirmed previously on the Telerik forum that client-side validation is not possible. You can take a look at my proposed technique and Telerik support's response as why it does not work.

    The code for my RadCaptcha is simple and I really just had to add it to the existing Telligent comment form validation group:

    <telerik:RadCaptcha ID="Captcha" runat="server"
        CaptchaTextBoxLabel="Enter the characters below into the field."
        CaptchaTextBoxLabelCssClass="lblInstructions"
        CaptchaTextBoxCssClass="tb"
        CssClass="pnlCaptcha"
        EnableRefreshImage="true"
        Display="Dynamic"
        TabIndex="4"
        ValidationGroup="CreateCommentForm">
        <CaptchaImage
            ImageCssClass="imgCaptcha"
            TextColor="#000000"
            UseRandomFont="true"
            BackgroundColor="#ffffff"
            BackgroundNoise="Low"
            LineNoise="None"
            FontWarp="Low"
            TextLength="6"
            TextChars="LettersAndNumbers" />
    </telerik:RadCaptcha>

    As you can see, the validation group is "CreateCommentForm"

    Good luck!
    Mark

All Replies
  • Mark, I haven't used this one myself yet but feedback is good and apparently it works well in TC5: upupo-soft.com/.../155.aspx

    Thanks

    Adam

  • Hi Adam, thanks for the link. I'll look into it and start to integrate and get back about it.

  • Hi everyone, I tried a few CAPTCHAs. The one Adam sent a link to seemed to be coupled with a user create form and I couldn't get the CAPTCHA to work well alone. I scrapped it because of the time. I ended up going with the Telerik RadCaptcha (www.telerik.com/.../radcaptcha.html) which worked very well and was easy to hook into my site and customize. It has a high price tag though - luckily I have a license for it already.

  • Hi Mark, thanks for passing on this information. I will bear this in mind in future. Did you come across any CAPTCHA controls which would work ok (other than the Telerik ones) and are free?

    Thanks

    Adam

  • Hi Adam,

    I did find FormShield but it only seemed to run in classic mode. I asked a question about whether TC5 can run in either a classic or integrated mode and I got some conflicting answers.

    I determined through some testing that classic mode will partially work, but lots of handlers and extra things will break. So since I need to run my site in integrated and the FormShield CAPTCHA only seems to work in classic, I canned it. Let me know if you try it and have any luck yourself though.

    Mark

  • The FormShield also seem to require a page postback (be placed in a <form runat=server>). Mark could you write a couple of points on how to integrate the Ajax Captcha control from Rad?

    Cheers!

  • Hi Anders,

    Unfortunately even though the RadCaptcha is part of the ASP.NET AJAX Rad controls, the captcha control itself cannot be used via Ajax. I've already confirmed previously on the Telerik forum that client-side validation is not possible. You can take a look at my proposed technique and Telerik support's response as why it does not work.

    The code for my RadCaptcha is simple and I really just had to add it to the existing Telligent comment form validation group:

    <telerik:RadCaptcha ID="Captcha" runat="server"
        CaptchaTextBoxLabel="Enter the characters below into the field."
        CaptchaTextBoxLabelCssClass="lblInstructions"
        CaptchaTextBoxCssClass="tb"
        CssClass="pnlCaptcha"
        EnableRefreshImage="true"
        Display="Dynamic"
        TabIndex="4"
        ValidationGroup="CreateCommentForm">
        <CaptchaImage
            ImageCssClass="imgCaptcha"
            TextColor="#000000"
            UseRandomFont="true"
            BackgroundColor="#ffffff"
            BackgroundNoise="Low"
            LineNoise="None"
            FontWarp="Low"
            TextLength="6"
            TextChars="LettersAndNumbers" />
    </telerik:RadCaptcha>

    As you can see, the validation group is "CreateCommentForm"

    Good luck!
    Mark