Generate username (+ blog url) from fullname
I need to write a plugin or modify registration to generate the username from the fullname.
I use the email-login plugin, so I’d like to remove the username from the registration form.
The fullname field would require a real full name, so more than one part, first and last name – including middle names and whatever, the code would assume the first part is the first name.
Then there would have to be a function to make everything lowercase and remove spaces and put that into the username field – with all the regular checks and error messages.
The blog address would take that same username, based on the full name, as default option.
Would this be possible? How much of this is already in WordPress or Buddypress? Are there plugins that do parts of this? Is anyone working on something similar? Where should I start?
I’m not really a coder. I understand I’ll need to learn from scratch or hire someone. Just trying to get a better picture of where to start, what’s already there, etc.
I had started a similar thread here, but it went off the rails a bit. This thread is an attempt to refocus the question.
- The topic ‘Generate username (+ blog url) from fullname’ is closed to new replies.