1
dheltzel
Changing the username of a registered user
  • 2004/7/3 3:27

  • dheltzel

  • Not too shy to talk

  • Posts: 164

  • Since: 2003/1/8 1


I am planning to add a feature to allow registered users to change their username (not real name, that can already be changed). Before I do that, will there be any problems resulting from a member's username changing ?
It looks like everything uses the system assigned UID, so the login username should be changable without any problem, right?

Dennis

2
kahumbu
Re: Changing the username of a registered user
  • 2004/7/3 6:07

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


I'm not sure if there are system-wide effects. As I see it, the uid is the most important identifier.

The main problem you might encounter is the need to check that the new username does not have a duplicate in the database, i.e. other users already have that username.

3
Jack404
Re: Changing the username of a registered user
  • 2004/7/3 11:37

  • Jack404

  • Just popping in

  • Posts: 56

  • Since: 2003/5/16


The main problem, apart from what kahumbu said, is that the blocks such as Who's Online may not update until the user logs out and the logs back in.

Also, turn off module caching on your site (if it's enabled), or it won't update in those modules right away either.

Login

Who's Online

137 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 137


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits