MyBB Community Forums

Full Version: [DEV][1.8] reCaptcha plugin for threads, replies, etc.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
This plugin allows you to use reCaptcha v2 for verification if user is a human or not.

source: https://github.com/ryczypior/recaptcha-plugin-for-mybb

In this version only new thread and replies (also quick replies) works. Support for PMs is planned in future releases.

reCaptcha v2 plugin for MyBB

Instalation:
  • Copy all folders and files from inc folder into MyBB inc directory.
  • In your forum's Administrator Control Panel go to plugins section and install reCaptcha v2 plugin for MyBB
  • Go to https://www.google.com/recaptcha/admin/create to create your site and secret keys for reCaptcha
  • In your forum'S ACP config section (plugin settings) select "reCaptcha v2 plugin for MyBB", copy and paste your keys into designated fields
  • In this section you also need to specify which use groups needs to be checked by reCaptcha.
After you save these settings, reCaptcha field should be visible by groups you're enabled for reCaptcha checks. If you need more information about reCaptcha, please read this FAQ: https://developers.google.com/recaptcha/docs/faq

Requirements:
  • MyBB 1.8+
  • curl - for HTTP requests to reCaptcha verification service
GitHub: https://github.com/ryczypior/recaptcha-plugin-for-mybb
Hi, thats great, thank you!

So it uses same API key as MyBB does for registration? I use reCaptcha invisible (anyway I feel that reCaptcha v2 was better, so I will revert back sooner or later - why? Since I have set invisible reCaptcha, my board has been spammed hard by spam bots).

Would be nice to add settings - show recaptcha for first X posts/threads instead of usegroups settings (admin can select).

Is it compatible with CKeditor (Rin editor from @martec)? I will try soon, thank you!
No, it uses reCaptcha v2 only and it not depends of MyBB captcha.class (you can turn off captcha for registration and use this plugin only for threads and posts).
I'll add some additional options in next days.
@ryczypior - works fine, thank you! Great job!
Great. Plan on support for Registration?
@DrXotick - No, because it already exists for registration form (not as a plugin, but as a built feature)
(2018-01-08, 09:32 PM)ryczypior Wrote: [ -> ]@DrXotick - No, because it already exists for registration form (not as a plugin, but as a built feature)

But I see no captcha for regustration form. It is set by defaultĀ  inĀ  invisible mode? Or how to test this "built in feature" on registration?
^ check it at General Configuration settings of forum admin panel

forum admin panel >> configuration [settings] >> General Configuration >>
CAPTCHA Images for Registration & Posting
Ok, but if I choose reCaptcha from this menu, on the registration form guests will see the classic message: V1 Shutdown 2018-03-31

The plugin use reCaptcha 2, and neither Mybb or plugin have a separate option to select V2 on registration.

I use Security Question but a second captacha will be safer.

So, in order to not interract with the V2 plugin above, I follow the advice from post #3, by deactivating captcha from Forum admin panel >> configuration [settings] >> General Configuration >>
CAPTCHA Images for Registration & Posting
^ please select NoCaptcha ReCaptcha from above given settings option
And generate new set of the keys from Google ReCaptcha site & use them
Pages: 1 2