Email Address as Username? Often times very long.

Posts: 14
Joined: 03/17/2008

Hello,

The way the system currently works -- if a user purchases an item anonymously they automatically have an account setup with their email address as their username. Email addresses have a tendency to be very long and have been a bane to my user management.

Would it be possible to have the account auto create with a username that truncates the email address at the '@' symbol. Basically, have it take the username myusername@thisemailaddress.com and use that email as the accounts email address and make the username 'myusername'? If a user already exists with the username 'myusername'... just take on a number and make it 'myusername1'.

Is this doable? Or even a good idea?

Thanks for your great work on this!

Posts: 3205
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Sounds like a good idea to me. It also answers the question that was posed in the past about people's e-mail addresses potentially being exposed to other users. A short term solution is to edit the checkout pane settings for the customer pane to allow users to specify a username at checkout.

Posts: 3205
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Never got back on this... the feature will be in RC 5. I considered it a minor bug, as well, in that e-mail addresses could have exceeded the max username length causing trouble. It now strips away the @whatever.com and makes sure the name is unique by adding a random number if need be.

Tested fine on the Livetest.

Posts: 14
Joined: 03/17/2008

Excellent news! Thanks so much!