Native support for reCaptcha

Author Message

Alain Sahli

Sunday 28 November 2010 5:57:59 am

Hello

In the anouncement of the new eZ Publish 4.4 release I read : Your User Generated Content gets a helping hand with the addition of native support for reCaptcha, the Google-based free captcha service on the web, which helps prevent your website from being infested by bot spam.

I installed this new version but I can't find how to proceed to add a reCaptcha to a feedback form. Could somebody explain me how it works ?

Thanks.

http://www.wess.ch
eZ Publish Certified developer : http://auth.ez.no/certification/verify/272583

Daisy Radix

Sunday 28 November 2010 7:21:32 am

Hello,

You can set reCaptcha parameters in ezcomments.ini

I think that in your [FormSettings] the line AvailableFields[]=recaptcha is commented.

More documentation : http://doc.ez.no/Extensions/eZ-Comments/Setup-and-user-guide-1.1/ezcomments.ini-settings

eZ Publish certified developper :http://auth.ez.no/certification/verify/378142

Alain Sahli

Sunday 28 November 2010 11:50:22 pm

Hello Daisy,

Thanks for your answer, but this is only for the eZComments extension. I thought that a reCaptcha datatype was created which can be used in any type of class.

For example, on my website I have an offer request form and I wanted to add a reCaptcha. So ideally I edit my class and add a reCaptcha attribute :-)

http://www.wess.ch
eZ Publish Certified developer : http://auth.ez.no/certification/verify/272583

Nicolas Pastorino

Monday 29 November 2010 1:23:23 am

Hello Alain,

You should a look at Bruce's excellent recaptcha extension : http://projects.ez.no/recaptcha . It is used on share.ez.no

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Alain Sahli

Monday 29 November 2010 2:10:00 am

Hello Nicolas,

I used this extension and it works fine ! Thanks.

http://www.wess.ch
eZ Publish Certified developer : http://auth.ez.no/certification/verify/272583

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 02:07:12
Script start
Timing: Jan 18 2025 02:07:12
Module start 'layout'
Timing: Jan 18 2025 02:07:12
Module start 'content'
Timing: Jan 18 2025 02:07:13
Module end 'content'
Timing: Jan 18 2025 02:07:13
Script end

Main resources:

Total runtime0.9274 sec
Peak memory usage4,096.0000 KB
Database Queries66

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 589.3359152.6250
Module start 'layout' 0.00500.0034 741.960939.4531
Module start 'content' 0.00840.9174 781.4141603.0313
Module end 'content' 0.92580.0016 1,384.445316.1641
Script end 0.9274  1,400.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3577160.0002
Check MTime0.00150.1591160.0001
Mysql Total
Database connection0.00060.069310.0006
Mysqli_queries0.870393.8387660.0132
Looping result0.00060.0695640.0000
Template Total0.897896.820.4489
Template load0.00220.239020.0011
Template processing0.895596.561520.4478
Template load and register function0.00010.011810.0001
states
state_id_array0.00090.096110.0009
state_identifier_array0.00080.082620.0004
Override
Cache load0.00180.1974300.0001
Sytem overhead
Fetch class attribute can translate value0.00080.081930.0003
Fetch class attribute name0.00160.169080.0002
XML
Image XML parsing0.00130.145130.0004
class_abstraction
Instantiating content class attribute0.00000.0020100.0000
General
dbfile0.00100.1064280.0000
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs