forked from brucem/ezpublish-recaptcha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
68 lines (46 loc) · 2.23 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
reCAPTCHA Module
===========================
reCAPTCHA is an extension that allows the integration of the reCAPTCHA
anti-spam CAPTCHA service in your eZ publish content objects. reCAPTCHA
provides a reCAPTCHA datatype that can be used in editing content and
information collection. reCAPTCHA provides both text and audio CAPTCHAs.
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: https://developers.google.com/recaptcha/
Original author: Bruce Morrison
Fork author: [email protected]
Aplia Fork
----------
Modified version of the original reCAPTCHA module. Uses reCAPTCHA v2 to verify InformationCollecting content objects
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 https://www.google.com/recaptcha/admin to signup and get your own API keys
4) Edit project.ini and add your API keys
[Site]
RecaptchaSecret=your secret key
RecaptchaSiteKey=your public key
5) Clear Cache
Usage
----------------
To use, simply add a reCAPTCHA attribute and InformationCollection attribute to your content class and render the reCaptcha HTML by calling recaptcha_get_html() in your template.
recaptcha_get_html($key = null)
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.