Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
0 registered (), 32 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 12/29/03
Posts: 1995
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#95785 - 05/12/00 08: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
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#95786 - 05/12/00 09: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 09: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 01:13 PM 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 09: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



Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image