Welcome, Guest
Username: Password: Remember me
Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

TOPIC: Use First Name and First letter of Last Name as username

Use First Name and First letter of Last Name as username 5 years 1 week ago #1

Hi,
We would like to auto fill the username on the registration page with the persons First name and First initial of last name. This is for school PTA site so we want to use parents name as part of username.
I could see setting this up maybe in the too hard basket, but have to ask. Could be difficult as name is all on one line and not split into two fields.

Need username to be all letters before space and first letter after space of the name they are typing in. This does not have to be un-changeable by parent registering. Just if it filled this way as they typed would remind them to use their name as username. Allowing changes also covers if we had two parents with the same first name and their second name started with the same letter. example Tom Smith / Tom Short.

So think I need a hack that takes what the person is typing and fills the next field (Username) with firstname and first letter after space.

Thanks.
  • Crunch
  • Crunch's Avatar
  • OFFLINE
  • New Member
  • Posts: 3
The administrator has disabled public write access.

Re:Use First Name and First letter of Last Name as username 5 years 1 week ago #2

This is a good question but I don't know whether this is the appropriate forum to be discussing it. As I and others have written on many occasions Kunena does nothing with user registration and login. These are Joomla functions; these functions can be assisted by third-party extensions like JomSocial and Community Builder.

I suspect that you will get a better, faster, and more targetted response to your question at forums.joomla.org or at www.joomlancers.com/. Good luck :)
  • sozzled
  • sozzled's Avatar
  • OFFLINE
  • Elite Member
  • Professional Kunena support
  • Posts: 21101
  • Thank you received: 3099
Kunena Q & A - Kunena problems solved quickly! Yes, I design and build templates for Kunena
The administrator has disabled public write access.

Re:Use First Name and First letter of Last Name as username 5 years 1 week ago #3

FYI - I do know that on Community Builder it is not auto-fill, but it does tell you immediately if that name is taken, so two Tom S's would not be a problem - it will tell the second one that name is taken while they are still filling out the form.
The administrator has disabled public write access.
Time to create page: 0.160 seconds