Back to vBulletin 4.x Add-ons

[BetoPho] reCaptcha v3 Login Integration
Mod Version: 1.1.0, by BetoPho

vB Version: 4.2.5 Rating: (3 votes - 4.67 average) Installs: 33
Released: 04 Jul 2019 Last Update: 06 Jul 2019 Downloads: 253
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.

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

Instructions
  1. (Preparation) Have your reCaptcha v3 keys ready first. https://www.google.com/recaptcha/intro/v3.html.
  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:
    HTML Code:
    <input type="hidden" name="btp_rcaptcha_response" id="btp_rcaptcha_input">
    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:
    HTML Code:
    action="login.php?do=login"
    When found, insert the product code in the #1 section into anywhere inside of the form. For example, it will look like this:
    Code:
    <form id="navbar_loginform" action="login.php?do=login" method="post" (other codes...)>
    ...
    <input type="hidden" name="btp_rcaptcha_response" id="btp_rcaptcha_input">
    ...
    </form>
    Then it will work.

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

Changelog
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

File Type: %1$s product-btp_rcaptcha_v1.1.0.xml (14.0 KB, 264 downloads)

Screenshots

Click image for larger version
Name:	btp_rcaptcha_screenshot_options.jpg
Views:	414
Size:	122.4 KB
ID:	157415  

Similar Mods

Miscellaneous Hacks reCAPTCHA!vB - Stop spam. Read books. vBulletin 3.6 Add-ons
Miscellaneous Hacks reCAPTCHA!vB - MailHide : Tired of spam? Fight back. vBulletin 3.6 Add-ons

vblts.ru supports vBulletin®, 2022-2024