Révision be58a50c
Ajouté par Assos Assos il y a environ 7 ans
drupal7/sites/all/modules/recaptcha/README.txt | ||
---|---|---|
6 | 6 |
more information on what reCAPTCHA is, please visit: |
7 | 7 |
https://www.google.com/recaptcha |
8 | 8 |
|
9 |
This version of the module uses the new Google No CAPTCHA reCAPTCHA API. |
|
9 | 10 |
|
10 | 11 |
DEPENDENCIES |
11 | 12 |
------------ |
12 | 13 |
|
13 |
* reCAPTCHA depends on the CAPTCHA module. |
|
14 |
* reCAPTCHA module depends on the CAPTCHA module.
|
|
14 | 15 |
https://drupal.org/project/captcha |
15 |
* Some people have found that they also need to use jQuery Update module. |
|
16 |
https://drupal.org/project/jquery_update |
|
17 | 16 |
|
18 | 17 |
|
19 | 18 |
CONFIGURATION |
... | ... | |
26 | 25 |
administration page available at: |
27 | 26 |
admin/config/people/captcha/recaptcha |
28 | 27 |
|
29 |
3. Register for a public and private reCAPTCHA key at:
|
|
28 |
3. Register your web site at
|
|
30 | 29 |
https://www.google.com/recaptcha/admin/create |
31 | 30 |
|
32 |
4. Input the keys into the reCAPTCHA settings. The rest of |
|
33 |
the settings should be fine as their defaults. |
|
31 |
4. Input the site and private keys into the reCAPTCHA settings. |
|
34 | 32 |
|
35 | 33 |
5. Visit the Captcha administration page and set where you |
36 | 34 |
want the reCAPTCHA form to be presented: |
37 | 35 |
admin/config/people/captcha |
38 | 36 |
|
37 |
KNOWN ISSUES |
|
38 |
------------ |
|
39 | 39 |
|
40 |
MAILHIDE INPUT FORMAT |
|
41 |
--------------------- |
|
42 |
|
|
43 |
The reCAPTCHA module also comes with an input format to |
|
44 |
protect email addresses. This, of course, is optional to |
|
45 |
use and is only there if you want it. The following is how |
|
46 |
you use that input filter: |
|
47 |
|
|
48 |
1. Enable the reCAPTCHA Mailhide module: |
|
49 |
admin/modules |
|
50 |
|
|
51 |
2. Head over to your text format settings: |
|
52 |
admin/config/content/formats |
|
53 |
|
|
54 |
3. Edit your default input format and add the reCAPTCHA |
|
55 |
Mailhide filter. |
|
56 |
|
|
57 |
4. Click on the Configure tab and put in a public and |
|
58 |
private Mailhide key obtained from: |
|
59 |
https://www.google.com/recaptcha/mailhide/apikey |
|
60 |
|
|
61 |
5. Use the Rearrange tab to rearrange the weight of the |
|
62 |
filter depending on what filters already exist. Make |
|
63 |
sure it is before the URL Filter. |
|
64 |
|
|
65 |
Note: You will require the installation of the mcrypt |
|
66 |
PHP module in your web server for Mailhide to work: |
|
67 |
http://php.net/manual/en/ref.mcrypt.php |
|
68 |
|
|
69 |
|
|
70 |
MULTI-DOMAIN SUPPORT |
|
71 |
-------------------- |
|
72 |
|
|
73 |
Since reCAPTCHA uses API keys that are unique to each |
|
74 |
domain, if you're using a multi-domain system using the |
|
75 |
same database, the reCAPTCHA module won't work when |
|
76 |
querying the reCAPTCHA web service. If you put the |
|
77 |
following into your sites/mysite/settings.php file for |
|
78 |
each domain, it will override the API key values and make |
|
79 |
it so multi-domain systems are capable. |
|
80 |
|
|
81 |
$conf = array( |
|
82 |
'recaptcha_public_key' => 'my other public key', |
|
83 |
'recaptcha_private_key' => 'my other private key', |
|
84 |
); |
|
85 |
|
|
86 |
|
|
87 |
CUSTOM RECAPTCHA THEME |
|
88 |
---------------------- |
|
89 |
|
|
90 |
You can create a custom reCAPTCHA theme widget by setting |
|
91 |
the theme of the reCAPTCHA form to "custom" in the |
|
92 |
reCAPTCHA administration page. This will output a custom |
|
93 |
form that is themeable through the theme function: |
|
94 |
theme_recaptcha_custom_widget(). |
|
95 |
|
|
96 |
If you don't implement this function, it is still quite |
|
97 |
easily customizable through manipulating the CSS. |
|
98 |
|
|
99 |
For more information on this, visit: |
|
100 |
https://developers.google.com/recaptcha/docs/customization |
|
40 |
- The PHP setting 'arg_separator.output' set by Drupal core causes conflicts |
|
41 |
with the Google reCAPTCHA library. This setting is and was never used by |
|
42 |
Drupal core, but still exist in "settings.php" and need to be removed. |
|
43 |
|
|
44 |
See https://www.drupal.org/node/2476237 for more information. |
|
101 | 45 |
|
46 |
- cURL requests fail because of outdated root certificate. The reCAPTCHA module |
|
47 |
may not able to connect to Google servers and fails to verify the answer. |
|
48 |
|
|
49 |
See https://www.drupal.org/node/2481341 for more information. |
|
102 | 50 |
|
103 | 51 |
THANK YOU |
104 | 52 |
--------- |
Formats disponibles : Unified diff
Weekly update of contrib modules