Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
reCAPTCHA v2 Human Verification Details »
reCAPTCHA v2 Human Verification
Mod Version: 1.0.0, by kh99 (Senior Member) kh99 is offline
Developer Last Online: Nov 2017 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (80 votes - 4.79 average) Installs: 540
Released: 11 Dec 2014 Last Update: 22 Feb 2015 Downloads: 3265
Not Supported Uses Plugins Template Edits Additional Files Re-usable Code Translations  

(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)
  • 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

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	sg2.jpg
Views:	2773
Size:	99.3 KB
ID:	151269   Click image for larger version

Name:	sg1.png
Views:	1714
Size:	50.2 KB
ID:	151936  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #91  
Old 15 Feb 2015, 15:44
phriek phriek is offline
 
Join Date: Mar 2010
Originally Posted by Barbaro View Post
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by phriek; 15 Feb 2015 at 15:54.
Reply With Quote
  #92  
Old 22 Feb 2015, 18:27
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
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).

Last edited by kh99; 22 Feb 2015 at 18:35.
Reply With Quote
  #93  
Old 23 Feb 2015, 00:51
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Originally Posted by Barbaro View Post
hello

nobody knows how to fix it?
Any luck with the new version?
Reply With Quote
  #94  
Old 25 Feb 2015, 21:30
Barbaro Barbaro is offline
 
Join Date: Apr 2008
hello

Still does not work for me
Reply With Quote
  #95  
Old 25 Feb 2015, 21:46
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Originally Posted by Barbaro View Post
hello

Still does not work for me
OK, did you try the test link?
Reply With Quote
  #96  
Old 25 Feb 2015, 21:55
Barbaro Barbaro is offline
 
Join Date: Apr 2008
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
Reply With Quote
  #97  
Old 25 Feb 2015, 22:10
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Originally Posted by Barbaro View Post
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.
Reply With Quote
  #98  
Old 25 Feb 2015, 22:13
Barbaro Barbaro is offline
 
Join Date: Apr 2008
I'll compile apache enabling SSL and comment.

thank you very much
Reply With Quote
  #99  
Old 25 Feb 2015, 22:29
Barbaro Barbaro is offline
 
Join Date: Apr 2008
perfect now

thank you very much

- curl_exec function is not disabled
No Configuration Errors Found

Test Verification:
Reply With Quote
  #100  
Old 26 Feb 2015, 00:59
xxfullclipxx xxfullclipxx is offline
 
Join Date: Feb 2014
works flawless thanks buddy
Reply With Quote
  #101  
Old 03 Mar 2015, 16:47
tony2013 tony2013 is offline
 
Join Date: Mar 2013
Work great!

thanks
Reply With Quote
  #102  
Old 04 Mar 2015, 22:19
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Real name: Paul L
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.
__________________
"It is a capital mistake to theorize in advance of the facts." - Sherlock Holmes
Kubuntu Forums . Net | ZB BLOCK | StopForumSpam
Reply With Quote
  #103  
Old 04 Mar 2015, 23:04
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Originally Posted by Snowhog View Post
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.
Reply With Quote
  #104  
Old 17 Mar 2015, 18:35
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
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?
Reply With Quote
  #105  
Old 21 Mar 2015, 17:54
LOGECT's Avatar
LOGECT LOGECT is offline
 
Join Date: Jun 2010
Originally Posted by kh99 View Post
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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
LOGECT
Reply With Quote
Reply

Tags
recaptcha


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 20:02.

Layout Options | Width: Wide Color: