View Full Version : Anti-Spam Options - reCAPTCHA v2 Human Verification
(Note: This mod was renamed. The original name was "New reCAPTCHA Human Verification")
What is it?
----------------------------
This mod adds reCAPTCHA v2 (http://www.google.com/recaptcha) 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 (www.google.com/recaptcha) (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: https://vborg.vbsupport.ru/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 (www.google.com/recaptcha) 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)
Cached template (required renaming the uploaded file from
class_humanverify_newrecaptcha.php to class_humanverify_new_recaptcha.php)
Removed default keys (which didn't work anyway)
Removed trademark symbols
Changed execution order of plugins from 5 to 4, to make sure this product
works with another HV add-on that has a bug.
If "New reCAPTCHA" is selected when this mod is uninstalled, the hv library
is switched to 'disabled'.
Added a test option to print out more information about verification failures
0.9 (Dec 11, 2014)
Initial Release
The zip is missing the upload folder.
The zip is missing the upload folder.
Yeah, sorry, I just replaced the zip.
Just tested and it seems to be working fine.
Thanks.
ozzy47
12-11-2014, 01:25 PM
Nice job Kevin, I'll have to check this out later today. :)
Firyou
12-11-2014, 03:56 PM
I was hoping we would get access to those spiffy new recaptchas on vbulletin. Thanks for this :)
bridge2heyday
12-11-2014, 04:11 PM
Thanks for the mod , I was going to start it :D
Skyrider
12-11-2014, 05:02 PM
Will install this! Though an offtopic question. When I wish to register on google reCAPTCHA page on:
https://www.google.com/recaptcha/admin#list
It's showing up the page in german. While I'm dutch and the windows language is set to English. Gmail shows up in English just fine. Any idea what's up with that?
CAG CheechDogg
12-11-2014, 07:14 PM
Good stuff kh99 ... thank you ! works great !!!!!
Phillip
12-12-2014, 03:44 AM
Awesome work, kh99. :) Also installed "Marked as Installed" as well.
tanzeelniazi
12-12-2014, 08:55 AM
any idea using recaptcha for login ???
why not for login use
I don't know why they decided not to make "login" one of the actions you could select for human verification. I could see requiring it after one or more "strikes", so that it would make it more difficult to guess passwords. In any case I'm not planning to add it to this mod.
ozzy47
12-12-2014, 09:25 AM
If I had to do a recaptcha every time I logged into a site, I would leave. :p
CAG CheechDogg
12-12-2014, 10:50 AM
That would suck lol ... oh Man I can only imagine that lol hahaha !!!
As usual, I think it depends on circumstances. If this site decided to implement reCaptcha on login to fight the password guessing attacks that we get periodically, it wouldn't bother me at all. The fact is that I log in using my password so infrequently that remembering my password is much harder than an image verification. And the content here is valuable so I'd deal with it. I'm not sure that it would be important enough for the average site to have, but maybe some admins have their reasons.
sadiq6210
12-13-2014, 01:23 PM
Thanks, installed and rated :up: It is working perfect
If I had to do a recaptcha every time I logged into a site, I would leave. :p
Sure I will do the same.
Nobody want to do recaptcha every time just to log in !
Gadget_Guy
12-17-2014, 03:28 PM
Can you confirm that this is implemented properly?
I ask because stats for the use of recaptcha are not being fed back to google.
The recaptcha is showing up as the new version, however, when I go to my recaptcha account, there are no stats in terms of use of it.
Could it be the way you coded the server side integration?
D.
RippedCTO
12-17-2014, 03:29 PM
i just installed v.9 and set up the keys, but when I go to the register screen it is completely blank. Any ideas?
Can you confirm that this is implemented properly?
I ask because stats for the use of recaptcha are not being fed back to google.
The recaptcha is showing up as the new version, however, when I go to my recaptcha account, there are no stats in terms of use of it.
Could it be the way you coded the server side integration?
D.
I'm not sure how to answer that. I followed the (rather sparse) instructions from google and it seems to be able to tell the difference between valid input and invalid input, and when I tried changing some characters in my keys it complianed about the keys being invalid, so it seems to work. I don't get any stats either but I only created keys to test with and it says I don't have enough traffic to show stats, so I don't know. I suppose it's possible there's a problem with my implementation.
What page are you going to to look at the stats? Are you using keys from the older version? They are supposed to work with the new version but maybe the stats aren't being totaled in the same place as they were for the previous version.
i just installed v.9 and set up the keys, but when I go to the register screen it is completely blank. Any ideas?
You're saying your entire registration page is blank. I guess something's causing a php error but I don't know what. Do you have access to your server and php error logs? Maybe you can look there to see if there's any more info.
i just installed v.9 and set up the keys, but when I go to the register screen it is completely blank. Any ideas?
Oh, I have an idea - are you sure you uploaded the class_humanverify_newrecaptcha.php file to the right place (it should be in the includes folder). If that's missing it would cause a php error and you might end up with a blank page.
Gadget_Guy
12-17-2014, 03:42 PM
I'm not sure how to answer that. I followed the (rather sparse) instructions from google and it seems to be able to tell the difference between valid input and invalid input, and when I tried changing some characters in my keys it complianed about the keys being invalid, so it seems to work. I don't get any stats either but I only created keys to test with and it says I don't have enough traffic to show stats, so I don't know. I suppose it's possible there's a problem with my implementation.
What page are you going to to look at the stats? Are you using keys from the older version? They are supposed to work with the new version but maybe the stats aren't being totaled in the same place as they were for the previous version.
It could be that this is too new and they haven't fully flushed it out on their side either.
It is working, that I can confirm, I was just interested in seeing some stats since implementing it.
FWIW... I did generate new keys when I put this in place.
D.
It could be that this is too new and they haven't fully flushed it out on their side either.
It is working, that I can confirm, I was just interested in seeing some stats since implementing it.
FWIW... I did generate new keys when I put this in place.
D.
Yeah, I guess all I can say is that I'm pretty confident that I did it the way it's supposed to be done. To be honest most of it was copied from the vb code for the old version, and most of the problem I had was fighting the html to make it look right (I'm not really an html person).
I've been monitoring the recaptcha forum: https://groups.google.com/forum/#!forum/recaptcha and it does sound like it's not completely in a stable state, so hopefully stats will be along later.
I have this on 5 sites and I've just looked and only two were showing stats, I notice on the ones that are showing stats both have the "get alerts about this site" box ticked at the bottom of the analytics page, I've enabled it on the others and will see tomorrow if they start getting stats.
smeaglegolum
12-18-2014, 09:11 AM
Installed following the instructions but when the forum is reloaded, it throws up a blank page. When reCaptcha disabled, page loads normally. Any one have such issues?.
Installed following the instructions but when the forum is reloaded, it throws up a blank page. When reCaptcha disabled, page loads normally. Any one have such issues?.
Are you sure you uploaded the file class_humanverify_newrecatcha.php to your includes folder?
RippedCTO
12-18-2014, 11:06 PM
Oh, I have an idea - are you sure you uploaded the class_humanverify_newrecaptcha.php file to the right place (it should be in the includes folder). If that's missing it would cause a php error and you might end up with a blank page.
Weird. I know I copied the directory over, but that file seems to have vanished.
So I copied it over and now I get a 500. If you can tell me where to look in the logs, I'd research further.
Thanks.
There may or may not be more information in the web server or php error logs, but I can't tell you where to look for those.
Did the previous version of reCaptcha work for you?
RippedCTO
12-19-2014, 03:49 PM
There may or may not be more information in the web server or php error logs, but I can't tell you where to look for those.
Did the previous version of reCaptcha work for you?
n00b mistake. I uploaded the file from /upload/includes to [app_root]/upload/includes. It needs to get uploaded to [app_root]/includes.
Working for me now. Thanks so much!
cjnettleingham
12-20-2014, 03:43 PM
I really like this mod! thank you very much
CharlieDelta
12-26-2014, 09:05 PM
So far this has resulted in 0 spam registrations since installing. Works great!
ozzy47
12-26-2014, 11:03 PM
So far this has resulted in 0 spam registrations since installing. Works great!
Do you have any other spam blocking stuff installed, like another mod, questions etc?
Gadget_Guy
12-27-2014, 05:22 AM
It's working great on my site too.
Nothing else installed and I haven't had a spammer since putting it in.
I know it is just a matter of time before it is compromised like it has in the past, but so far so good.
D.
CharlieDelta
12-27-2014, 01:28 PM
Do you have any other spam blocking stuff installed, like another mod, questions etc?
I have spam o matic installed and was using my own question and answer and was having at least 2 spam registrations every day. I installed this mod and dropped my Q&A and my registrations have been zero since.
I hope it is a very long time before it gets compromised.
ozzy47
12-27-2014, 01:34 PM
So you did not test it with SOM disabled then?
Skyrider
12-27-2014, 09:28 PM
Even with this installed, I'm afraid bots still can go through. I figured seeing it's google, it would make it more difficult for the bots to register. But bots can be programmed, I Just saw a spambot post today on my forums.
ozzy47
12-28-2014, 12:35 AM
And that was with this installed? What other forms of spam protection are you using?
Skyrider
12-28-2014, 07:59 AM
And that was with this installed? What other forms of spam protection are you using?
The only other thing I have installed is the vsa forum rules (to accept the rules at the registration page) and the coppa age setting.
ozzy47
12-28-2014, 08:55 AM
It's possible they were human spammers.
I would suggest reading this, and using the mods suggested as well, The era of Big Spam is over (http://ozzmodz.com/showthread.php/506-The-Era-Of-Big-Spam-Is-Over)
ozzy47
12-30-2014, 09:52 AM
No this will not work in vB5, and i doubt you could make it work in vB5 at all.
ramesh_umk3
12-30-2014, 12:44 PM
strange this mod is not working on my board .. When i try to select new captcha it doesn't show up any Verification Options..
this mod doesnt works with vBulletin 4.2.2 Patch Level 1?
strange this mod is not working on my board .. When i try to select new captcha it doesn't show up any Verification Options..
this mod doesnt works with vBulletin 4.2.2 Patch Level 1?
When you say " it doesn't show up any Verification Options" what do you mean exactly, is the area at the bottom blank?
Did you select the "new recaptcha" radio button, and then press "Save"? The options won't show up until you press save (I think that detail was left out of the original instructions, and maybe the readme).
If you did, then I'm not sure what's wrong, but it definitely does work with vb4.2.2 patch level 1, because that's what I happened to have installed as a test forum when I created this mod.
ramesh_umk3
12-30-2014, 04:16 PM
Yep option were we enter api key block is missing whatever i do it doesn't show up.
But just for checking when i select reCAPTCHA i see API KEY Options good without any problem but not for NEW reCAPTCHA
I see you have a couple of other add-on hv types (funcaptcha and keycaptcha). Can you try disabling those products and see if it makes any difference?
Yep option were we enter api key block is missing whatever i do it doesn't show up.
But just for checking when i select reCAPTCHA i see API KEY Options good without any problem but not for NEW reCAPTCHA
Actually, the problem is FunCaptcha. It returns from one of the plugins, which stops other plugins from running. You can fix this either by disabling the funcaptcha product, or else you can go to the Plugin Manager, edit the "Show FunCaptcha options" plugin, and change the execution order to something higher than 5 (like 10 for example).
ETA: if you go with the second option above, I found that you have to change the execution order of both plugins. Also, I've sent Funcaptcha a PM about this problem, but I doubt it's important enough for them to do another release just to fix it.
Master Of Unive
12-30-2014, 10:51 PM
It has been nice, all the spammers are disappeared suddenly.
I.G.O.T.A.
12-31-2014, 12:29 AM
Installed on 5 sites and working correctly. :)
ozzy47
12-31-2014, 01:53 AM
It has been nice, all the spammers are disappeared suddenly.
Installed on 5 sites and working correctly. :)
Do either of you have any other forms of spam protection in place?
Alibass
12-31-2014, 02:12 AM
@ozzy47
I'm using this mod, kh99 SS, bop5 RR, and the latest one you released back in September. This is all I am using on my new site and between all of them they have kept the bots from registering.
ozzy47
12-31-2014, 02:27 AM
Cool, I thought you might be using more than just this.
Master Of Unive
12-31-2014, 02:51 AM
Do either of you have any other forms of spam protection in place?
Not exactly, but I do use a combination of recaptcha and question verification.
The question verification is mainly used to prevent non-native spammers.
ozzy47
12-31-2014, 02:54 AM
Well then that is why you probably had spammers getting through before, Q & A is not enough to stop them. :)
Hopefully this will work for a good amount of time.
Master Of Unive
12-31-2014, 03:09 AM
Well then that is why you probably had spammers getting through before, Q & A is not enough to stop them. :)
Hopefully this will work for a good amount of time.
Yeah but I'm still confused. My questions are really hard, they required you to have massive knowledge to be able to answer, even Google cannot help you for all. But bots did get through all the time.
I think most of them are human spammers but not so sure whether it is a system's bug.
ozzy47
12-31-2014, 03:20 AM
Well programs such as XRumer (http://en.wikipedia.org/wiki/XRumer) have defeated most forms of Q & A as well as most forms of catcha.
That is why i always recommend the spam mods in this thread, http://ozzmodz.com/showthread.php/506-The-Era-Of-Big-Spam-Is-Over
I might add this to the list, once the track record keeps on the proven pace. :)
ramesh_umk3
12-31-2014, 06:07 AM
Your Right brother :D ! After disabling funcaptcha and keycaptcha only your mod is working bro.
But your mod is worthy cause its ad free and easy interface :D
Thanks
ozzy47
12-31-2014, 08:46 AM
Well I ended up installing this, so we will have to wit and see how it goes.
I.G.O.T.A.
12-31-2014, 02:36 PM
Do either of you have any other forms of spam protection in place?
OH YES, lol.
ozzy47
12-31-2014, 03:37 PM
Cool, thanks for the reply. :)
DarkTinman
01-02-2015, 09:38 AM
Thank you! Works like a charm.
I am a bit new to vbulletin, meaning I have only used it for about 3 months. The part of the super simple guide that I got a bit confused on was the import function.
My only thought is if you could make it more clear about the import function. I had never done a product import and accidentally didn't read into your import XML file very well. Even something simple as saying "Use the product import at the bottom left of your admincp" or something like would help.
Anyway, thank you so much for this. It looks like it works and I am hoping I can avoid having 500 bots register each week this time :)
ozzy47
01-02-2015, 09:51 AM
Thank you! Works like a charm.
I am a bit new to vbulletin, meaning I have only used it for about 3 months. The part of the super simple guide that I got a bit confused on was the import function.
My only thought is if you could make it more clear about the import function. I had never done a product import and accidentally didn't read into your import XML file very well. Even something simple as saying "Use the product import at the bottom left of your admincp" or something like would help.
Anyway, thank you so much for this. It looks like it works and I am hoping I can avoid having 500 bots register each week this time :)
Reading this article should give you a better idea on how to add various mods to your site, www.vbulletin.org/forum/showthread.php?t=201864
My only thought is if you could make it more clear about the import function. I had never done a product import and accidentally didn't read into your import XML file very well. Even something simple as saying "Use the product import at the bottom left of your admincp" or something like would help.
Sorry about that. As I'm sure you realize, most members know that part already. But I guess it wouldn't hurt to use a few more words for those who don't. In any case, you might want to check out the online vbulletin manual that's available on vbulletin.com (in the "support" section). It has some instructions for things like that.
I.G.O.T.A.
01-03-2015, 05:53 PM
Cool, thanks for the reply. :)
Of course.
RichieBoy67
01-05-2015, 10:03 AM
Make sure you guys use a new key for each site. The global keys do not work.
Make sure you guys use a new key for each site. The global keys do not work.
Yes, and I had actually removed them from the code at one point but they somehow found their way back in to the release.
RichieBoy67
01-05-2015, 11:41 AM
Yes, and I had actually removed them from the code at one point but they somehow found their way back in to the release.
lol That is google for ya bro!
This is a great mod! Thanks for doing it! :up:
phriek
01-05-2015, 04:11 PM
Hi together,
i really would like to use this addon, but i have a general problem enabling these security features: i get the error "reCAPTCHA™ could not be verified due to server issues. Please try again later.".
its the same when using the already implemented, old recaptcha or the image-verifikation, which says that the letters are not typed in correctly. does someone have an idea how to solve this?
RichieBoy67
01-05-2015, 06:09 PM
Hi together,
i really would like to use this addon, but i have a general problem enabling these security features: i get the error "reCAPTCHA™ could not be verified due to server issues. Please try again later.".
its the same when using the already implemented, old recaptcha or the image-verifikation, which says that the letters are not typed in correctly. does someone have an idea how to solve this?
You tried this new one and got that same error?
Check your server logs. It sounds like recpatcha cannot connect to your site. It could be your server firewall or something blocking.
Snowhog
01-11-2015, 06:56 AM
Hi together,
i really would like to use this addon, but i have a general problem enabling these security features: i get the error "reCAPTCHA? could not be verified due to server issues. Please try again later.".
its the same when using the already implemented, old recaptcha or the image-verifikation, which says that the letters are not typed in correctly. does someone have an idea how to solve this?
We are afflicted with this as well. I obtained new keys by registering a second domain for our forum (the earlier one; registered pre-New reCAPTCHA; was for www.ourdomainname.com) without the www.
With New reCAPTCHA checked, and our chache cleared, we are also getting the error "reCAPTCHA? could not be verified due to server issues. Please try again later."
We really need an answer as to why, when others, who have posted in this thread, say they don't have this issue.
Snowhog
01-11-2015, 07:10 AM
Discovered what is causing this error. It's the GlowHost Spam-O-Matic mod. I disabled it and made a test registration with the New reCAPTCHA option enabled. No error.
Update:
Maybe not! Still researching this problem.
Hi together,
i really would like to use this addon, but i have a general problem enabling these security features: i get the error "reCAPTCHA™ could not be verified due to server issues. Please try again later.".
its the same when using the already implemented, old recaptcha or the image-verifikation, which says that the letters are not typed in correctly. does someone have an idea how to solve this?
We are afflicted with this as well. I obtained new keys by registering a second domain for our forum (the earlier one; registered pre-New reCAPTCHA; was for www.ourdomainname.com) without the www.
With New reCAPTCHA checked, and our chache cleared, we are also getting the error "reCAPTCHA™ could not be verified due to server issues. Please try again later."
We really need an answer as to why, when others, who have posted in this thread, say they don't have this issue.
The recaptcha server-side verification needs to connect to google to verify the response, so your php needs to have "allow_url_fopen" set to true, or else you need cURL in your configuration. I don't have a lot of knowledge about how hosting is usually set up, but I suppose there could also be network issues, i.e. maybe some hosts don't allow scripts to make network connections at all, or maybe they're limited to certain addresses.
tanzeelniazi
01-25-2015, 09:38 AM
I install but cant register i see error:
reCAPTCHA? could not be verified due to server issues. Please try again later.
I have https site
help please
Vb 4.2.0
ozzy47
01-25-2015, 09:52 AM
Do you have "allow_url_fopen" set to on, or cURL in your configuration on the server? If you don't know go to ACP --> Maintenance --> View PHP Info and look there.
Snowhog
01-25-2015, 11:18 PM
The recaptcha server-side verification needs to connect to google to verify the response, so your php needs to have "allow_url_fopen" set to true, or else you need cURL in your configuration. I don't have a lot of knowledge about how hosting is usually set up, but I suppose there could also be network issues, i.e. maybe some hosts don't allow scripts to make network connections at all, or maybe they're limited to certain addresses.
Which we do, and it is set 'On'. However, enabling reCAPTCHA results in the same "reCAPTCHA? could not be verified due to server issues. Please try again later."
tanzeelniazi
01-26-2015, 09:40 AM
allow_url_fopen is already ON
cURL is already enable
Does the old version of reCaptcha work for you?
tanzeelniazi
01-26-2015, 12:47 PM
Before i use Keycaptcha after i close the registration now i open again after i try keycaptcha its not working and then i try recaptcha i see error both are not working
now i use Question Answer but i really need recaptcha in registration
tharbin
01-27-2015, 06:17 AM
Amazing! thanks so much!!!!!!
Barbaro
02-08-2015, 09:43 AM
I feel the same.
i really would like to use this addon, but i have a general problem enabling these security features: i get the error "reCAPTCHA could not be verified due to server issues. Please try again later.".
The previous version if it works recapcha
People who are having problems with this (and maybe also with the original reCaptcha), can you tell me what version of php and vbulletin you're running? I'm thinking of making a new release of this mod that has a debugging option, but first I thought I'd see if the problems might be related to recent changes in vbulletin code.
Barbaro
02-08-2015, 12:10 PM
hello
The version is 4.2.2 Patch Level 4
Php 5,4,36
thanks
I noticed that the requirements for vb4.2.2 and above explicitly state that you must have cURL installed, so anyone having problems with this might want to check your phpinfo and make sure that you have it. I think I mentioned before that you needed either cURL or allow_url_fopen, but it seems maybe allow_url_fopen won't do it.
Barbaro
02-08-2015, 03:46 PM
hello
this installed
https://vborg.vbsupport.ru/external/2015/02/1.gif?1
OK. I should probably also have mentioned that I'm not sure when cURL started being required. Maybe it's been required for a long time. I never paid attention before.
Barbaro
02-09-2015, 09:54 AM
I feel the same.
i really would like to use this addon, but i have a general problem enabling these security features: i get the error "reCAPTCHA? could not be verified due to server issues. Please try again later.".
The previous version if it works recapcha
hello
nobody knows how to fix it?
Princeton
02-10-2015, 03:54 PM
you'll need to cache the humanverify_new_recaptcha template
(currently testing)
you'll need to cache the humanverify_new_recaptcha template
(currently testing)
Oh yeah, thanks. It actually should have been cached automatically, except that the option value and template name don't match.
phriek
02-14-2015, 05:44 PM
I solved the problem with the ""reCAPTCHA™ could not be verified due to server issues. Please try again later."-issue by adding curl_exec to my php.ini file (again). I disabled it months ago, because only curl was needed.
I solved the problem with the ""reCAPTCHA? could not be verified due to server issues. Please try again later."-issue by adding curl_exec to my php.ini file (again). I disabled it months ago, because only curl was needed.
Thanks for posting that. Hopefully that will help the others that were having that problem.
Barbaro
02-14-2015, 05:54 PM
I solved the problem with the ""reCAPTCHA? could not be verified due to server issues. Please try again later."-issue by adding curl_exec to my php.ini file (again). I disabled it months ago, because only curl was needed.
Hello, sorry for my bad English
Would you say exactly?
thanks
phriek
02-15-2015, 01:44 PM
Hello, sorry for my bad English
Would you say exactly?
thanks
Look in your php.ini file which depends to your installation or create a phpinfo to list your php settings:
<?php phpinfo(); ?>
(save as phpinfo.php to your server and call it)
search for "disable_functions" and remove "curl" and "curl_exec" if its in there.
Example:
before:
disable_functions =exec,passthru,shell_exec,system,proc_open,popen,c url,curl_exec,curl_multi_exec,parse_ini_file,show_ source;
after:
disable_functions =exec,passthru,shell_exec,system,proc_open,popen,c url_multi_exec,parse_ini_file,show_source;
I've released version 1.0. There are no critical changes or fixes, so there is no need to rush to upgrade. Here is the change list:
- Cached template (required renaming the uploaded file from
class_humanverify_newrecaptcha.php to class_humanverify_new_recaptcha.php)
- Removed default keys (which didn't work anyway)
- Removed trademark symbols
- Changed execution order of plugins from 5 to 4, to make sure this product
works with another HV add-on that has a bug.
- If "New reCAPTCHA" is selected when this mod is uninstalled, the hv library
is switched to 'disabled'.
- Added a test option to print out more information about verification failures
Note that the uploaded file has been renamed (which was the best way to fix the template caching issue), so you can remove the old file after upgrading.
For those who couldn't get this to work, I've added a test in the admincp (link in the Human Verification Manager), so you could try that and hopefully it will help track down your issue (if you get an error, copy and paste the results and post them here).
hello
nobody knows how to fix it?
Any luck with the new version?
Barbaro
02-25-2015, 07:30 PM
hello
Still does not work for me
hello
Still does not work for me
OK, did you try the test link?
Barbaro
02-25-2015, 07:55 PM
Yes
- Site key is set:xxxxxxxxxxxx
- Secret key is set: xxxxxxxxxxxxxxxxxxxxxxxxx
- cURL is enabled
- cURL does not have ssl enabled
- curl_exec function is not disabled
1 Configuration Error(s) Found
Yes
- Site key is set:xxxxxxxxxxxx
- Secret key is set: xxxxxxxxxxxxxxxxxxxxxxxxx
- cURL is enabled
- cURL does not have ssl enabled
- curl_exec function is not disabled
1 Configuration Error(s) Found
It seems like your curl doesn't have SSL configured in it. Or at least the version string that's checked in the code is blank. I don't really know how to tell you to fix that. You'd have to talk to your host or whoever does admin for your server.
Barbaro
02-25-2015, 08:13 PM
I'll compile apache enabling SSL and comment.
thank you very much
Barbaro
02-25-2015, 08:29 PM
perfect now
thank you very much
- curl_exec function is not disabled
No Configuration Errors Found
Test Verification:
xxfullclipxx
02-25-2015, 10:59 PM
works flawless thanks buddy
tony2013
03-03-2015, 02:47 PM
Work great!
thanks
Snowhog
03-04-2015, 08:19 PM
Thank you kh99. Had to install php5-curl and restart our apache2 server, as the communication test reported:
- cURL must be enabled, and any curl_ functions must be removed from disable_functions in php.ini
1 Configuration Error(s) Found
Afterwards, the communication test was fully successful.
Thank you kh99. Had to install php5-curl and restart our apache2 server, as the communication test reported:
- cURL must be enabled, and any curl_ functions must be removed from disable_functions in php.ini
1 Configuration Error(s) Found
Afterwards, the communication test was fully successful.
I'm glad it works for you now. Yes, it turns out that the alternate way to make outgoing connections was removed from vbulletin in a recent version, so now cURL is a requirement.
So has anyone (or maybe everyone) made a mobile template for this? I have to admit that I have been completely ignoring mobile styles since my own forum uses tapatalk and I don't have anything to do with styles. But just today I looked and noticed that apparently if you don't include a mobile template in a product, the one from the 'standard' style gets used. But I could have copied and modified the recaptcha mobile template and included it in this product. Is that what people have been doing?
LOGECT
03-21-2015, 03:54 PM
So has anyone (or maybe everyone) made a mobile template for this? I have to admit that I have been completely ignoring mobile styles since my own forum uses tapatalk and I don't have anything to do with styles. But just today I looked and noticed that apparently if you don't include a mobile template in a product, the one from the 'standard' style gets used. But I could have copied and modified the recaptcha mobile template and included it in this product. Is that what people have been doing?
Thanks for the Mod, you could add this to the XML:
<templates_mobile>
<template name="tpl" templatetype="template" date="0" username="LOGECT" version="1.0">
</template>
</templates_mobile>
<templates>
<template name="tpl" templatetype="template" date="0" username="LOGECT" version="1.0">
</template>
</templates>
LOGECT
03-21-2015, 04:05 PM
looks something like this on the vb default mobile tpl, also your in new mod (reCaptcha on login) when new reCaptcha option is enabled.
https://vborg.vbsupport.ru/attachment.php?attachmentid=152119&stc=1&d=1426957473
Thanks for the response. I was afraid of that - I copied the existing recaptcha template and modified it for the new recaptcha, but I forgot about the mobile style and that template's a lot different. Anyway, when I get a chance I'll fix that.
Techno Cowboy
04-16-2015, 03:07 AM
Installed....works great with vB 4.2.2 pl 4, also working well with vB 4.2.3 Beta 4! :cool:
Sharingan_Okami
05-20-2015, 01:18 PM
Hi, I'm getting this error with this plugin on my forum
https://vborg.vbsupport.ru/external/2015/05/12.png
Vbulletin 4.2.1
Any help???
Thank you
Hmm...I don't know what would cause that. Is that on the registration page *before* you submit (when it's trying to display the widget)? Have you tried the original reCaptcha to see if that's working?
Sharingan_Okami
05-20-2015, 01:33 PM
Hmm...I don't know what would cause that. Is that on the registration page *before* you submit (when it's trying to display the widget)? Have you tried the original reCaptcha to see if that's working?
Hi, it's just when you submit, after everything. i have tried the original and the new and improved one. Both give the Access Denied
https://vborg.vbsupport.ru/external/2015/05/11.png
In that case, have you tried running the test? Click on "Click here to test connection" in the Human Verification Manager (under the New reCaptcha description).
Sharingan_Okami
05-20-2015, 01:42 PM
In that case, have you tried running the test? Click on "Click here to test connection" in the Human Verification Manager (under the New reCaptcha description).
-Removed-
Hmm...it seems to work. I'll have to think about it more later, but I've got to go out for a while.
BTW, I think I told people earlier in the thread to post their results here, but I just realized that people probably shouldn't be posting their "site secret", so you might want to remove that attachment (unless you cut off part of it on the right, I can't tell) I should probably take that out of the results.
Sharingan_Okami
05-20-2015, 01:52 PM
Hmm...it seems to work. I'll have to think about it more later, but I've got to go out for a while.
BTW, I think I told people earlier in the thread to post their results here, but I just realized that people probably shouldn't be posting their "site secret", so you might want to remove that attachment (unless you cut off part of it on the right, I can't tell) I should probably take that out of the results.
That's Ok. and maybe you're right, i'll remove it. i will maybe try to re install this mode and try again. but i think it's always been broke for me.
So just to make sure, this doesn't happen if you disable this mod? I guess it works if you choose no human verification? What happens if you try the other hv types? I would think maybe it had something to do with contacting google to verify the response, but the test in the admincp uses the same code as when it's being done by a user (well, that's what I tried to do, anyway), and that didn't show any errors.
Edit: oh, maybe it's an apache mod that doesn't like the looks of the rCaptcha response in the post data, or something like that. I don't know much about web site admin, but I've seen other people mention mod_security when they get an error like this.
Sharingan_Okami
05-20-2015, 11:19 PM
So just to make sure, this doesn't happen if you disable this mod? I guess it works if you choose no human verification? What happens if you try the other hv types? I would think maybe it had something to do with contacting google to verify the response, but the test in the admincp uses the same code as when it's being done by a user (well, that's what I tried to do, anyway), and that didn't show any errors.
Edit: oh, maybe it's an apache mod that doesn't like the looks of the rCaptcha response in the post data, or something like that. I don't know much about web site admin, but I've seen other people mention mod_security when they get an error like this.
Thanks for the information.
Indeed i do use mod_security and that's probley correct
SGoogle
06-06-2015, 11:12 AM
it not Working in Template mobile with Advane Search
Please view Image
https://vborg.vbsupport.ru/external/2015/06/23.png
Thanks you
Mattlab
06-10-2015, 11:09 PM
Any word on when this will be updated to work in all templates?
Thanks for the Mod, you could add this to the XML:
<templates_mobile>
<template name="tpl" templatetype="template" date="0" username="LOGECT" version="1.0">
</template>
</templates_mobile>
<templates>
<template name="tpl" templatetype="template" date="0" username="LOGECT" version="1.0">
</template>
</templates>
I'm sorry I never responded. What does this do exactly?
Any word on when this will be updated to work in all templates?
Sorry, I'm not sure what to tell you except that I'll try to get to it. I was kind of hoping that someone else would figure it out and post the template. I think we really just need to create a humanverify_new_recaptcha template in the mobile style, and probably start by copying the existing humanverify_recaptcha. I guess the code to display the recaptcha widget is different, but I don't think it's that complicated.
Wajdan
06-17-2015, 03:26 AM
Working good on 4.2.2 :) thanks for such a nice addon.
Alibass
07-01-2015, 08:45 PM
@kh99
I got a email from google today saying they have upgraded to reCAPTCHA v2
Is this mod still going to work with their latest upgrade?
@kh99
I got a email from google today saying they have upgraded to reCAPTCHA v2
Is this mod still going to work with their latest upgrade?
As far as I know this *is* what they're calling reCAPTCHA v2. But if I find out that something's changed I'll try to update the mod.
Edit: It does look like they've added a "normal/compact" option since this mod was released, so maybe tomorrow I'll try to add that and also include a template for the mobile style.
djbaxter
07-01-2015, 11:00 PM
@kh99
I got a email from google today saying they have upgraded to reCAPTCHA v2
Is this mod still going to work with their latest upgrade?
I also got that message and for the life of me I don't see an option to upgrade the API.
I tried deleting the old key but that deleted the domain too. I re-added the domain and got new keys but when I try to test it I get "invalid key for domain".
I haven't seen that email so I don't know exactly what it's saying. Is it possible that it's saying that the old version no longer works? In that case this mod should be the update you need to keep using reCAPTCHA.
I also got that message and for the life of me I don't see an option to upgrade the API.
I tried deleting the old key but that deleted the domain too. I re-added the domain and got new keys but when I try to test it I get "invalid key for domain".
Oh, but it sounds like you're saying this mod stopped working for you?
djbaxter
07-01-2015, 11:39 PM
Oh, but it sounds like you're saying this mod stopped working for you?
No. I just installed it. See attached screenshot of email from Google...
I got two new API keys but they are not being recognized on either the old Recaptcha nor the new one.
Added: It's causing problems for WordPress too. See https://wordpress.org/support/topic/in-version-40-public-key-private-key-has-been-changed-to-site-and-secret-key?replies=34
No. I just installed it. See attached screenshot of email from Google...
I got two new API keys but they are not being recognized on either the old Recaptcha nor the new one.
Oh, OK, I get it.
Yeah, that email's just saying that they're eventually going to discontinue the old version so you should update. This mod interfaces with the new version so if you're using it you should be OK. (Obviously you knew that, but just so everyone else knows).
Thanks for the copy.
Edit: oh, and I'm afraid I don't know what's going on with the keys. Maybe they're having some delay in activating them or something.
djbaxter
07-02-2015, 12:04 AM
OK. That's a possibility.
I had to fall back to image verification on the forum I changed. I'll try again later.
I got two new API keys but they are not being recognized on either the old Recaptcha nor the new one.
Added: It's causing problems for WordPress too. See https://wordpress.org/support/topic/in-version-40-public-key-private-key-has-been-changed-to-site-and-secret-key?replies=34
Are you testing it on your live site (or at least one that you're accessing from the same domain)? I guess for it to work you either have to get to the page through your domain or else localhost.
OK. That's a possibility.
I had to fall back to image verification on the forum I changed. I'll try again later.
Oh, then I guess it is your live site.
djbaxter
07-02-2015, 12:12 AM
Yes. My live site.
djbaxter
07-02-2015, 12:27 AM
Update: You were correct, kh99. It was just a short delay updating the API keys.
All working fine now. Thank you. :)
djbaxter
07-02-2015, 05:21 PM
Update: I just added this to to more sites. I can confirm that you can no longer use your old Recaptcha keys. You need to delete the old key and re-register the domain to get new keys.
It is only taking a few minutes for it to recognize the new keys for me today.
Update: I just added this to to more sites. I can confirm that you can no longer use your old Recaptcha keys. You need to delete the old key and re-register the domain to get new keys.
Thanks, I'll change the description to say that.
djbaxter
07-02-2015, 05:56 PM
Hmmm... I'm not 100% certain of that now.
I've now added this to 5 forums. On one, I didn't need to change the key - I only added this site a short while ago,
Now I'm wondering if I may have been using a single key for the other forums, that "global key" that Google warns will no longer work.
You might try your old key first and if you get an error delete it and get a new one.
You might try your old key first and if you get an error delete it and get a new one.
Yeah, I think you're right. I saw somewhere else that the old keys should work, as long as they're not global keys.
wootriffic
07-20-2015, 09:27 AM
After installing, i can test fine without issues, however my reg screen doesn't show the graphics on Chrome or IE.
In addition after disabling it and reverting back to the previous recap it also doesnt show.
http://i.imgur.com/yYw1wCf.png
http://i.imgur.com/PmxqeqC.png
So it does block spam sign ups, the only issue is nobody can sign up now..
vb 4.2.3
--- edit ---
Incompatible with vBSocial 10 Lite
If you could install that and replicate then fix the issue, i'd be super happy.
Just to be clear, are you saying all those issues were cause by incompatibility with vBSocial 10 Lite? I don't know how installing this mod could stop the previous recaptcha from working. Certainly if you uninstall it it shouldn't have any further effect.
wootriffic
07-20-2015, 09:32 PM
Previously i had their plugin installed, then installed your plugin.
Once i did that verification wouldnt pull up, unless i removed vbsocial.
Even deactivating your plugin and leaving vbsocial still wouldnt show it.
not sure if this is a one off issue, but i cant seem to get it back now. so i've deactivated their plugin.
I was able to replicate the issue, but I can't figure out what's going on. All the recaptcha stuff is where it should be and it's loading the javascript from google, and there aren't any js errors, but it's not showing up.
So are you saying that the original recaptcha worked with vbsocial, until you installed this mod? I uninstalled completely and the original recaptcha doesn't work, but I didn't try it before installing my mod. I don't see how it could affect anything after being uninstalled, but anything's possible.
ETA: anyway, this mod works just like the original recaptcha that comes with vbulletin, and I don't really have time to figure out why there's a conflict even with the original (as I suspect it doesn't work even for someone who has never installed my mod). But I *am* working on a new version of this mod to include a template for the mobile style and make a few other tweaks, and one thing I was thinking of including is an option to use the "alternate" way to render the recaptcha widget (see the google developer page if you're curious about it). So it's possible that will solve the issue.
bosanci28
07-22-2015, 01:01 AM
So may i ask what is the difference between the original captcha and this?
Thanks
So may i ask what is the difference between the original captcha and this?
Thanks
Well, just to be sure you understand, this mod just interfaces google's reCAPTCHA v2 with the vbulletin human verification system, and the fact is that the interface isn't a lot different than the original. I didn't implement the captcha and I copied the vbulletin interface code to start with, so I really can't take much credit for it, nor can I explain the details of how the captcha works.
You can read about reCaptcha v2 here: http://www.google.com/recaptcha/intro/index.html . In a nutshell, it uses some javascript magic to try to identify people as human, and if it can then the user only has to check the "I am not a robot" box and doesn't always have to solve a captcha. So hopefully it makes it easier for humans to get past it. I know the original reCaptcha had been "cracked" somehow, and to be honest I don't know if this addresses that problem or not. I do know that google has been telling sites that are still using the original to upgrade, so I imagine eventually they will discontinue support for the original.
TorrentMan
07-23-2015, 10:10 PM
thanks bud
function perfect, very nice, keep up your good work..
wootriffic
07-24-2015, 12:17 PM
I was able to replicate the issue, but I can't figure out what's going on. All the recaptcha stuff is where it should be and it's loading the javascript from google, and there aren't any js errors, but it's not showing up.
So are you saying that the original recaptcha worked with vbsocial, until you installed this mod? I uninstalled completely and the original recaptcha doesn't work, but I didn't try it before installing my mod. I don't see how it could affect anything after being uninstalled, but anything's possible.
ETA: anyway, this mod works just like the original recaptcha that comes with vbulletin, and I don't really have time to figure out why there's a conflict even with the original (as I suspect it doesn't work even for someone who has never installed my mod). But I *am* working on a new version of this mod to include a template for the mobile style and make a few other tweaks, and one thing I was thinking of including is an option to use the "alternate" way to render the recaptcha widget (see the google developer page if you're curious about it). So it's possible that will solve the issue.
I didn't look actually, but was pretty sure i was seeing new signups when it was active (latest members).
I've deactivated their plugin for now. Much rather have this than some lite version of some other plugin that does almost nothing.
I didn't look actually, but was pretty sure i was seeing new signups when it was active (latest members).
I've deactivated their plugin for now. Much rather have this than some lite version of some other plugin that does almost nothing.
After posting that I actually did a fresh test install of vb4.2.3 and installed only the vbsocial lite, selected the original recaptcha (I didn't even install this mod), and it didn't work. I think both the vbsocial and the recaptcha use jquery, and I think there's a conflict so that the recaptcha init stuff doesn't run. I haven't had a chance yet to try the "explict render" method (I think it was called), so I'm still hoping that solves the problem.
It does seem strange though that no one would have noticed before that recaptcha didn't work with vbsocial. Maybe there's something else going on.
bosanci28
07-24-2015, 02:11 PM
Well, just to be sure you understand, this mod just interfaces google's reCAPTCHA v2 with the vbulletin human verification system, and the fact is that the interface isn't a lot different than the original. I didn't implement the captcha and I copied the vbulletin interface code to start with, so I really can't take much credit for it, nor can I explain the details of how the captcha works.
You can read about reCaptcha v2 here: http://www.google.com/recaptcha/intro/index.html . In a nutshell, it uses some javascript magic to try to identify people as human, and if it can then the user only has to check the "I am not a robot" box and doesn't always have to solve a captcha. So hopefully it makes it easier for humans to get past it. I know the original reCaptcha had been "cracked" somehow, and to be honest I don't know if this addresses that problem or not. I do know that google has been telling sites that are still using the original to upgrade, so I imagine eventually they will discontinue support for the original.
Thanks for that info! Installed on v4.2.2 and works fine.
Thanks.
Awesome. It works. I wonder why VB does not update its recaptcha code :D
Suggestion : adding recaptcha language option.
I'm working on another version. I can add the language setting. I actually thought I had used the vbulletin language to set it, but I guess I was dreaming.
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:
<script src="https://www.google.com/recaptcha/api.js?hl={vb:stylevar languagecode}" async defer></script>
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
Necrophyte
07-26-2015, 01:32 PM
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.
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.
Necrophyte
07-26-2015, 01:45 PM
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.
swanbourne
07-29-2015, 07:21 AM
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.
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.
swanbourne
07-29-2015, 09:02 AM
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
x iJailBreak x
08-06-2015, 02:44 AM
I was able to replicate the issue, but I can't figure out what's going on. All the recaptcha stuff is where it should be and it's loading the javascript from google, and there aren't any js errors, but it's not showing up.
So are you saying that the original recaptcha worked with vbsocial, until you installed this mod? I uninstalled completely and the original recaptcha doesn't work, but I didn't try it before installing my mod. I don't see how it could affect anything after being uninstalled, but anything's possible.
ETA: anyway, this mod works just like the original recaptcha that comes with vbulletin, and I don't really have time to figure out why there's a conflict even with the original (as I suspect it doesn't work even for someone who has never installed my mod). But I *am* working on a new version of this mod to include a template for the mobile style and make a few other tweaks, and one thing I was thinking of including is an option to use the "alternate" way to render the recaptcha widget (see the google developer page if you're curious about it). So it's possible that will solve the issue.
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:
<li class="divider"></li>
<style type="text/css">
#imageregt { max-width: 220px; }
#carousel-guest-account .rightcol { margin-{vb:stylevar left}: 0px;
</style>
<li class="dropdown-grid">
<a data-toggle="dropdown" href="javascript://" class="dropdown-toggle" rel="nofollow"><i class="fa fa-sign-in"></i> {vb:rawphrase log_in}<span class="caret"></span></a>
<div class="dropdown-grid-wrapper">
<ul class="dropdown-menu col-xs-12 col-sm-10 col-md-8 col-lg-7" role="menu" >
<li>
<div id="carousel-guest-account" class="carousel slide">
<div class="row">
<div class="col-lg-8 col-md-8 col-sm-8 border-right">
<div class="carousel-inner">
<!-- login form -->
<div class="item active">
<h3 class="text-right"><i class="fa fa-sign-in"></i> {vb:rawphrase log_in}</h3><br>
<form method="post" action="login.php?{vb:raw session.sessionurl}do=login" class="form-horizontal" role="form" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, {vb:raw show.nopasswordempty})">
<div class="form-group">
<label for="inputUsername" class="col-sm-3 control-label">{vb:rawphrase username}</label>
<div class="col-sm-9"><input type="text" class="input-sm form-control" name="vb_login_username" id="inputUsername" placeholder="{vb:rawphrase username}" autocomplete="off" tabindex="1" accesskey="u"></div>
</div>
<div class="form-group">
<label for="inputPassword3" class="col-sm-3 control-label">{vb:rawphrase password}</label>
<div class="col-sm-9"><input type="password" class="input-sm form-control" name="vb_login_password" id="inputPassword3" placeholder="{vb:rawphrase password}" autocomplete="off" tabindex="2"></div>
</div>
<div class="form-group">
<div class="col-sm-offset-3 col-sm-5">
<div class="checkbox no-padding">
<label><input type="checkbox" name="cookieuser" value="1" accesskey="c" tabindex="3" /> {vb:rawphrase remember_me}</label>
</div>
</div>
<div class="col-sm-4">
<button class="btn btn-default pull-right" tabindex="4" type="submit"><i class="fa fa-unlock-alt"></i> {vb:rawphrase log_in}</button>
</div>
</div>
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
</form>
<vb:if condition="$vboptions['enablefacebookconnect']">
<a id="fb_getconnected" href="#"><img src="{vb:stylevar imgdir_misc}/facebook_login_long.gif" alt="{vb:rawphrase facebook_connect}" /></a>
</vb:if>
</div>
<vb:if condition="$show['registerbutton']">
<div class="item"></div>
</vb:if>
<!-- Forgot your password -->
<vb:if condition="THIS_SCRIPT != 'register'">
<div class="item">
<h3 class="text-right"><i class="fa fa-warning"></i> {vb:rawphrase lost_password_recovery_form}</h3>
<br>
<p class="text-justify"><small><i>{vb:rawphrase forgotten_password_request_email}</small></i></p>
<form id="lost_password" method="post" class="form" role="form" action="login.php?{vb:raw session.sessionurl}do=emailpassword">
<div class="form-group">{vb:raw human_verify}</div>
<div class="input-group">
<input type="text" class="form-control" placeholder="{vb:rawphrase enter_your_email_address}" name="email" autocomplete="off">
<span class="input-group-btn">
<button class="btn btn-default" type="submit"><i class="fa fa-envelope"></i> {vb:rawphrase send_it_to_me}!</button>
</span>
</div>
<input type="hidden" name="do" value="emailpassword" />
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
</form>
</div>
</vb:if>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-4">
<ol class="carousel-indicators navbar-carousel-indicators" style="">
<li data-target="#carousel-guest-account" data-slide-to="0" class="active"><a href="javascript://">{vb:rawphrase log_in}<span class="desc">{vb:rawphrase already_have_an_account_log_in}</span></a></li>
<vb:if condition="$show['registerbutton']">
<li><a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase register}<span class="desc">{vb:rawphrase create_new_account}</span></a></li></vb:if>
<vb:if condition="THIS_SCRIPT != 'register'">
<li data-target="#carousel-guest-account" data-slide-to="{vb:if $show['registerbutton'], 2, 1}" class=""><a href="login.php?{vb:raw session.sessionurl}do=lostpw" class="" rel="nofollow">{vb:rawphrase forgot_your_password}?<span class="desc">{vb:rawphrase dont_worry_it_happens}</span></a></li>
</vb:if>
<vb:if condition="$show['contactus']"><li><a href="sendmessage.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase contact_us}<span class="desc">{vb:rawphrase send_email_to_forum_administrator}</span></a></li></vb:if>
</ol>
</div>
</div>
</div>
</li>
</ul>
</div>
</li>
<vb:if condition="$show['registerbutton']">
<li class="divider"></li>
<li>
<a rel="nofollow" href="register.php{vb:raw session.sessionurl_q}"><i class="fa fa-user"></i> {vb:rawphrase register}</a>
</li>
</vb:if>
All this will do is remove the lost password form in the header on register.php (but not anywhere else), which fixes human verification.
KGodel
08-11-2015, 12:57 PM
Has anyone else had issues with this not working in IE? Is it a google thing or a bug with the plugin?
cduguay
09-02-2015, 04:29 AM
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
Has anyone else had issues with this not working in IE? Is it a google thing or a bug with the plugin?
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.
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, 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.
J45PER
09-14-2015, 02:45 PM
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?
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?
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.
Cjl313
10-08-2015, 07:53 PM
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.
Hi kh99, Is this mod compatible with this current mod: https://vborg.vbsupport.ru/showthread.php?t=248042 Spam O Matic. Or would you use I would say I would be better off installing this system and using this new reCAPTCHA v2 Human Verification? This just seems so much simpler and better for the site. Would love to hear your feedback. Thanks
Hi kh99, Is this mod compatible with this current mod: https://vborg.vbsupport.ru/showthread.php?t=248042 Spam O Matic. Or would you use I would say I would be better off installing this system and using this new reCAPTCHA v2 Human Verification? This just seems so much simpler and better for the site. Would love to hear your feedback. Thanks
I don't know if they are compatible, but I don't see hwy they wouldn't be. As for which is better, I don't know that either. There are those who say that recaptcha is useless, but others seem to get along OK with recaptcha. I know a lot of people recommend spam-o-matic. I don't actually use either mod myself (but I also don't run a forum myself), I just created this interface to the new version of recaptcha because people were requesting it.
Cjl313
10-08-2015, 08:16 PM
I don't know if they are compatible, but I don't see hwy they wouldn't be. As for which is better, I don't know that either. There are those who say that recaptcha is useless, but others seem to get along OK with recaptcha. I know a lot of people recommend spam-o-matic. I don't actually use either mod myself (but I also don't run a forum myself), I just created this interface to the new version of recaptcha because people were requesting it.
Thank you for such a quick answer. It's very much appreciated kh99. I'm going to go ahead and install and hope for the best. If you don't hear from me that means it incorporated correctly. Hope you have a great rest of your day! :)
rory2000
12-16-2015, 07:48 PM
Great mod... will it be available for VB 5 ? A friend wants it but cant :(
KyleSmith
12-24-2015, 09:06 AM
I have this enabled on my forum but still, bots are able to bypass it.
EvoDarrenshan
01-08-2016, 12:07 PM
vBulletin Message
XML Error: Invalid document end at Line 251
When is that happening, when you import the product xml? No one else reported that so I don't think it's the file. Try downloading a new copy.
Dotox
01-27-2016, 11:32 AM
Great! Thank You
marysnow786
02-18-2016, 04:55 PM
its not displaying on user registration any idea
BadgerDog
02-19-2016, 09:16 AM
Installed with thanks ... :)
Working fine with 4.1.3PL8
Regards,
Doug
dumanyack
03-05-2016, 02:26 PM
i am tried "product-kh99_new_recaptcha_v1_0.xml" worked admincp. Please , "class_humanverify_new_recaptcha.php" edit the file for Vb Version 3.7x?
(turkce bilen arkadaslara da sorayim. Bu dosya 3.7.4 un admincp modulunde calisti. Ancak includes'e atilan php dosyasi 3.7 ye gore olmadigindan satirlara hata veriyor. Bunu duzenleyebilecek, yada yardim edebilecek biri var mi? Tesekkurler )
Nat47
03-06-2016, 08:46 PM
I tried Test Configuration and got this error:
- cURL must be enabled, and any curl_ functions must be removed from disable_functions in php.ini
1 Configuration Error(s) Found
Does anyone know how to fix this?
djbaxter
03-07-2016, 01:09 AM
I tried Test Configuration and got this error:
- cURL must be enabled, and any curl_ functions must be removed from disable_functions in php.ini
1 Configuration Error(s) Found
Does anyone know how to fix this?
Contact your host. Curl is a PHP option. They need to add it to your server.
Nat47
03-07-2016, 06:38 PM
Contact your host. Curl is a PHP option. They need to add it to your server.
I'm running a VPS, is there an easy way I can do this myself?
In Omnibus
03-07-2016, 06:45 PM
I'm running a VPS, is there an easy way I can do this myself?
You'll need root server access. You can research how to install a LAMP stack on Google. You'll only need to know the P portion of the LAMP stack installation instructions. You can find detailed information at php.net
djbaxter
03-07-2016, 07:56 PM
You may be able to do it through WHM if you have access to that. What you'll need to do is recompile Apache / PHP... if you have WHM and Easy Apache, that may allow you to do it.
But I suspect your host would prefer you let their tech support people do it.
It works, but sets the usergroup to Banned even after the user clicks the activation link in the registration email. When the user goes to the forum, he/she is told they are banned. What have I done wrong??
It works, but sets the usergroup to Banned even after the user clicks the activation link in the registration email. When the user goes to the forum, he/she is told they are banned. What have I done wrong??
Are you sure you posted this in the right mod thread? This one doesn't do anything to user groups.
We are running 4.2.2 patch level 4. I had previously set up recaptcha and decided to upgrade to the v2. The recaptcha portion of this works, but when the user follows the email activation link and then tries to log in, you have been banned message appears.
I tested with a bogus registration. After I followed the link, I did not try to log in (logged into admincp with my admin account in another browser). I did a search for my bogus user, and found that the Usergroup was set to banned. I changed this to registered, then returned to the other browser window and logged in with no problem as the bogus user.
The old recaptcha set the initial usergroup to Administrators without granting any admin permissions.
It has to be something that needs to be changed in the admincp?
Are you sure you posted this in the right mod thread? This one doesn't do anything to user groups.
I disabled plugins, and the ban disappeared, so I am guessing there is a conflict with one of my plugins.
rory2000
09-05-2016, 10:07 PM
Thanks for a great mod !
Is it possible to update the mod to include the reCAPTCHA on the contact us form as well ?
I get spam via the contact us form on my forum...
Thanks
Mattwhf
09-12-2016, 11:10 AM
Hi kh99,
This mod didn't work on vBulletin 4.2.5 alpha 2 + PHP7
can you update your codes/ mod?
This mod is really useful for vbulletin 4.x.x
Thanks
Matt
Palidino76
09-28-2016, 05:27 PM
Not working with 4.2.4 Beta 2
EDIT: Figured it out. I have vbsocial 10 installed, which is a topbar that follows the page and includes links and what not. It has a login dropdown with a forgot your password option that uses human verification. More than 1 human verification on a page only loads the human verification for whichever requests it first.
thincom2000
11-07-2016, 06:16 PM
The product ID is longer than 15 characters, so the templates do not stay associated with this product. This can cause issues when upgrading or uninstalling the product (such as the template not being uninstalled).
I'm stuck.
Have the error "- cURL must be enabled, and any curl_ functions must be removed from disable_functions in php.ini" but cURL is installed. Ubuntu. ngnix + php-fpm.
Suggestions on how to troubleshoot?
Doughboy1
11-29-2016, 01:02 PM
Hi was anyone able to add this to your contact us form?
In Omnibus
11-29-2016, 01:22 PM
Hi was anyone able to add this to your contact us form?
You don't need to "add" this product to your contact form. If you turn on human verification for "Contact Us" in the Human Verification Options in the AdminCP under Settings / Options / Human Verification Options it works just fine.
Doughboy1
11-29-2016, 01:30 PM
strange i have done that and nothing shows only on registration it is an untouched contact us form also
Doughboy1
11-29-2016, 01:37 PM
lol dumb mistake on my part it doesnt show when your logged thanks for the help
In Omnibus
11-29-2016, 01:53 PM
lol dumb mistake on my part it doesnt show when your logged thanks for the help
I think we've all made that mistake once or twice. :)
rory2000
12-17-2016, 04:55 AM
HI...
On vb 4.2.5 Beta 1 the mod does not work and throws this error:
Fatal error: Call to undefined method vB_HumanVerify_Abstract::vB_HumanVerify_Abstract() in /home/volkswag/public_html/includes/class_humanverify_new_recaptcha.php on line 14
do we have an update to fix this please ??
Thanks in advance for a great MOD.
Domenico
12-20-2016, 04:08 PM
HI...
On vb 4.2.5 Beta 1 the mod does not work and throws this error:
Fatal error: Call to undefined method vB_HumanVerify_Abstract::vB_HumanVerify_Abstract() in /home/volkswag/public_html/includes/class_humanverify_new_recaptcha.php on line 14
do we have an update to fix this please ??
Thanks in advance for a great MOD.
On line 14 replace:
parent::vB_HumanVerify_Abstract($registry);
with:
parent::__construct($registry);
That's it. :)
rfaridm
12-25-2016, 05:46 AM
Is this plug in valid for Vbulletin 5 ?
IggyP
12-25-2016, 10:22 AM
dont need it...in there by default ;)
djaychela
02-02-2017, 07:14 PM
Hi
I've installed this and I'm having some issues - it appears to be correctly configured with the right keys, and the test works fine in the admin control panel - both the initial config and the test verification work, reporting back that the verification has succeeded.
However, when applying this, attempting to register generates a 500 error on the server, and in the log I get the following:
PHP Fatal error: Call to undefined method vB_Input_Cleaner:: parse_url() in /var/www/vhosts/antique-locks.com/httpdocs/includes/class_vurl.php on line 707, referer: http://www.antique-locks.com/register.php
I've looked in class_vurl at that line, and can't see any reference to the vb_Input_Cleaner method in there (I was hoping for a fix as mentioned by Domenico a couple of posts above.
Any clue as to how I can fix this? The site is currently using keyCAPTCHA which is less than desirable.
djaychela
02-06-2017, 01:19 PM
OK, just to close this off - there was an incorrect version of class_vurl.php installed; no idea why (I've just been tasked with a few jobs on the site), but putting the right version of it onto the site has fixed it.
Thanks for a great plugin. :-)
5noopz
03-01-2017, 08:41 AM
<a href="http://i.imgur.com/JS344Z8.png" target="_blank">http://i.imgur.com/JS344Z8.png</a>
It works, but it is broke and look not good.
Domenico
03-16-2017, 03:25 PM
Hi,
Can you update this plugin and make it work with the new Invisible reCAPTCHA ?
https://www.google.com/recaptcha/intro/invisible.html
Thank you!
RichieBoy67
03-22-2017, 09:41 PM
Needs updates for php7..
mod_fcgid: stderr: PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; vB_HumanVerify_NewRecaptcha has a deprecated constructor in #######################/httpdocs/includes/class_humanverify_newrecaptcha.php
Needs updates for php7..
mod_fcgid: stderr: PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; vB_HumanVerify_NewRecaptcha has a deprecated constructor in #######################/httpdocs/includes/class_humanverify_newrecaptcha.php
It works fine on my php7 sites with this fix - https://vborg.vbsupport.ru/showpost.php?p=2579677&postcount=197
RichieBoy67
03-23-2017, 07:04 PM
On line 14 replace:
parent::vB_HumanVerify_Abstract($registry);with:
parent::__construct($registry);That's it. :)
Thanks, I didn't see that..
RichieBoy67
03-23-2017, 07:12 PM
It works fine on my php7 sites with this fix - https://vborg.vbsupport.ru/showpost.php?p=2579677&postcount=197
Thanks but i already see that change done..
hippiesimz
03-26-2017, 08:07 AM
i got this one,
---------------------------------------------------
- Decoded response:
- success: false
- error-codes: invalid-input-secret
- Error Phrase: Human verification unsuccessful due to incorrect reCAPTCHA secret. Contact the admin.
Verification Failed.
-------------------------------------
please help.
RichieBoy67
03-26-2017, 10:30 AM
i got this one,
---------------------------------------------------
- Decoded response:
- success: false
- error-codes: invalid-input-secret
- Error Phrase: Human verification unsuccessful due to incorrect reCAPTCHA secret. Contact the admin.
Verification Failed.
-------------------------------------
please help. Did you register for Google recaptcha and enter the correct information into the plug in settings?
Flipfloptrader
04-12-2017, 06:05 AM
Hi,
Can you update this plugin and make it work with the new Invisible reCAPTCHA ?
https://www.google.com/recaptcha/intro/invisible.html
Thank you!
Just a little nudge...this would be a fantastic addition.
Crotan
04-27-2017, 09:18 PM
thanks! Was previously using keyCAPTCHA, and now switched to this. The original reCAPTCHA has long been ineffective.
Flipfloptrader
05-10-2017, 10:46 PM
Doesn't work on 4.2.5 unfortunately.
Doesn't like this line from what I can see:
parent::vB_HumanVerify_Abstract($registry);
Flipfloptrader
05-10-2017, 10:49 PM
Durr! Answer on previous page, many thanks Dominco.
Flipfloptrader
05-15-2017, 04:44 AM
I've noticed a real up tick in bot registrations over the last couple of weeks. I must get 15-20 'fake' registrations a day, all from .ru email addresses. Thankfully I have spambot stopper also which saves all of them as they fill in the registration form in under 2 seconds. Annoying none the less.
In Omnibus
05-15-2017, 07:19 PM
I've noticed a real up tick in bot registrations over the last couple of weeks. I must get 15-20 'fake' registrations a day, all from .ru email addresses. Thankfully I have spambot stopper also which saves all of them as they fill in the registration form in under 2 seconds. Annoying none the less.
Why don't you block .ru e-mail addresses from registration globally in the admincp? :D
dan325ci
05-17-2017, 08:57 PM
Doesn't work on 4.2.5 unfortunately.
Doesn't like this line from what I can see:
parent::vB_HumanVerify_Abstract($registry);
Yes same issue here.
Anyone have a fix for 4.2.5?
MarkFL
05-17-2017, 09:08 PM
Yes same issue here.
Anyone have a fix for 4.2.5?
Try this:
On line 14 replace:
parent::vB_HumanVerify_Abstract($registry);
with:
parent::__construct($registry);
That's it. :)
Flipfloptrader
05-17-2017, 10:08 PM
Why don't you block .ru e-mail addresses from registration globally in the admincp? :D
I tried this and they're still getting through. The odd thing is when I try and replicate it by using xxx@mail.ru it tells me the administrator has blocked the email address so it seems to work but I still get emails showing registration rejections.
Drakie
05-24-2017, 08:55 AM
I've noticed a real up tick in bot registrations over the last couple of weeks. I must get 15-20 'fake' registrations a day, all from .ru email addresses. Thankfully I have spambot stopper also which saves all of them as they fill in the registration form in under 2 seconds. Annoying none the less.
Block stuff in your vBulletin options. I have a list of close to 4000 lines of email spam TLDs and domains like:
.ru
.ro
.ga
.top
.black
.blue
.email
.fyi
.love
.pro
.website
.click
.club
.faith
.link
.review
.rocks
.site
.space
.top
.work
.xyz
And more TLDs that most people dont use anyway. Unless you run a Russian forum or such. :D
RaYdeN.ADM
05-24-2017, 11:48 AM
Block stuff in your vBulletin options. I have a list of close to 4000 lines of email spam TLDs and domains like:
.ru
.ro
.ga
.top
.black
.blue
.email
.fyi
.love
.pro
.website
.click
.club
.faith
.link
.review
.rocks
.site
.space
.top
.work
.xyz
And more TLDs that most people dont use anyway. Unless you run a Russian forum or such. :D
Where do you add that lock?
Areku
05-25-2017, 06:30 AM
Settings -> User Banning Options -> Banned Email Addresses
RaYdeN.ADM
05-26-2017, 01:45 AM
Settings -> User Banning Options -> Banned Email Addresses
Thanks, I thought that there could only be put @domains.extension according to the description of vbulletin.
Alan_SP
05-28-2017, 02:54 PM
You can put there whatever, but you need to be careful. If you place there single letter a, you'll block everyone who have letter a in mail address.
astra121
06-11-2017, 06:07 PM
After correcting the error in line 14, an error occurs in line 8, who knows the solution methods?
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; vB_HumanVerify_New_Recaptcha has a deprecated constructor in /home/id/public_html/includes/class_humanverify_new_recaptcha.php on line 8
Maybe in the PHP 7.1.3 settings I did not put a check somewhere?
MarkFL
06-11-2017, 09:31 PM
Post the entire class definition surrounding line 8, and I will rewrite it to work correctly with PHP 7.x. :)
astra121
06-12-2017, 04:09 AM
<?php
if (!isset($GLOBALS['vbulletin']->db))
{
exit;
}
require_once(DIR . '/includes/class_vurl.php');
class vB_HumanVerify_New_Recaptcha extends vB_HumanVerify_Abstract
{
public static $verify_url = 'https://www.google.com/recaptcha/api/siteverify';
function __construct(&$registry)
{
parent::__construct($registry);
}
private static function get_error_phrase($result)
{
if (isset($result['error-codes']))
$errormsg = current($result['error-codes']);
else
$errormsg = '';
switch ($errormsg)
{
MarkFL
06-13-2017, 02:56 PM
That doesn't appear to be the entire class definition.
sevans03
06-28-2017, 07:14 PM
Installed and working great, thanks!
Rideharder
06-28-2017, 10:15 PM
Working with 4.2.5 PHP 7? Can you guys upload what we need for 4.2.5 thanks!
Update, I fix the code on line 14 and looks like all is working. Thanks!
KubisForce
07-03-2017, 08:05 AM
Hello,
I am using vb 4.2.5 and recaptcha isnt working. Whenever I sent of a registration I get:
reCAPTCHA could not be verified due to server issues. Please try again later.
In test connection everything seems to be fine and I get no error.
I already did the fix for line 14. Is there any log to further diagnose it?
blade5000
07-08-2017, 02:03 PM
have error code by vb 4.2.5
Call to undefined method vB_HumanVerify_Abstract::vB_HumanVerify_Abstract() on line 14 in /home/xxxxxx/public_html/includes/class_humanverify_new_recaptcha.php
#0 /home/xxxxxx/public_html/includes/class_humanverify.php(61): vB_HumanVerify_New_Recaptcha->vB_HumanVerify_New_Recaptcha(Object(vB_Registry))
#1 /home/xxxxxxxx/public_html/register.php(1244): vB_HumanVerify::fetch_library(Object(vB_Registry))
#2 {main}
not error
class_humanverify_new_recaptcha.php
parent::__construct($registry);
work by 7.0
is nice software ;)
RichieBoy67
07-08-2017, 02:21 PM
have error code by vb 4.2.5
Call to undefined method vB_HumanVerify_Abstract::vB_HumanVerify_Abstract() on line 14 in /home/xxxxxx/public_html/includes/class_humanverify_new_recaptcha.php
#0 /home/xxxxxx/public_html/includes/class_humanverify.php(61): vB_HumanVerify_New_Recaptcha->vB_HumanVerify_New_Recaptcha(Object(vB_Registry))
#1 /home/xxxxxxxx/public_html/register.php(1244): vB_HumanVerify::fetch_library(Object(vB_Registry))
#2 {main}not error
class_humanverify_new_recaptcha.php
parent::__construct($registry);work by 7.0
is nice software ;)
https://vborg.vbsupport.ru/showpost.php?p=2586632&postcount=217
Ordovicium
07-10-2017, 08:59 PM
On line 14 replace:
parent::vB_HumanVerify_Abstract($registry);
with:
parent::__construct($registry);
That's it. :)
Thank you for the fix. Works fine on 4.2.5
WalkingWaldo2
09-03-2017, 03:41 AM
Having issues with this MOD after upgrade to vb 4.2.5. register.php does not load if thsi eature is eanbled in Human Verification Actions setting.
Uncheck "register" box and register.php loads.
djbaxter
09-03-2017, 08:03 PM
Having issues with this MOD after upgrade to vb 4.2.5. register.php does not load if thsi eature is eanbled in Human Verification Actions setting.
Uncheck "register" box and register.php loads.
The fix has already been posted above.
See https://vborg.vbsupport.ru/showpost.php?p=2586632&postcount=217 and https://vborg.vbsupport.ru/showpost.php?p=2586632
EDIT FILE /includes/class_humanverify_new_recaptcha.php
On line 14 replace:
parent::vB_HumanVerify_Abstract($registry);
with:
parent::__construct($registry);
RichieBoy67
09-05-2017, 08:49 PM
I see this in my log:
mod_fcgid: stderr: PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; vB_HumanVerify_NewRecaptcha has a deprecated constructor in /httpdocs/includes/class_humanverify_newrecaptcha.php on line 8, referer: /register.php?
I know it is only a warning but a fix would be nice..
Line 8 is:
class vB_HumanVerify_NewRecaptcha extends vB_HumanVerify_Abstract
djbaxter
09-05-2017, 09:08 PM
I see this in my log:
mod_fcgid: stderr: PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; vB_HumanVerify_NewRecaptcha has a deprecated constructor in /httpdocs/includes/class_humanverify_newrecaptcha.php on line 8, referer: /register.php?
I know it is only a warning but a fix would be nice..
Line 8 is:
class vB_HumanVerify_NewRecaptcha extends vB_HumanVerify_Abstract
Is that after you apply the fix above?
RichieBoy67
09-05-2017, 09:10 PM
I applied that fix years ago.. been awhile.
djbaxter
09-05-2017, 09:23 PM
Within the class defined at line 8
class vB_HumanVerify_New_Recaptcha extends vB_HumanVerify_Abstract
is this at line 12
function vB_HumanVerify_New_Recaptcha(&$registry)
Could that be the referenced conflict?
RichieBoy67
09-09-2017, 07:15 PM
Thanks,
Line 8 is class vB_HumanVerify_NewRecaptcha extends vB_HumanVerify_Abstract
This is line 12: parent::__construct($registry);
djbaxter
09-09-2017, 07:30 PM
This is the first 16 lines of my version - does this not match your version?
<?php
if (!isset($GLOBALS['vbulletin']->db))
{
exit;
}
require_once(DIR . '/includes/class_vurl.php');
class vB_HumanVerify_New_Recaptcha extends vB_HumanVerify_Abstract
{
public static $verify_url = 'https://www.google.com/recaptcha/api/siteverify';
function vB_HumanVerify_New_Recaptcha(&$registry)
{
// parent::vB_HumanVerify_Abstract($registry);
parent::__construct($registry);
}
Complete file is attached.
RichieBoy67
09-09-2017, 11:18 PM
Thanks,
Mine is:
<?php
if (!isset($GLOBALS['vbulletin']->db))
{
exit;
}
require_once(DIR . '/includes/class_vurl.php');
class vB_HumanVerify_NewRecaptcha extends vB_HumanVerify_Abstract
{
function vB_HumanVerify_NewRecaptcha(&$registry)
{
parent::__construct($registry);
}
function verify_token($input)
{
djbaxter
09-10-2017, 12:15 AM
Very strange. I don't know why they would be different.
What version are you using?
Do you get the same warning if you use the version I attached (version 1.0)?
Crotan
09-14-2017, 03:27 AM
Try this:
Can we get the mod updated? I didn't even notice this until doing the rounds after updating to vBulletin 4.2.5 and php 7. Came right here to look at this thread :)
CAG CheechDogg
09-16-2017, 05:55 AM
I'm using this mod just as is and it's working fine ....
Crotan
09-16-2017, 06:15 PM
I'm using this mod just as is and it's working fine ....
Sorry the fix is for php 7+, what version of php are you running?
RichieBoy67
09-16-2017, 06:17 PM
Very strange. I don't know why they would be different.
What version are you using?
Do you get the same warning if you use the version I attached (version 1.0)?
I replaced my file with yours and all seems ok right now.
Thanks! :up:
Scyther
10-08-2017, 04:03 AM
Thanks a lot. Working fine.
Haven't been around in quite a while, sorry, but I don't do any vbulletin work any more, and I'm not even set up to test any minor changes or else I'd incorporate the fixes that have been posted. But I do have all my mods marked as reusable so if someone wants to update this or make it work with the invisible option, feel free to release it as a new mod if you want.
- kh99
ekempter
10-19-2017, 04:45 PM
I received the following from Google. Am we covered?
Dear Webmaster,
You are receiving this email because you are registered as a website administrator using reCAPTCHA, and your website is still using reCAPTCHA v1, which will be turned off on March 31, 2018.
We announced the reCAPTCHA v1 deprecation in May 2016. Starting in November 2017, a small percentage of reCAPTCHA v1 traffic will begin to show a notice informing users that the old API will soon be retired. Any calls to the v1 API will not work after March 31, 2018.
To ensure continued functionality, you’ll need to update your website to a current version of reCAPTCHA. You can learn more about reCAPTCHA v2, Invisible reCAPTCHA and reCAPTCHA Android API in our Developer’s Guide. The new APIs are simple to implement and will streamline the captcha experience for your users. If you need help, you can engage in the reCAPTCHA Google Developer Group or post to Stack Overflow with the ‘recaptcha’ tag.
We hope that your upgrade will be seamless, and we’re confident you’ll be happy with the results.
Thank you,
reCAPTCHA Support
Bulent Tekcan
10-20-2017, 03:05 AM
I got same message from google. Why our version show v1 ?
MarkFL
10-20-2017, 04:58 AM
Had you previously enabled v2 in your "Human Verification Manager?"
I got the same email notice today from google, but I hadn't installed this product until just now. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.