![]() |
|
Mod Options |
![]() |
|||||||||||
reCAPTCHA v2 Human Verification
![]() Developer Last Online: Sep 2020 ![]() ![]() ![]()
(Note: This mod was renamed. The original name was "New reCAPTCHA Human Verification")
What is it? ---------------------------- This mod adds reCAPTCHA v2 as an option in the Human Verification Manager. Note: The original reCAPTCHA used default keys if you didn't enter your own, so you could leave the key fields blank. This version requires you to have your own keys for your domain. To create them, go to this page (click on the "Get reCAPTCHA" button). It may take a short time after creating the keys before they will work, so if you get "ERROR: Invalid domain for site key", wait a while and try again. vb3 version is here: http://www.vbulletin.org/forum/showthread.php?t=315964 Installation: ---------------------------- 1) Upload the file in the "upload" folder to your server. 2) Import the product XML file from the Product Manager. 3) If you don't already have keys, go to this page and create keys for your domain. (If you already have keys you can get them from that page as well). 4) Go to Settings > Human Verification Manager, select "New reCAPTCHA" for the Verification Library, and click Save. 5) Enter your keys on the options page, and select the light or dark widget as desired (apparently white and black are the only options at this time). You could select "Audio" to default to audio instead of image for the challenge, but the widget seems to have a bug in it at the moment so I recommend leaving it set to "image". Click Save when you're done selecting options. 6) You can check the configuration and do a test by clicking on "Click here to test connection" which appears under the description in the Human Verification Manager. 7) Do a test registration (or other action that requires hv) to test that your keys are entered correctly and everything is working. 8) If you are upgrading from version 0.9, you can remove the file includes/class_humanverify_newrecaptcha.php (the one without the third underscore) from your server. History: ---------------------------- 1.0 (Feb 22, 2015)
0.9 (Dec 11, 2014)
Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
The following members like this post: Terminal-Access, nz17, josner, rodriiverduguez, RipperJack and 28 others.
|
#151
|
|||
|
|||
![]()
Awesome. Thank you.
__________________
Best regards, Jeremy ![]() No members have liked this post.
|
#152
|
||||
|
||||
Actually you can do this yourself if you don't want to wait. Edit template humanverify_new_recapctha, and near the end is a <script> line. Add the part in red:
or if you want to hard code a language, you can put the code in place of {vb:stylevar languagecode}. The language codes are here: https://developers.google.com/recaptcha/docs/language No members have liked this post.
|
#153
|
|||
|
|||
kh99, I started trying to code this in myself and I found this and you made my life so much easier. However, now I have users complaining that after 2min its timing out. I've looked everywhere and I can't find a way to extend the timeout. It takes more than 2 min to fill the Application, and everyone seems to click the recatpcha right away. So after the 2 min, and they click submit. They have to refill the application again. Any thoughts on this?
Awesome job btw. Thank you for your time to code and post this. No members have liked this post.
|
#154
|
|||
|
|||
I haven't seen any option to change the timeout. But I have seen mention on the recaptcha forum of people who wanted to detect the timeout and handle it on the page with javascript. I think there might be a javascript callback function that can be set up to be called if it times out. You can also check the g-recaptcha-repsonse value when the form is submitted to check if it's been filled out.
To do that stuff I think what you have to do is use the 'explicit rendering' option. This mod doesn't use that, but you might be able to use it with this mod just by editing the template. I was thinking of making it an option for the next version, but even if I do I don't know if I'll get around to doing anything like handling a timed out widget. No members have liked this post.
|
#155
|
|||
|
|||
Thank you for such a quick response. So far editing the template and moving the human verification part to the forum rules, editing the human verification template to just show the recaptcha box has been the best solution for me.
Again, Thank you for all you have done here. It is very much appreciated. No members have liked this post.
|
#156
|
|||
|
|||
I'm struggling a bit with this. I installed the mod and got new keys and can now see the "I'm not a robot" box but no further verification tests. Looking at the Google site, it states
Site key Paste this snippet before the closing </head> tag on your HTML template: <script src='https://www.google.com/recaptcha/api.js'></script> Paste this snippet at the end of the <form> where you want the reCAPTCHA widget to appear: <div class="g-recaptcha" data-sitekey="xxxxxxxxxxxxxxxxxxxxxxxxxx"></div> Is this necessary with this mod and if so, which files need editing? Thanks. No members have liked this post.
|
#157
|
|||
|
|||
There won't necessarily be any further tests. That's part of what the new version does. It only presents a test if it decides that you might not be a human. I've found that if I continue to test repeatedly it will eventually start doing another test.
For this mod you only need to enter the keys in the admincp. They are inserted into the html for you. Have you tried the "Click here to test connection" link? If everything is green then that means you've got everything set up correctly. No members have liked this post.
|
#158
|
|||
|
|||
Thanks for your reply. Yes, I get the green light on the "test connection" link and all seems to be in order but when I created a test account, it just asked me to confirm that I was human, which didn't seem much of a verification process.
Eddie No members have liked this post.
|
#159
|
||||
|
||||
Originally Posted by kh99
The conflict is due to vBSocial 10 allowing people to reset their password via the header bar and it includes human verification - to fix, make an edit to the template vbsocial_notification_guest_account_tab. You'll want to replace everything in it with the following:![]()
All this will do is remove the lost password form in the header on register.php (but not anywhere else), which fixes human verification.
__________________
Professional web developer & sysadmin. Former bad man.
The following members like this post: kh99
|
#160
|
||||
|
||||
Has anyone else had issues with this not working in IE? Is it a google thing or a bug with the plugin?
__________________
No members have liked this post.
|
#161
|
|||
|
|||
I'm confused with step 2:
2) Import the product XML file from the Product Manager. Do I install the file (product-kh99_new_recaptcha_v1_0) in the "Includes" directory as well? Thanks, Carl No members have liked this post.
|
#162
|
|||
|
|||
Sorry for the very late reply, but I have seen mention on the recaptcha google forum about problems with IE, but I haven't checked it out myself. I think the widget is still in development, so problems come and go and don't have anything to do with this mod directly.
No members have liked this post.
|
#163
|
|||
|
|||
No, you just need to put the xml file somewhere on your local computer, then when you use the product manager you will select that file to import.
No members have liked this post.
|
#164
|
|||
|
|||
I'm having an issue where it fails to find the php file in forums/includes/class_humanverify_new_recaptcha.php'. with the error Did you forget to upload?
No members have liked this post.
|
#165
|
|||
|
|||
Sorry for the delay, I was away for part of the week. Anyway, are you still having that problem? If so it means the file is not in the right place, or else maybe the owner or permissions is not the same as the other php files.
No members have liked this post.
|
![]() |
Tags |
recaptcha |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 01:44.