11-Feb-2011, 12:20 PM
After acknowledging that the name and town field need increased filtering I have began to add these improvements to the code but I'm now struggling to determine the right balance between the script having enough control over these fields and inundating the administrator with unnecessary settings while at the same time overloading the code. I have below categorized all of the options into groups and I have put what I think are the appropriate default actions. Please reply saying whether particular options are useful or not and that the actions are right or not.
Detect link in name field (reject)
Detect link in town field (ban)
Detect repeating characters in name field (reject)
Detect repeating characters in town field (reject)
Detect repeating characters in comment field (reject)
(3 or more repetitions)
Dummy towns (reject)
Reserved towns (reject)
Banned towns (ban)
(Ok a reserved town may not make much sense but it's worth remembering that some users change the town field to store other information)
Detect swear words in name field (approve)
Detect swear words in town field (approve)
Detect swear words in website field (approve)
(Question: Should it detect whole words only or parts of words?)
(if whole words then ban, if parts of words then approve)
Detect spam words in name field (approve)
Detect spam words in town field (approve)
Detect spam words in website field (approve)
(Question: Should it detect whole words only or parts of words?)
(if whole words then ban, if parts of words then approve)
Detect link in name field (reject)
Detect link in town field (ban)
Detect repeating characters in name field (reject)
Detect repeating characters in town field (reject)
Detect repeating characters in comment field (reject)
(3 or more repetitions)
Dummy towns (reject)
Reserved towns (reject)
Banned towns (ban)
(Ok a reserved town may not make much sense but it's worth remembering that some users change the town field to store other information)
Detect swear words in name field (approve)
Detect swear words in town field (approve)
Detect swear words in website field (approve)
(Question: Should it detect whole words only or parts of words?)
(if whole words then ban, if parts of words then approve)
Detect spam words in name field (approve)
Detect spam words in town field (approve)
Detect spam words in website field (approve)
(Question: Should it detect whole words only or parts of words?)
(if whole words then ban, if parts of words then approve)