Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
1 registered (1 invisible), 20 Guests and 22 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 02/13/08
Posts: 1
Top Posters (30 Days)
Ruben Rocha 103
Rick 81
Mark S 72
Thelockman 56
Gizmo 50
driv 35
Sirdude 30
ntdoc 30
packlite 24
AllenAyres 22
Latest Photos
bear test
Beach Barbie-Q
Sunset
Accept the challenge!
Trees
Topic Options
Rate This Topic
#95785 - 05/12/00 05:51 PM usernames and banned words?
Anonymous
Unregistered


Looked around, but didn't find this one.

I had a user named Shelley sign up, and she got a "Can't register you because your username contains 'hell'" message.

Why is this?

First, I have 'hell' in brackets {hell} so that 'hello' isn't turned into ****o. Second, that means I can't have usernames like "cassie", either.

Is there a way around this, to fix this, or is it a 'live with' it situation. I have to have banned words, and yes, I know you can get around them.

------------------
That which does not kill me does not kill me.

Top
#95786 - 05/12/00 06:16 PM Re: usernames and banned words?
Anonymous
Unregistered


5.45c - bug confirmed (yeah, I think this is a bug, so could Khârn please move it over there? Thx.)

Relevant code is in ubbmisc.cgi, sub RegSubmit.

Search for:
[CODE]CHECKCENSORLIST: for (@censored) {
if (m/({)(.*)(})/) {
$_ = ("$2");
}
if ($UserName =~ /$_/i) {
$BadWord = "true";
$CensorWord = $_;
last CHECKCENSORLIST;
}[/CODE]Possible fix (change to):
[CODE]CHECKCENSORLIST: for (@censored) {
if (m/({)(.*)(})/) {
$_ = ("$2");
$wordonly=1;
}
if ((($UserName =~ /$_/i) && !$wordonly) | | (($UserName =~ /b$_b/i))) {
$BadWord = "true";
$CensorWord = $_;
last CHECKCENSORLIST;
}[/CODE]Comments from other bug swatters?

(edit: there are two pipes in the message above (| |) - be sure to remove the space between them when copying the code!)

Graeme

[This message has been edited by Graeme (edited 05-12-2000).]

Top
#95787 - 05/12/00 06:35 PM Re: usernames and banned words?
Anonymous
Unregistered


Many thanks for the fast reply. I didn't think of it as a "bug", but a bad feature. Microsoft brainwashing, I guess.

Top
#95788 - 01/09/01 10:13 AM Re: usernames and banned words?
Anonymous
Unregistered


Searched the versions page to see if this "bug" had been fixed in a later version of UBB, but could not find the answer. Does anyone know?

Thanks for your help!

Top
#95789 - 01/09/01 06:19 PM Re: usernames and banned words?
Anonymous
Unregistered


Not sure - doesn't appear to be at first glance.

Surprised no one has bugged us about this in 7 months.

Moving to bugs for investigation.

Graeme

Top


Moderator:  AllenAyres, Gizmo, Ian, Ron M 
Shout Box

Today's Birthdays
theregit
Recent Topics
New members don't get access and are not displayed in the config panel
by Yomar
Yesterday at 03:32 AM
How to Change Link Color / Underline in styles?
by ECNet
01/07/09 10:00 PM
Chaging the "max online" number and date
by wanted
01/07/09 02:22 PM
7.4.1. In Threaded Mode - "Mark All Read" Doesn't Work
by packlite
01/07/09 10:26 AM
Custom island with sql connection
by Robje01
01/07/09 09:13 AM
Forum Stats
4296 Members
33 Forums
30687 Topics
156017 Posts

Max Online: 978 @ 06/24/07 08:19 PM