Tuesday, January 29, 2008

New reCAPTCHA extension (1.1) for eZ Publish

In response to some good suggestions I've just released version 1.1 of the reCAPTCHA extension for versions 3 & 4 of eZ Publish. The main changes are:
  • Support for multiple/domain keys
  • Utilising the permissions/role system to implement by pass of the captcha
As a side effect of the latter, the admin user will not have to fill out captchas.

Download from:

Please let me know about your sites that are using the extension, either via comments here or on the contribution pages at eZ.

Tuesday, January 08, 2008

eZ Publish 3 version of reCAPTCHA extension

This morning I created a eZ 3.x version of the reCAPTCHA extension. The changes were pretty simple and included:
  • Modifying the return vales in the datatype to be constants
  • Made the method parameters references in the datatype
  • Removed any static/public/private method declarations
The eZ 3.x version can be downloaded at http://ez.no/developer/contribs/applications/recaptcha_ez3

Friday, January 04, 2008

reCAPTCHA for eZ Publish

The other day I came across a site that was using the reCAPTCHA CAPTCHA. I'd heard of the project but hadn't had time to investigate.

The reCAPTCHA project (of the School of Computer Science at Carnegie Mellon University) provides both text and audio CAPTCHAs via a web service. It uses words scanned from books in the Internet Archive that have failed to be recognised by OCR, so using this on your site is helping to digitalise those books. See http://recaptcha.net/learnmore.html for more info on how it works.

With the Christmas break and the fact that we've had an intense low hanging about for the duration (strong winds & rain) I thought I'd check it out and see how easily it could be integrated into eZ Publish.

Turns out it was pretty simple. I've created an extension with a reCAPTCHA datatype that can be used in both regular content class (for forums, comments etc.) and as a information collector (feedback forms etc.). The datatype doesn't store any information but utilises datatype validation methods to check the CAPTCHA and return a pass or fail.

It's an initial version and I've only tested on eZ4.0. Hopefully I'll be able to test on earlier versions in the coming days. Mapping of languages also needs looking at.

For those interested it can be downloaded at http://ez.no/developer/contribs/applications/recaptcha