|
Joined: Jun 2006
Posts: 287
enthusiast
|
enthusiast
Joined: Jun 2006
Posts: 287 |
A member asked me if I could change his username. My first assumption is that it can be changed by modifying the database but I don't want to assume anything. Is this possible and is it as simple as editing the user in the database or are there more steps involved?
Ford diesel master technician by day... Webmaster by night! FordDoctorsDTS.com running UBB Threads 7.5.4.2p2
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
That does it but really the username is only for login and all board members 'see' the display name, which can be modified in Control Panel. now, if he just got divorced and doesn't want wifey knowing his username or whatever... you can change the ubbt_USERS table USER_LOGIN_NAME and he's good to go
|
|
|
|
Joined: Jun 2006
Posts: 16,292 Likes: 116
|
Joined: Jun 2006
Posts: 16,292 Likes: 116 |
I'd like to see some control to update it, either as an admin only feature or something...
|
|
|
|
Joined: Jun 2006
Posts: 287
enthusiast
|
enthusiast
Joined: Jun 2006
Posts: 287 |
That does it but really the username is only for login and all board members 'see' the display name, which can be modified in Control Panel. now, if he just got divorced and doesn't want wifey knowing his username or whatever... you can change the ubbt_USERS table USER_LOGIN_NAME and he's good to go The guy simply wants to streamline his usernames in all of the websites he visits. I have no problem with this - I just wanted to be sure it could be done with no ill-effects. I'd like to see some control to update it, either as an admin only feature or something... +1 on that though I will say this is the first request I have gotten for this in the 5 years my forum has been running.
Ford diesel master technician by day... Webmaster by night! FordDoctorsDTS.com running UBB Threads 7.5.4.2p2
|
|
|
|
Joined: Dec 2003
Posts: 6,560 Likes: 78
|
Joined: Dec 2003
Posts: 6,560 Likes: 78 |
I am not so sure about this.
What would happen if you have a duplicate USER_LOGIN_NAME in the table? For example I register as John Doe and display name is Johnny. What happens when another user registers as John Doe and display name is John and has a different email.
Will that work?
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
the DB structure allows dups, but i assume since he is DB diving he'll make sure the _new_ user login name isn't found elsewhere in the DB
|
|
|
|
Joined: Dec 2003
Posts: 6,560 Likes: 78
|
Joined: Dec 2003
Posts: 6,560 Likes: 78 |
OTAY. I do the same. But I thought the query when registering was a "and" to check for dups. If doing some db diving I was not certain what happens if you enter a dup user name.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
yes, the scripts all prevent dups, but when you dive into the DB, unless there are indices set up to force UNIQUE or a PRIMARY KEY kinda dealio (which there aren't for the ubbt_USERS table), it will allow it
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
We have the ability to change user's login names via the control panel in v8.
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
We have the ability to change user's login names via the control panel in v8. I assume both display name and/or login name
|
|
|
|
Joined: Jun 2006
Posts: 287
enthusiast
|
enthusiast
Joined: Jun 2006
Posts: 287 |
Changing the database worked fine with no ill-effects. User is logging in and posting with new username.
Ford diesel master technician by day... Webmaster by night! FordDoctorsDTS.com running UBB Threads 7.5.4.2p2
|
|
|
0 members (),
396
guests, and
110
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|