latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Craig Wallace

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
gift subscriptions & profiles

By:  Lesley Austin in: Community Forum

voices: 2
replies: 1

4 years, 1 month ago  Craig Wallace

Capitals in username

By:  Craig Wallace in: Community Forum

voices: 3
replies: 12

4 years, 2 months ago  Craig Wallace

Viewing 2 topics - 1 through 2 (of 2 total)

Topics I've Started

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Capitals in username

By:  Craig Wallace in: Community Forum

voices: 3
replies: 12

4 years, 2 months ago  Craig Wallace

Viewing topic 1 (of 1 total)

My Latest Replies (From Various Topics)

Viewing 7 replies - 1 through 7 (of 7 total)
Author Replies
Author Replies
Posted: Friday Dec 7th, 2012 at 9:36 am #33892
Craig Wallace
Username: Craig

Hi Lesley,

Did you ever find out an answer to this? I am looking to do the same thing, but there’s not much point of the member can’t continue with the same account.

Thanks,

Craig

Posted: Friday Nov 2nd, 2012 at 4:48 pm #30487
Craig Wallace
Username: Craig

I have edited line 129 of my wp-signup.php to be:

echo '<input name="user_name" type="text" id="user_name" value="'. esc_attr($user_name) .'" maxlength="60" onBlur="javascript:this.value=this.value.toLowerCase();" /><br />';

Hopefully that should cover it.

Posted: Friday Nov 2nd, 2012 at 7:21 am #30424
Craig Wallace
Username: Craig

I have had a bit of a look through the source and can’t find how the registration page is built. There doesn’t seem to be a template anywhere?

Ideally, I would just add onBlur=”this.value = this.value.ToLower();” or similar to the username field.

Can anyone point me to the file that I would need to edit?

Thanks.

Posted: Wednesday Sep 26th, 2012 at 2:58 pm #26611
Craig Wallace
Username: Craig

Hi Eduan,

I have now done some more research on this, and from what I have read, WordPress MU does NOT allow uppercase characters in usernames. This is because they are also used for the sub-domains, which WordPress (incorrectly) assumes have to be all lower case.

So, given that this is actually core WordPress functionality, how can I customise the s2member registration screen so that the restriction on username is described to the user? Also, how could I add a client-side onblur event to force the username to lower case when they exit the field?

Thanks,

Craig

Posted: Tuesday Sep 25th, 2012 at 5:28 pm #26476
Craig Wallace
Username: Craig

The only plugin mentioned on the registration page source HTML seems to be slickr-flickr, which also includes lightbox and galleria, but the error message is server-side code so I don’t see how that could cause the problem.

Is there definitely no s2member, or wordpress, ‘allow upper case in user name’ setting somewhere that I’m missing?

I’ll try disabling stuff and the theme change, but isn’t the username check a call into the wordpress API?

Thanks again.

Craig

Posted: Tuesday Sep 25th, 2012 at 3:47 pm #26467
Craig Wallace
Username: Craig

Hi Eduan,

I am using TwentyEleven for my site. Well, it is a child theme of that for some CSS tweaks and a small change in the header to remove the search.

My active plugins:

Contact Form to DB Extension
Events Made Easy
Fast Secure Contact Form
Get Login
s2Member® Framework
Slickr Flickr
Social Media Widget
WP Show IDs
Wysija Newsletters

Installed but inactive:

Akismet
Hello Dolly
WP125

Thanks,

Craig

Posted: Monday Sep 24th, 2012 at 5:46 am #26271
Craig Wallace
Username: Craig

I tried Craig and got the error.

As soon as I changed Craig to craig, it worked fine.

I am using WordPress 3.4.2 MU if it helps.

Craig

  • This reply was modified 4 years, 3 months ago by  Craig Wallace.
Viewing 7 replies - 1 through 7 (of 7 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.