The reCAPTCHA module
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:

For more information about reCAPTCHA see http://recaptcha.net/.
Installation
- 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/)
-
Add the following to the [_modules] section of your conf.ini file.
[_modules] modules_reCAPTCHA=modules/reCAPTCHA/reCAPTCHA.php -
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
var disqus_identifier = ‘xataface.com/wiki/reCAPTCHA_module’; (function() { var dsq = document.createElement(‘script’); dsq.type = ‘text/javascript’; dsq.async = true; dsq.src = ‘http://xataface.disqus.com/embed.js’; (document.getElementsByTagName(‘head’)[0] || document.getElementsByTagName(‘body’)[0]).appendChild(dsq); })(); blog comments powered by Disqus
//<![CDATA[ (function() { var links = document.getElementsByTagName(‘a’); var query = ‘?’; for(var i = 0; i < links.length; i++) { if(links[i].href.indexOf(‘#disqus_thread’) >= 0) { query += ‘url’ + i + ‘=’ + encodeURIComponent(links[i].href) + ‘&’; } } document.write(‘