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 (1 - 2)
Magik5
post Nov 26 2013, 03:22 PM
Post #2


Paddle Master
**********

Group: Clan Members
Posts: 2,085
Thank(s): 30
Points: 317
Joined: 3-December 07
Member No.: 50




/^m$/i


--------------------
Go to the top of the page
 
+Quote Post
MonkeyFiend
post Nov 26 2013, 09:38 PM
Post #3


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

Reply to this topicStart new topic

 



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