Register Members List Search Today's Posts Mark Forums Read

Mod Options
[BetoPho] reCaptcha v3 Login Integration Details »
[BetoPho] reCaptcha v3 Login Integration
Mod Version: 1.1.0, by BetoPho (Coder) BetoPho is offline
Developer Last Online: Oct 2019 I like it Show Printable Version Email this Page

vB Version: 4.2.5 Rating: (2 votes - 4.50 average) Installs: 23
Released: 04 Jul 2019 Last Update: 06 Jul 2019 Downloads: 69
Supported Uses Plugins Template Edits Auto-Template External Content  

There are several requests to make this around the forum, so I guess I would contribute one.

Product Information
Provide reCaptcha intergration for vBulletin 4's login process that can check for bots or unsafe traffics using Google's famous reCaptcha engine.

Main Features
  • Ultilizing reCaptcha v3 advantages: invisible checks that can determine how safe a user/traffic is, from very likely human to very likely bot, using reCaptcha's 'score' system.
  • Performing specific actions to unsafe users/traffics, reject the login or redirect to another URL.
  • Bad traffic users captured by the product will just be displayed with an invalid login screen.
  • Ability to exclude users that won't be checked by reCaptcha.
  • Lightweight and easy to configure.
  • Simple installation: Install - Get reCaptcha keys - Configure the action - Done.

