Current Record: reCAPTCHA_module #99

Table of Contents Synopsis Installation Usage See Also Synopsis The Xataface reCAPTCHA module CAPTCHA support to any Xataface form ...

Current Record: reCAPTCHA_module #99

Table of Contents Synopsis Installation Usage See Also Synopsis The Xataface reCAPTCHA module CAPTCHA support to any Xataface form ...

The reCAPTCHA module

[Permalink]
Table of Contents

Synopsis

The Xataface reCAPTCHA module CAPTCHA support to any Xataface form that is rendered to the public (i.e. when users are not logged in). This is particularly useful for the registration form as a means of spam prevention. Below is a screenshot of a registration form with the reCAPTCHA module installed:

http://media.weblite.ca/files/photos/Picture%2038.png?max_width=640

For more information about reCAPTCHA see http://recaptcha.net/.

Installation

  1. Download/extract the module directory into your xataface/modules directory. Currently this module is only available in SVN (http://weblite.ca/svn/dataface/modules/reCAPTCHA/trunk/)
  2. Add the following to the [_modules] section of your conf.ini file.
    [_modules]
        modules_reCAPTCHA=modules/reCAPTCHA/reCAPTCHA.php
  3. Add the following section to your conf.ini file.
    [reCAPTCHA]
        public_key="xxxxxxx"
        private_key="xxxxxxx"
    Where public_key, private_key are your keys from your reCAPTCHA account. (Note that you need to register for a free reCAPTCHA account at http://recaptcha.net/ in order for this to work.

Usage

If you are NOT logged in, you will now see a reCAPTCHA validation image before the submit button for all webforms in your Xataface application. If you fail to enter the captcha text correctly the form will not validate. If you are logged in this module has no effect.

See Also

blog comments powered by Disqus
Powered by Xataface
(c) 2005-2024 All rights reserved