|
|
Joined: Dec 2000
Posts: 39
User
|
User
Joined: Dec 2000
Posts: 39 |
I have a message posted by someone on our board with no username displayed. There isn't a blank username account that shows up when viewing the User List. Luckily this person is not posting anything offensive, hard to track who he/she is to delete []/w3timages/icons/smile.gif[/]
Is there a way to prevent this from happening?
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
Do you have special characters allowed for usernames? This is usually the culprit for this as this allows them to use html characters that do not display in a browser.
UBB.threads Developer
|
|
|
|
Joined: Dec 2000
Posts: 39
User
|
User
Joined: Dec 2000
Posts: 39 |
I have the following:
$config['specialc']= 0;
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Scream, the $config[specialc] setting checks only the html tags: <, > and beginning and ending space characters. You need to tighten it up to allow on alphanumeric characters [a-zA-Z0-9_] as the docs states. I was able to register myself on this board with some very bad characters as you can see.
|
|
|
|
Joined: May 2000
Posts: 125
Member
|
Member
Joined: May 2000
Posts: 125 |
Just change line 26 (the one just after the comment // No special characters)
from
if ($config[specialc]) {
to
if ([:red]!$config[specialc]) {
|
|
|
|
Joined: Dec 2000
Posts: 39
User
|
User
Joined: Dec 2000
Posts: 39 |
Thanks, I made that change. That is for all new registrations though correct? How do I disallow this particular person from posting again as the "invisible man?"
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|