vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Anti-Spam Options - reCAPTCHA v2 Human Verification (https://vborg.vbsupport.ru/showthread.php?t=315960)

kh99 12-10-2014 10:00 PM

reCAPTCHA v2 Human Verification
 
1 Attachment(s)
(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: 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 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

z3r0 12-11-2014 12:38 PM

The zip is missing the upload folder.

kh99 12-11-2014 12:40 PM

Quote:

Originally Posted by z3r0 (Post 2526749)
The zip is missing the upload folder.

Yeah, sorry, I just replaced the zip.

z3r0 12-11-2014 12:49 PM

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:

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

kh99 12-12-2014 09:22 AM

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 !!!

kh99 12-12-2014 11:32 AM

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

Quote:

Originally Posted by ozzy47 (Post 2526904)
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?

kh99 12-17-2014 03:36 PM

Quote:

Originally Posted by Gadget_Guy (Post 2527678)
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.

kh99 12-17-2014 03:39 PM

Quote:

Originally Posted by RippedCTO (Post 2527679)
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.

kh99 12-17-2014 03:42 PM

Quote:

Originally Posted by RippedCTO (Post 2527679)
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

Quote:

Originally Posted by kh99 (Post 2527682)
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.

kh99 12-17-2014 03:53 PM

Quote:

Originally Posted by Gadget_Guy (Post 2527687)
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.

z3r0 12-18-2014 06:39 AM

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?.

kh99 12-18-2014 10:37 AM

Quote:

Originally Posted by smeaglegolum (Post 2527882)
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

Quote:

Originally Posted by kh99 (Post 2527686)
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.

kh99 12-19-2014 08:03 AM

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

Quote:

Originally Posted by kh99 (Post 2528000)
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

Quote:

Originally Posted by CharlieDelta (Post 2528920)
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

Quote:

Originally Posted by ozzy47 (Post 2528924)
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

Quote:

Originally Posted by ozzy47 (Post 2529099)
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

THG 12-30-2014 09:20 AM

This works on VB5?


All times are GMT. The time now is 06:12 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01596 seconds
  • Memory Usage 1,828KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete