IPB





Welcome Guest ( Log In | Register )

> vbulletin anti-spam
MonkeyFiend
post Nov 26 2013, 10:44 AM
Post #1


Security and Projects
**********

Group: Clan Dogsbody
Posts: 4,687
Thank(s): 1098
Points: 2,440
Joined: 31-August 07
From: A Magical Place, with toys in the million, all under one roof
Member No.: 1




How to add an extra registration question to frustrate human-assisted bot registration?

AdminCP -> User Profile Fields -> Add New User Profile Field

Profile Field Type: Single-Line Text Field
<<Continue>>

Use the following information when creating the Profile Field:

Title: Anti-spam Protection


Description: Enter the first character of the word "Monkey"
(Note: Adjust the title to the question you want to ask)


Default Value: sausages
(Note: can anything except a valid answer!)

Field Required: Yes, at registration and profile updating
Field Editable by User: Only at registration
Private Field: Yes
Field Searchable on Members List: No
Show on Members List: No

Regular Expression: ^[mM]$

Ahh regex, bane of my life. The above allows either upper or lowercase M/m as an acceptable answer. Similar can be done with words e.g. ^yes|YES$


--------------------

Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
MonkeyFiend
post Nov 26 2013, 09:38 PM
Post #2


Security and Projects
**********

Group: Clan Dogsbody
Posts: 4,687
Thank(s): 1098
Points: 2,440
Joined: 31-August 07
From: A Magical Place, with toys in the million, all under one roof
Member No.: 1




I fucking hate regex tongue.gif


--------------------

Go to the top of the page
 
+Quote Post

Posts in this topic
- MonkeyFiend   vbulletin anti-spam   Nov 26 2013, 10:44 AM
- - Magik5   /^m$/i   Nov 26 2013, 03:22 PM
- - MonkeyFiend   I fucking hate regex   Nov 26 2013, 09:38 PM


Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 24th November 2024 - 07:24 AM
Sneaky Monkeys Clan :: MonkeyFiend.com