Previous Thread
Next Thread
Print Thread
Hop To
Joined: Aug 2007
Posts: 7
W
stranger
stranger
W Offline
Joined: Aug 2007
Posts: 7
[7.2.2] Once you change your display name, you can't change it back to your username...even if no other user is using your selection as a username or display name.

When a user tries to change their Display Name, the ubb system apparently checks to see if the name already exists in the user database (both against USER_LOGIN_NAME and USER_DISPLAY_NAME it appears, although I have not looked at the code).

The problem is that if a user changes his display name, and then later decides he/she wants to change it back to their username, they can't, and they get the message "This Display Name is already in use. Please choose a different Display Name. " (even though the only way the name is used is by the same user's username).

The duplicate check SQL statement should have an (AND `USER_ID` != '8327') for example so that it doesn't try to match itself.

Greg

Last edited by Sirdude; 11/09/2007 4:03 AM.
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Good Catch wink


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
7.3 Fix0red smile


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
0 members (), 206 guests, and 158 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)