Pagina 1 van 1

reCAPTCHA van Google

Geplaatst: 25 feb 2015, 17:40
door Abraham54
Ik heb me bij reCAPTCHA geregistreerd.

Alle gegevens gekregen, ik heb helemaal geen flauw idee hoe dit alles nu in phpBB te regelen!


a) Site key
Use this in the HTML code your site serves to users.

b) Secret key
Use this for communication between your site and Google. Be sure to keep it a secret.

c) Step1 - Client side integration
Paste this snippet before the closing </head> tag on your HTML template:<script src='https://www.google.com/recaptcha/api.js'></script>

d) Step2 - Server side integration
Paste this snippet at the end of the <form> where you want the reCAPTCHA widget to appear:<div class="g-recaptcha" data-sitekey="6...................................................."></div>

e) When your users submit the form where you integrated reCAPTCHA, you'll get as part of the payload a string with the name "g-recaptcha-response".

In order to check whether Google has verified that user, send a GET request with these parameters:
URL: https://www.google.com/recaptcha/api/siteverify

secret(required) 6.....................................................
response(required) The value of 'g-recaptcha-response'.
remoteip The end user's ip address.


Ik heb wel dit gevonden: https://www.phpbb.com/community/viewtop ... &t=2295956
en https://tracker.phpbb.com/browse/PHPBB3-13580.