Limits Up
Welcome, Guest. Please login or register.
September 07, 2008, 01:58:16 AM

Pages: [1]
Print
Author Topic: Email Address as username  (Read 141 times)
Easton
Sr. Member
****
Posts: 427


« on: May 07, 2008, 04:52:54 PM »

OK, this is definitely a problem! In the Upcoming Updates, can the software prevent new members from using their Email Address as username?

Yes, I know some Admins have suggested before how to fix this problem, however i tried this several times and it doesn't work for my site! Therefore, a formal input is needed from SkaDate to fix this problem in the software.

Easton
Logged
david
Jr. Member
**
Posts: 95



« Reply #1 on: May 07, 2008, 06:17:09 PM »

what is your site address?
Logged

Harley
Full Member
***
Posts: 162



« Reply #2 on: May 07, 2008, 09:16:04 PM »

Hi Easton - Actually you might be able to stop this from happening by chaning your RegExpression on your username profile field.  If you copy and paste what you have I can tell you what to change to prevent an email address.

1. Log on to your Admin panel
2. Under Configuration area (bottom section) click on "Profile Fields"
3. In the ALL TAB under the Name column you should see "Username" click on it.
4. 4th field down is something called "Regexp" that is the area that ALLOWS or PROHIBITS certain characters for this field.  If you can copy and paste what you have I can help you out.  Here's what I have...

/^[a-zA-Z0-9\-@_.]{1,18}$/

Show me yours  Cheesy
« Last Edit: May 07, 2008, 09:19:07 PM by Harley » Logged

Homo on the Range -
Easton
Sr. Member
****
Posts: 427


« Reply #3 on: May 08, 2008, 04:45:57 AM »

I currently have this /^.+$/

Thanks
Logged
Harley
Full Member
***
Posts: 162



« Reply #4 on: May 08, 2008, 10:18:49 AM »

Hmmm.... that is very odd.  Have you made changes to this field since you purchased SkaDate?  That is a messed up regexp!

OK Here's the deal with an email address as a Profile Field.

1.  The software was designed to allow for folks to enter their email address in to LOG ON!  So that means this field will need to be changed at the JOIN page on your site.  No problem.  However if you currently have some users that have an email address as there "username" then this will need to be manually corrected by you.

2.  To modify the "username" so that it FORCES users NOT to enter an email address as their profile "username" will mean that they will also NOT be able to log into their profile with their email address.  I don't see a way for the "username" field to be modified JUST for the JOIN tab since any modification you make their are made for ALL uses of "username".

If you are OK with users not being able to log on with their email address then you can adjust your regexp for your "username" profile field.

Questions:

  • How many characters do you want to limit your profile filed "username"?
  • What characters do you NOT want the members to use in their "username"?

Right now your regexp will allow the following username: wo@##44(*&^%$%!$ofe,,,ras/d.fa@sdfasdfa%+sdfasdfasdfasdf@sss

If you replace it with mine:

/^[a-zA-Z0-9\-@_.]{1,18}$/

This will limit your user name filed to only use upper/lower alphabet, the numbers zero through nine, the following special characters -@_. and it will be limited to a 18 characters.  This of course DOES allow for folks to use their email address.  TO STOP this simply remove the @ in the to look like this...

/^[a-zA-Z0-9\-_.]{1,18}$/

Just remember that will stop members from using their email address as an alternative method of logging on if they forget their username.

Harley
Logged

Homo on the Range -
Easton
Sr. Member
****
Posts: 427


« Reply #5 on: May 08, 2008, 04:43:32 PM »

Thanks Harley,

I see your point here, however i have too many members already to make such change!

Easton
Logged
Pages: [1]
Print
Jump to:  

You are here: Skalfa » Support » Discussion Boards