About reCAPTCHA
==================
Over 60 million CAPTCHAs are solved every day by people around the world.
reCAPTCHA channels this human effort into helping to digitize books from the
Internet Archive. When you solve a reCAPTCHA, you help preserve literature by
deciphering a word that was not readable by computers.
reCAPTCHA is a project of the School of Computer Science at Carnegie Mellon
University.
From:
http://recaptcha.net/aboutus.html
Installation
==================
Follow these steps to add the reCAPTCHA module to your eZ publish installation:
1) Extract the archive into the /extension directory
2) Edit site.ini.append in /settings/override. Add the following to the file:
[ExtensionSettings]
ActiveExtensions[]=recaptcha
If you already have the [ExtensionSettings] block, just add the second line.
3) Visit
http://recaptcha.net/api/getkey to signup and get your own API keys
4) Edit extension/settings/recaptcha.ini.append.php and add your API keys
5) Clear Cache
Usage
==================
To use, simply add a reCAPTCHA attribute to your content class.
License
==================
This file may be distributed and/or modified under the terms of the "GNU
General Public License" version 2 as published by the Free Software Foundation
This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
The "GNU General Public License" (GPL) is available at
http://www.gnu.org/copyleft/gpl.html.
Comments
Instalation reCAPTCHA for begginer
Paweł Sornek
Monday 30 November 2009 8:34:09 pm
{attribute_edit_gui attribute=$object.data_map.recaptcha}to comment.tpl.When I try to add a comment, I see reCAPTCHA box, but independly what is written into this box, the comment is added. Could someone provide me sample of comment.tpl, or solution what to do to make it go?
Thanks and clarifications
Leif Arne Storset
Thursday 19 March 2009 8:29:05 pm
- It may be obvious to some, but to validate input you need to mark the reCAPTCHA attribute as an information collector.
-For the template operator to work, you will have to type {"anything"|recaptcha_get_html}; a simple {recaptcha_get_html} won't work, because it is registered as a template operator, not as a template function.
Comment captcha
Stefan de Bruijn
Monday 01 December 2008 11:07:17 pm
This can be done by making an override for comment.tpl in yoursiteAccss/override/templates/edit/comment.tpl (copy the original from base/override/templates/edit/comment.tpl)
Add to this template the line:
{attribute_edit_gui attribute=$object.data_map.recaptcha}
It doesn't work directly as described, because the comment.tpl only shows specific attributes and not all attributes from the comment class.
Selected theme won't display under IE
Sylvain JAUNE
Tuesday 05 August 2008 11:44:37 am
I found what's wrong in this javascript piece of code:
The "lang" end of line extra comma raises a javascript error.
Just remove it in the extensions design files:
- content/datatype/collect/recaptcha.tpl
- content/datatype/edit/recaptcha.tpl
and everything works fine now.
@Bruce
Josh Bair
Friday 01 August 2008 12:45:46 am
The only changes made after unzipping into extensions were setting PrivateKey and PublicKey in recaptcha.ini.append.php as well as adding the extension reference to site.ini.append.php.
Most of the site (including the template for the form) is held in another extension. Could this be the problem?
Comment captcha
Canoli Dubs
Tuesday 24 June 2008 12:13:10 am
This way a member would have to fill out a reCaptcha image in order for their comment to be processed. I've added the attribute to the 'User' class...and when a new user is created the Captcha image appears perfectly and works.
However, I add the attribute to my custom 'Comment' class the same exact way, but the reCaptcha does not even show at all.
Anyone know why this may be? Do I have to change something in the code perhaps? Thanks.
@Josh
Bruce Morrison
Monday 09 June 2008 8:26:57 am
Cheers
Bruce
Captcha Verification Error
Josh Bair
Friday 06 June 2008 11:49:30 pm
Missing or invalid input
- Verification: The reCAPTCHA wasn't entered correctly. Please try again.
Attribute:
- name: Verification
- identifier: verification
- type: reCAPTCHA
- required: Yes
- searchable: No
- collects information: Yes
- translation: No
Any ideas? I dug into the code and it looks like this response is coming directly from their API.
@Mickael
Bruce Morrison
Friday 22 February 2008 12:35:51 am
I've had a quick review of the tipafriend.php module view and unlike may of the other eZ components it's not extendible. A qiuck n dirty way to add a CAPTCHA is to modify the tipafriend.php as you suggested.
Cheers
Bruce
how to use with "tip a friend" function?
Mickael Robin
Thursday 21 February 2008 4:32:24 pm
and thanks to Bruce for this useful contrib'.
I implemented it very simply for the "feedback form" content class, but I don't know how to use it with the "Tipafriend" function...
Could it work with an override of tipafriend.tpl ? Or is it necessary to modifiy tipafriend.php in the kernel (which is not recommended...)???
A solution would be great to enable this viral function for anonymous user while preventing spam...
So thanks in advance for your help :-)
MikRob
@Bruce
Norman Leutner
Thursday 31 January 2008 11:31:28 am
thanks for the enhancement.
The site is a project of Patrick Kaiser from iolab Munich running under http://www.vierundzwanzig.de
reCAPTCHA will be used for anonymous comments and new glossary entry's.
New version 1.1
Bruce Morrison
Tuesday 29 January 2008 10:15:05 am
Thanks to Andrés excellent suggestion I've just released version 1.1 that allows you to set a assign a bypass_recaptcha policy via the roles system.
As a side effect the admin user (with the default role of access to everything) never has to fill out the captcha.
Cheers
Bruce
@Bruce
André R.
Wednesday 16 January 2008 10:02:16 am
$FunctionList['bypass_captcha'] = array();
would do, then all you need to do is check this access in your data type.
More advance access setup including adding class / section / node / subtree limitations, can be found in kernel/content/module.php.
@Norman
Bruce Morrison
Wednesday 16 January 2008 9:52:07 am
Thanks for the feedback. If you are able can you post the URL of the site using the extension? Actually anyone using the extension please post the sites.
I had thought of adding the enhancement functionality and I guess there are a couple of ways to do it.
1) Adding ini file settings - they would be global but pretty easy to implement
2) Adding an interface to the the datatype class edit view so the users and or groups can be chosen per content class - a bit of work to implement but could be interesting
I might have a look at adding option 1 in the coming days.
It's better for the reCAPTCHA project that more are actually filled in - that way there are more words digitalised...I wonder what happens when they run out of words! :)
Cheers
Bruce
Great contribution
Norman Leutner
Friday 11 January 2008 9:19:37 pm
Just installed it on 4.0.0 installation within a few minutes.
Everything works fine.
Just one enhancement:
Extending the validation process so that it possible to bypass reCAPTURE
for specified, trusted user groups like 'administators'.
@sunny
Björn Dieding@xrow.de
Monday 07 January 2008 5:14:47 pm
I have doubts that many can help you here with ASP .NET related questions. We are more or less PHP only here on ez.no
ReCaptcha with ASP.NET
sunny popali
Saturday 05 January 2008 9:10:48 am
Can you please help me regarding adding captcha control to asp.net create user wizard , i have posted detail info on Captcha forum . http://groups.google.com/group/re...rowse_thread/thread/2703cffe98d720e7
Thanks in advance,
Many Regards,
-Sunny.