News:

Wondering if this will always be free?  See why free is better.

Main Menu

hCaptcha for SMF

Started by vbgamer45, April 14, 2020, 11:12:56 AM

Previous topic - Next topic

vbgamer45

Link to the mod

hCaptcha for SMF

About

hCaptcha is degined to keep out bots, protects user privacy and rewards website owners.

This modification allows you to use hCaptcha instead of the built-in Visual Verification system. It supports the SMF 2.0.x and 2.1.x series.

Features

  • Use hCaptcha on your forum in place of or in combination with the built-in verification options.
  • Support for built-in hCaptcha themes

How to Use

You can enable hCaptcha by going to:

Admin -> Configuration -> Security and Moderation -> Anti-Spam

A set of keys are required for operation of hCaptcha A link is provided in the settings to register for a key pair.

Known Issues

  • The error messages are the built-in ones, so they will talk about letters not being filled in or matching.

License

This code is licensed under the terms of the BSD 3-Clause License. SMF code used in this mod is copyright Simple Machines.

Portions code is copyright Michael Johnson (motokochan) based on reCAPTCHA for SMF https://custom.simplemachines.org/mods/index.php?mod=1044

Acknowledgements

"SMF" and "Simple Machines" are trademarks of Simple Machines.

Version History

See CHANGELOG

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Shambles

Hmm... not sure I like the sound of this.

QuoteWhen you use hCaptcha, companies bid on the work your users do as they prove their humanity.

Sounds like you'll be helping to train bots  ???  Change my mind.

vbgamer45

It's the same thing reCaptcha. The ocr technology,photos people are the labor for free.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

-Rock Lee-

It seems interesting it would be a matter of proving that works, great job @vbgamer45!


Regards!
¡Regresando como cual Fenix! ~ Bomber Code
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

shadav

well....
I was going to try this, as I can not use smf's built in captcha, nor recapthca
(I don't have a clue what messed those up...too many mods)

but.....
when I go to try and sign up for keys....
it seems it's not working on their site  :o
everytime I click submit get error of please complete the form
oopssss

vbgamer45

Strange. Do you have a different email than normal? If not I would contact them on contact us.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

shadav

nope, was using yahoo....
i sent them an email to their support...
hopefully they fix it

Arantor

Yahoo is a truly horrible provider to get email to.

shadav

Quote from: Arantor on April 27, 2020, 11:17:34 AM
Yahoo is a truly horrible provider to get email to.
:laugh: yeah well....been using it for 20 some odd years....stuck with it til it dies  :laugh:

SilverKnight

Thank you for this mod, this should be added to SMF in general these days, built in captcha is useless against today's A.I.

vbgamer45

Update!

Version 2.0
+Adds support for SMF 2.1!
!Fixed bug in SMF 2.0.x with questions and answers.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Shades.

Just installed on 2.0.18 and cant get the built in image verification to work with this. All that shows is ":" under the hcaptcha.

Image below shows the contact page mod but it does the same on the registration page too.
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

vbgamer45

Do you have any questions and answers? for verification?
What do you have on the settings for registration
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Shades.

Quote from: vbgamer45 on December 10, 2021, 10:26:03 AMDo you have any questions and answers? for verification?
What do you have on the settings for registration
No questions & answers was just trying to use the built in image verification with hcaptcha too.

Here is my registration settings and Anti-Spam settings:
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

vbgamer45

Try changing the visual verifaction option to none and see if it helps
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Shades.

Yes I have done that and the ":" disappears but my question is, why won't they work together (with both checked as on)? Or was it intended to work with both on or just one or the other? ???  O:)

Just asking cause it says "hCaptcha settings are below. If you don't want the built-in image verification, you must set it to none." So that's telling me I can use both at same time optionally. ;)

Also I just now tested and it works with the questions but not with the verification image. ;)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

vbgamer45

This mod should be one or the other basically hcaptcha replaces image verification option
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Shades.

I just installed a fresh copy of 2.0.18 with no mods except this one and still not working properly. I see the following errors in admin:

QuoteGuest
Type of error: Undefined
https://*****.com/index.php?action=registerApply
8: Undefined offset: 1
File: /home2/*****/public_html/*****/Themes/default/GenericControls.template.php (registration_form sub template - eval?)
Line: 353

Also Line 352 same error message

On the registration page it shows the hcaptcha, the question & answer box, and a ":" with a box under it but no image verification.
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

vbgamer45

And image verification is set to none?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Shades.

No all are turned on...it works with the image verification off but I thought its all supposed to work on together?
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Advertisement: