Well, here is a small weekend fun project. The plugin will allow your users to change their Username(yes, It’s the username you log with) from the front end. It may be helpful for a couple of sites if you want to allow your users to change their username.
A couple of screenshots will help better.
Change Username Screen:-
And if the user enters a reserved name(say admin, administrator etc), the username will not be changed, and the user will see an error as shown below
Since the plugin updates username as well as user_nicename, there won’t be any issues with author archive or any user page,.
In BuddyPress activity stream, the username and link are inserted statically. So, It will not update the old activity stream. Though, the activity will still belong to user but clicking on the username in activity stream for older link will redirect to homepage. Clicking view will work.
For all of you, who revel in looking at the code, I have commented it properly. So, If you want to take a look, It should be pleasure for your eyes
Please do let me know your suggestions or anything you want to say in comment. I am very much looking forward to that
- Creating a Buddypress/WordPress Username availability checker for your site
- Introducing Facebook Like User Activity Stream(Home activity feed) for BuddyPress Based Social Network
- Send Welcome email to Users when they activate their account on WordPress & BuddyPress Based Social Network
- Introducing BuddyPress Rate Limit User Activity: Throttle user updates/activities on a BuddyPress Based Site
- Change The admin footer Links/footer content sitewide for wordpress mu/buddypress based sites