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™

Deny Usernames with Special Characters

s2Member Plugin. A Membership plugin for WordPress®.

Deny Usernames with Special Characters

Postby bitofgrace » January 30th, 2012, 9:28 am

In the Paypal Pro Forms the default form for registration states "no special characters" but there does not seem to be any validation to that effect. Users still register successfully with underscores, periods and dashes.. despite it breaking the functionality of the site profiles.

Is there any way to deny successful registration when a user uses special characters?

I've spent all week manually removing broken registrations : /


Also:
Is it possible to add an email validation field (so user has to enter it twice to cancel out common errors)?
*I think i've asked before as well- for instruction on adding validation to custom fields.

-grace
User avatar
bitofgrace
Registered User
Registered User
 
Posts: 64
Joined: September 8, 2011

Re: Deny Usernames with Special Characters

Postby Cristián Lávaque » January 31st, 2012, 4:16 am

Grace, what field is the one you mean? username?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Deny Usernames with Special Characters

Postby bitofgrace » January 31st, 2012, 8:19 am

Oh - yes, sorry. Username in particular.
It needs to not have special characters - but still allows users to put them in : /
User avatar
bitofgrace
Registered User
Registered User
 
Posts: 64
Joined: September 8, 2011

Re: Deny Usernames with Special Characters

Postby Cristián Lávaque » February 3rd, 2012, 12:30 am

I see. I registerd an account with some characters and didn't have a problem. Could you paste some examples of usernames that break your registration so I try them, please?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Deny Usernames with Special Characters

Postby dimitriosvasileiou » February 3rd, 2012, 6:22 am

Sorry to interfere guys but I have a similar problem. Some clients try to register by using capital letters on their username but the system doesn't allow them which is fine. My problem is, how do I alter the registration form and add a note that only lower case letters and numbers are allowed?

At the moment, I have to inform them after having received a complain email that they can't register. How do I add a note? I am using the free version of s2member.
User avatar
dimitriosvasileiou
Registered User
Registered User
 
Posts: 9
Joined: December 27, 2011

Re: Deny Usernames with Special Characters

Postby Cristián Lávaque » February 4th, 2012, 3:58 am

Dimitrios, I'm not sure why you're having that problem either. In my installation I logged out, went to the registration form and registered a usernme all in caps (HELLOTEST) and didn't have a problem. Could you post some examples of the ones you're having trouble with?

Are you using the WP registration page or a pro-form?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Deny Usernames with Special Characters

Postby dimitriosvasileiou » February 4th, 2012, 5:24 am

Hi Cristian

I do not have the pro version of s2member. Does the pro version allow for any letters to be used?

I do not any example as it is my clients that complain they can't register, and when I tell them not to use capitals, they reply that this WAS the problem, they were using capitals.

Back to the point: How can I add a note to that page? Or, will the problem be solved if I buy the pro version?
User avatar
dimitriosvasileiou
Registered User
Registered User
 
Posts: 9
Joined: December 27, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 1 guest