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