Future Versions Planning
  • Expanding integration with other forum sections, like thread/post posting, PM, album, etc.
  • Expanding integration with other activities, like register, search, page viewing, etc.
  • Combining suport with reCaptcha v2, adding additional layer of human verification, for example, only when reCaptcha v3 detected likely unsafe traffic, verification form from v2 will show for the user to verify.
  • Admincp Dashboard to view all failed login attemps captured by reCaptcha.
  • Support for vBulletin 3 & 5.
  • You name it.

  • Files upload: none
  • Plugins: 6
  • Templates: 3 (2 templates, 1 CSS template)
  • Phrases: 2

  1. (Preparation) Have your reCaptcha v3 keys ready first. reCaptcha homepage.
  2. Import the product XML file using Product section.
  3. Go to Options > [BetoPho] reCaptcha Integration.
  4. Insert the keys first (this product won't work without the keys).
  5. Configure and start using.

Additional Instructions
  1. To check if automatic template works, after putting the keys and configuring everything, view the homepage source (with the login form) as a Guest user and search for this code:

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

    If found, it's good. If not found, it means you are using modified templates/style.
  2. In case it's not found, modify the template with the login form (usually 'header' template, might be other one depends on your style), search for the login form:

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

    When found, insert the product code in the #1 section into anywhere inside of the form. For example, it will look like this:

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

    Then it will work.

Let me know if you have any questions or suggestions.
Thank you

1.0.0 - Jul 05 2019
  • Initial Release
1.1.0 - Jul 07 2019
  • Fix Admincp/Modcp locked out issue
  • Cleaning up codes and preparation for additional features

Download Now

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


Click image for larger version

Name:	btp_rcaptcha_screenshot_options.jpg
Views:	130
Size:	122.4 KB
ID:	157415  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks reCAPTCHA!vB - Stop spam. Read books. magnus vBulletin 3.6 Add-ons 188 10 Sep 2012 09:55
Miscellaneous Hacks reCAPTCHA!vB - MailHide : Tired of spam? Fight back. magnus vBulletin 3.6 Add-ons 7 20 Jul 2008 00:44

Old 28 Jul 2019, 23:08
dknelson dknelson is offline
Join Date: Oct 2004
One more question. Hopefully the last for now. How do I get rid of the Captcha banner? I deleted it hide it but it still shows up. It adds text to the footer but doesn't get rid of the blue graphics at the bottom right of the forum.
Reply With Quote
Old 29 Jul 2019, 13:20
BetoPho BetoPho is offline
Join Date: Nov 2014
By default if you choose 'Yes' in the 'Hide reCaptcha badge', the badge will hide, but then the footer text will show due to Google policy on reCaptcha v3. Then you can manually remove the footer text by edit the 'btp_rcaptcha_notice' template.

The footer text is to ensure the site complies with Google policy as I've heard of them devalidating a site because of missing both the badge + footer text. You might hide both at your own risk.
Reply With Quote
Old 29 Jul 2019, 15:52
dknelson dknelson is offline
Join Date: Oct 2004
I understand how it's supposed to work. What I'm saying though is that the captcha badge doesn't go away regardless of being checked to hide it or not. Hiding it DOES add the text to the footer, which I have no problem with. But the badge remains. That is what I want to get rid of.
Reply With Quote
Old 29 Jul 2019, 16:52
Meister2017 Meister2017 is offline
Join Date: Sep 2017
Originally Posted by dknelson View Post
Thanks. I have it installed but honestly don't know if it's doing anything or not. If it is supposed to stop spam registrations, it doesn't seem to help much. Will give it a few days.
This plugin does not prevent spam registration but only posting spambots.
Reply With Quote
Old 08 Aug 2019, 04:23
CvP's Avatar
CvP CvP is offline
Join Date: Aug 2006
Originally Posted by BetoPho View Post
  • Being locked out from logging into Admincp/Modcp
    This issue is fixed since v1.1.0.
Just installed by downloading from here. Got locked out
Reply With Quote
Old 08 Aug 2019, 04:29
CvP's Avatar
CvP CvP is offline
Join Date: Aug 2006
In the login_failure/login_verify_success hook, you should use these variables instead of hardcoded admincp/modcp:


Last edited by CvP; 08 Aug 2019 at 04:46.
Reply With Quote
Old 08 Aug 2019, 06:07
BetoPho BetoPho is offline
Join Date: Nov 2014
Originally Posted by CvP View Post
In the login_failure/login_verify_success hook, you should use these variables instead of hardcoded admincp/modcp:

Thank you. I actually modified that already and will be included in the upcoming release
Reply With Quote
Old 17 Aug 2019, 00:43
deadlyruler deadlyruler is offline
Join Date: Jul 2013
The latest version 1.1.0 locked me out of my administration panel with the error Parse error: syntax error, unexpected T_BOOLEAN_AND, expecting ')' in public_html/forum/includes/functions_login.php(203) : eval()'d code on line 1
Unable to add cookies, header already sent.
File: public_html/forum/includes/functions_login.php(203) : eval()'d code
Line: 1
Reply With Quote
Old 31 Aug 2019, 22:47
cm826 cm826 is offline
Join Date: Jul 2015
Can you modify this plugin and make it to verify Private Message action instead of login? I understand the new functionality will become available in future iterations but I desperately need a captcha method to counter Private Message Spam
Reply With Quote
Old 22 Sep 2019, 17:37
dknelson dknelson is offline
Join Date: Oct 2004
I had to remove this. It created a problem where people couldn't login to the site except at the upper right corner, nabber. Anytime there was as login page such as somebody trying to reset their password or whatever, it gave a username/passeword not recognized error.
Reply With Quote
Old 25 Sep 2019, 14:17
JnGirard JnGirard is offline
Join Date: Dec 2017
Hi Betopho,
- do you plan to release an upgrade version to get us replace the deprecated reCaptcha v1 of vbulletin4 ?
- if yes, will there be an option to just use it on, let say, register only, and not enable your native login protection feature ?
Reply With Quote
Old 01 Oct 2019, 15:00
dennisuello dennisuello is offline
Join Date: Mar 2005
Real name: Denis
I get an error

'input is null'


grecaptcha.ready(function() {
grecaptcha.execute("6Len8bMUAAAAAHw9MGP3IRwSY5xeWqb76uxjAiTi", {action: "login"}).then(function(token) {
let input = document.getElementById("btp_rcaptcha_input");
input.value = token;
Reply With Quote

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 15:31.

Layout Options | Width: Wide Color: