Previous Thread
Next Thread
Print Thread
Rate Thread
#210217 04/19/2001 12:18 PM
Joined: Dec 2000
Posts: 39
User
User
Offline
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?


Sponsored Links
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
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
Sally #210219 04/20/2001 3:42 AM
Joined: Dec 2000
Posts: 39
User
User
Offline
Joined: Dec 2000
Posts: 39
I have the following:

$config['specialc']= 0;


Sally #210220 04/21/2001 11:45 AM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
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
Offline
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]) {



Sponsored Links
tym #210222 04/30/2001 10:14 AM
Joined: Dec 2000
Posts: 39
User
User
Offline
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?"


Joined: May 2000
Posts: 125
Member
Member
Offline
Joined: May 2000
Posts: 125
You'll need a database tool like phpMyAdmin http://phpwizard.net/projects/phpMyAdmin/ or MysqlMan http://www.gossamer-threads.com/scripts/mysqlman/index.htm to access the tables and do what you wand with the records (like delete).
Be careful with these tools!



Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,575
Posts293,931
Members13,823
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)