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 8: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
Having issues going from 7.5.5. to 8X
by Mors - 10/22/2026 5:32 PM
Slow Queries - Any Ideas?
by BellaOnline - 10/16/2026 8:34 PM
Selling a Forum?
by ECNet - 10/10/2026 2:54 PM
Who's Online Now
1 members (1 invisible), 504 guests, and 142 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 20261026)