Would be useful to have a Switch allowing to: Login with User E-mail instead of UserName This not changing the {MEMBERNAME} field to member E-mail, maintaining and using the {MEMBERNAME} variable as membername.
At the moment we have the feature of Treat Emails as Usernames this changes the UserName to the user E-mail. With this switch on we can not present the original {MEMBERNAME} fiel as it's automatically replaced with the user E-mail, at memberlist, editmember, comments.
Would be important to include a Switch in order to just login with user E-mail and Password without affecting the value of the current {MEMBERNAME} variable.
Probably doesn't need a switch, I don't see harm in allowing emails to work as logins all the time. Unlikely that someone would register with a username being someone else's email address in order to cause a conflict.
I agree with you that there's no harm of allowing emails to work as logins all the time even more for some situations it would be advisable.
I believe the current switch "Treat Emails as usernames" should work as I suggested, without automatically changing the field value {MEMBERNAME} , and we should manually replace the field {MEMBERNAME} with {MEMBEREMAIL} at the login. I understand that the manual is saying that it will work as I say, but it doesn't : scripts.webmastersite.net/w...ails-as-usernames-313.html
I suggest to maintain the current swtch indicating at the maual that {MEMBEREMAIL} will be shown whenever {MEMBERNAME} appears.
And secondly I suggest to include a switch called "Login with User E-mail instead of UserName" that would just allow us to login with memberemail instead of membername but that will not change the output for membername variable. I understand we would need to add a conditional at the login as <IF {EMAILLOGINSWITCH}> <input type="text" name="useremail" size="15" value="{LANG_REGISTRATION_USEREMAIL}" onfocus="this.value=''"> <OTHERWISE><input type="text" name="username" size="10" value="{LANG_REGISTRATION_USERNAME}" onfocus="this.value=''"> </IF>
I'm wondering if you believe this will be considered on a future version: adding the switch "Login with User E-mail instead of UserName" that will just allow us to login with memberemail instead of membername but that will not change the output for membername variable.
I've changed it to prompt for email in the templates. I don't see any practical purpose for not changing the output of {MEMBERNAME}, it only vastly complicates everything.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on Login with Email & Password
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
Would be useful to have a Switch allowing to:
Login with User E-mail instead of UserName
This not changing the {MEMBERNAME} field to member E-mail,
maintaining and using the {MEMBERNAME} variable as membername.
At the moment we have the feature of
Treat Emails as Usernames
this changes the UserName to the user E-mail.
With this switch on we can not present the original {MEMBERNAME} fiel as it's automatically replaced with the user E-mail, at memberlist, editmember, comments.
Would be important to include a Switch in order to just login with user E-mail and Password without affecting the value of the current {MEMBERNAME} variable.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Probably doesn't need a switch, I don't see harm in allowing emails to work as logins all the time. Unlikely that someone would register with a username being someone else's email address in order to cause a conflict.
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
I agree with you that there's no harm of allowing emails to work as logins all the time even more for some situations it would be advisable.
I believe the current switch "Treat Emails as usernames" should work as I suggested, without automatically changing the field value {MEMBERNAME} , and we should manually replace the field {MEMBERNAME} with {MEMBEREMAIL} at the login. I understand that the manual is saying that it will work as I say, but it doesn't : scripts.webmastersite.net/w...ails-as-usernames-313.html
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I don't want to manually edit all the templates for my sites that use that switch, that'd be a nightmare.
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
For shure it would be a nightmare.
I suggest to maintain the current swtch indicating at the maual that {MEMBEREMAIL} will be shown whenever {MEMBERNAME} appears.
And secondly I suggest to include a switch called "Login with User E-mail instead of UserName" that would just allow us to login with memberemail instead of membername but that will not change the output for membername variable. I understand we would need to add a conditional at the login as <IF {EMAILLOGINSWITCH}> <input type="text" name="useremail" size="15" value="{LANG_REGISTRATION_USEREMAIL}" onfocus="this.value=''"> <OTHERWISE><input type="text" name="username" size="10" value="{LANG_REGISTRATION_USERNAME}" onfocus="this.value=''"> </IF>
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
Paul,
I'm wondering if you believe this will be considered on a future version: adding the switch "Login with User E-mail instead of UserName" that will just allow us to login with memberemail instead of membername but that will not change the output for membername variable.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I've changed it to prompt for email in the templates. I don't see any practical purpose for not changing the output of {MEMBERNAME}, it only vastly complicates everything.