Previous Thread
Next Thread
Print Thread
Hop To
#215931 07/28/2008 12:48 PM
Joined: Jan 2007
Posts: 72
journeyman
journeyman
Joined: Jan 2007
Posts: 72
Hi,

Are you able to edit a username?

Thanks

Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
I'm afraid not, just the display name.
(Well not through the CP, dunno if it's possible via phpMyAdmin. Anyone?)

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
SQL Query
UPDATE ubbt_USERS SET USER_LOGIN_NAME='NewUsername'
WHERE USER_LOGIN_NAME='OldUsername'

the KEY is that the NewUsername be unique..

this is the name that the user logs in as..

the display name is a different beast and can already be changed in the admin cpanel or (if enabled) the user can change it themselves in their profile wink

Joined: Jan 2007
Posts: 72
journeyman
journeyman
Joined: Jan 2007
Posts: 72
Cool. Thanks a lot. smile


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
Who's Online Now
1 members (Ruben), 1,277 guests, and 207 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)