PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Autofill Username?

s2Member Plugin. A Membership plugin for WordPress®.

Autofill Username?

Postby CrownOfMars » May 17th, 2011, 9:54 pm

Hey guys,

Loving the plugin so far, i'm starting to get used to it but i'm having trouble with this.

When filling out a pro registration form, i'd like the email they enter to be their username also. So how would i go about auto filling the username input with the email?

Thanks.
User avatar
CrownOfMars
Registered User
Registered User
 
Posts: 12
Joined: April 27, 2011

Re: Autofill Username?

Postby Jason Caldwell » May 18th, 2011, 7:02 pm

Thanks for the great question.

So sorry. For various technical reasons, Usernames in WordPress cannot contain special characters like the @ sign. However, if you wanted to write some jQuery that would take the first part of the email address and use that to prefill the Username field, I suppose that would be OK.

Are you running s2Member (free), or s2Member Pro?
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Autofill Username?

Postby CrownOfMars » May 18th, 2011, 8:51 pm

Ahh i see, yeah i thought that may be a problem.

I'm using Pro. I'm not the greatest with Jquery but i'll have a look into it.

I just like the idea of having organized usernames.

Thanks for your response!
User avatar
CrownOfMars
Registered User
Registered User
 
Posts: 12
Joined: April 27, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron