# About DB-Team Invisible reCAPTCHA (Google Invisible reCAPTCHA integration)
Project page: https://github.com/dbteam/dbteaminvisiblerecaptcha, (*1)
This extension is based on eZ Human CAPTCHA by Piotrek Karas - SELF s.c., (*2)
## Features
Protect your forms using Google Invisible reCAPTCHA from BOTs
for eZ Publiesh 4 / eZ Publish 5 legacy
## Requirements
- PHP ^5.3.10 (5.3.10 <= PHP < 6) (with PHP 7.x should it work too without errors)
- eZ Publish ^4.4, or ^5.x (legacy)
- jQuery Core 1.7.2 or newer
https://code.jquery.com/jquery/
- Google reCAPTCHA site key and secret (each site asscess can have own pair)
and put it into invisible_re_captcha.ini
, see/read file:
<thisExtension>/settings/invisible_re_captcha.ini
https://www.google.com/recaptcha/admin
Downloads
Suggested the newest version, example: "^1.4.1" (composer notation) (see Git tags).
- Git: https://github.com/dbteam/dbteaminvisiblerecaptcha
- packagist.org: https://packagist.org/packages/dbteam/dbteaminvisiblerecaptcha
- projects.ez.no: http://projects.ez.no/dbteaminvisiblerecaptcha
## Installation and configuration
Enable extension in, (*3)
settings/override/site.ini.append.php
, (*4)
[ExtensionSettings]
...
ActiveExtensions[]=dbteaminvisiblerecaptcha
...
INI:
invisible_re_captcha.ini
, see/read file:
<thisExtension>/settings/invisible_re_captcha.ini
, (*5)
Do NOT change extension name., (*6)
Regenerate autoloads, clear cache., (*7)
In terminal:, (*8)
<ezpublish-root-dir>$ php bin/php/ezpgenerateautoloads.php
<ezpublish-root-dir>$ php bin/php/ezcache.php --clear-all
Add content attribute DB-Team Invisible reCAPTCHA
to your content
class and check Information collector
on that attribute.
Required
is not necessary., (*9)
## TODO / Known issues
## Technical notes
In file invisible-recaptcha-error.log
are stored supported issues,
suspected BOT IPs
var/log/invisible-recaptcha-error.log
, (*10)
If you need other, better JS form validation then just override dbTeamInvisibleReCAPTCHAService.validate()
.
It is in global scope.
For more info read annotation of dbTeamInvisibleReCAPTCHAService.validate
in invisibleReCAPTCHATool.js
file., (*11)
PS: Default webbrowser validation is disabled i must do that, i can't keep it with Google reCAPTCHA JS.
Maybe someone know how to keep it?, (*12)
Example:, (*13)
Authors
License
Copyright (c) 2017 DB-Team. This repository is released under the GNU GPL v2.0 license., (*14)