Forum OpenACS Q&A: Re: Captchas for the register form

Collapse
Posted by César Clavería on
Hello,

yes, TclMagick "should" work without Tk installed or X11, but I haven't been able to make it work that way neither.

for using the pragana simple build of Tcl-magick, yes, you will need ImageMagick installed, and its libraries installed in something like /usr/lib/libMagick.so.7

Collapse
12: reCAPTCHA proposal (response to 11)
Posted by Alessandro Landim on
Hi everyone,

What do you think about use reCAPTCHA.net to resolve the Inaccessibility of CAPTCHA?

I've developed a package that use this service and can provide this check in ad_form.

Try to download it at: http://dl.dropbox.com/u/6061429/recaptcha/recaptcha.tar.gz

You need create an account at www.recaptcha.net and get the public and private key. After this, add this keys in /recaptcha/public_key.txt and /recaptcha/private_key.txt.

To use it in ad_form, add this line:

recaptcha::create -form $adform_name

and add a validate in ad_form

-validate {
        {recaptcha_service
                {[recaptcha::check -challenge_field $recaptcha_challenge_field -response_field $recaptcha_response_field]}
                "\"#<span>recaptcha.Title</span>#\" #<span>recaptcha.Error</span>#"
        }
}

In my blog I posted an image of this usage http://alessandrolandim.blogspot.com/2010/04/recaptchanet-no-openacs.html

Collapse
13: Re: reCAPTCHA proposal (response to 12)
Posted by Dave Bauer on
This sounds good. I will try to review this.
Collapse
14: Re: reCAPTCHA proposal (response to 13)
Posted by Torben Brosten on
This is great.

Please make sure code works well when connecting securely.

More info under "Using reCAPTCHA on an https site" at http://recaptcha.net/apidocs/captcha/client.html