Log in

View Full Version : changing members username


dkawika
09-04-2008, 12:31 AM
If you are editing the username of an existing member, you should update your counters afterwards. how i do that?

and that page comes up showing all the different stuff, do i change any of the stats or just leave them alone?

ShawneyJ
09-04-2008, 12:52 AM
you just change the name and save thats it.

i guess you can go to>Maintenance>>Update Counters>>Update User Titles and Ranks

Lynne
09-04-2008, 12:54 AM
I've never updated counters after changing a username.

Update Counters is under the Maintenance drop-down.

ShawneyJ
09-04-2008, 12:56 AM
agreed, after i change username i just refesh i guess lol.

Dismounted
09-04-2008, 07:31 AM
You shouldn't need to update counters after changing a username.

Opserty
09-04-2008, 08:55 AM
There is an "Update User Names" option on that page. I guess you only need to run it if you see the old username still on your site.

Lynne
09-04-2008, 02:24 PM
There is an "Update User Names" option on that page. I guess you only need to run it if you see the old username still on your site.
Interesting. From the help:
Update User Names:
This will update user names everywhere they occur on your forums. This may need to be done after changing a user's name in the Admin CP.
I wonder if it would update the names in the quote tags?

Opserty
09-04-2008, 03:20 PM
I wonder if it would update the names in the quote tags?
No, it doesn't.

Affected tables:

// pmreceipt 'tousername'
// pmtext 'fromusername'
// pmtext 'touserarray'
// forum 'lastposter'
// thread 'lastposter'
// thread 'postusername'
// post 'username'
// usernote 'username'
// deletionlog 'username'
// editlog 'username'


class_dm_user.php > update_username() :)

Lynne
09-04-2008, 03:58 PM
No, it doesn't.

Affected tables:

// pmreceipt 'tousername'
// pmtext 'fromusername'
// pmtext 'touserarray'
// forum 'lastposter'
// thread 'lastposter'
// thread 'postusername'
// post 'username'
// usernote 'username'
// deletionlog 'username'
// editlog 'username'
class_dm_user.php > update_username() :)
I never thought to actually look. :cool: I think it is as you say, only do it if there are problems, because I have never had to do it and it's always worked just fine to change the username in the admincp and have it show up correctly in the forums.

Marco van Herwaarden
09-05-2008, 06:41 AM
If you change the username from the AdminCP, then there is no need to run any update scripts.

Dismounted
09-05-2008, 10:04 AM
Also, as long as the script uses the vBulletin User Datamanager, you won't have to run any update scripts.