Previous Thread
Next Thread
Print Thread
Hop To
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD
Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
Sometimes a Captcha is a pain in the arse to add, but you still want to keep bots from signing up on your forms and want a way to somehow filter them out from the real people.

I use this and it works a high percentage of the time.

What you do in the basic form is to have your text boxes have name/ids that are like "xxName", "xxAge" etc etc.. the user really doesn't know or care what you name the fields anyway..

Then what you do is also add some hidden fields that bots tend to like to fill in too.. they are kinda dumb that way (don't know why).. those fields (hidden) are name/ids of "name", "age" etc etc..

Now when the forum submits and if any of those hidden fields are filled in (ie: a bot stopped by and just slammed in values), you can decide to NOT take the info and put it in your DB or backend. Heck, you can even give them the nice 'Thank you for registering (you sh*thead)' screen wink

2c

ps: kudos to my friend WoLPH-UNiT for the original idea.

Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
gotta love these tricks!


[Linked Image from siemons.org]
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD
Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
yah, the bot code is sailing along doing getElementById stuff and not really caring if type="hidden"

so it kinda trips them up smile

Joined: Aug 2006
Posts: 1,358
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,358
Originally Posted by Sirdude
and not really caring if type="hidden"

well, even if they do care, you can hide it regardless of whether you make the type hidden or not.

Maybe a good strategy to do right away, because spambots might be stupid, but they learn.


[Linked Image from siemons.org]
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD
Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
yah, matter of fact i forgot to mention this.

it's even better to use css to do the 'hiding', because spambots don't normally want to delve into the DOM that far.

so rather than type="hidden", i do class="good-[censored]" or whatever..

then the .css does the display:none;

it makes them have to think even more wink

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
yeh but a lot of the time the creators of the bots set the items up manually, so it depends on if they actually want to target your site specifically


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD
Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
i knew giz had a 'yah, but' left in him.. i didn't claim it to be the end all.. just a thingie to file away for future use..

2c

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Always do punkin wink... and hey, the captcha in ubb7 was one of my "rick, please please please please" features, so this thread is a "yeah, but" in itself wink...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD
Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
you sound like lou costello.. "heeeey yaaaaah buuuut..."

(old guy joke) wink

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
:cracks whip: yeaho boy wink


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
It actually is a good idea. I haven't used it but a private paid site I joined actually wrote about this and posted for their users a few years ago. Guess they were ahead of the game.

Well I'm going to probably try and setup all the CAPTCHA and Gallery stuff for a production site I Admin for tonight.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
0 members (), 404 guests, and 136 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)