Is there a way to let the users edit their usernames? Today, I googled for such a code for a while and had no luck finding a solution except a few plugins. I didn't find any tutorial for doing so.
These are the plugins I found- Username changer and BuddyPress user name changer. The first plugin's interface is no good and I want to offer the users a native interface to edit user names. Brajesh's BuddyPress user name changer is similar to what I expected. But that works only if BuddyPress is setup. Could any suggest me a nice way to let the users edit their user names?
Plugins would help me. But I can also manage to code if someone guide me through.
Update:
I am looking for a solution to edit the default usernames because sometimes, there would be a problem with the default user name appearing for the public. When you use Social Networks via OAuth(Twitter and Google etc.) for your member login , the user accounts will created with prefixes like Yourfullname-Google or sometimes Yourfullemailaddress-Google.
The author URLs appear like this- site.com/author/twitter-random-name or site.com/author/google-profile-address-uglyurl. Here the user's profile URL appears ugly or lengthy and doesn't look in a normal way like-site.com/the-author-name
Also I use a plugin named Quick Subscribe which helps us to get users subscribe and register account just using their email addresses creating random passwords. Here the problem is that the the user names will be created based on the email address(ex: userfullemailaddressgmail.com). The plugin is not popular as it has to be, but that helps people like me to let the users subscribe with single email address.
The author URLs appear like this- http://site.com/author/author-full-email-addressgmailcom. The user's email address is blown out to the spammers. I can't resist using this subscribe plugin because of it's usability.
In such cases I want to let users edit their user names to save themselves being their email addresses revealed to the public.