Webmastersite.net
Register Log In

Login with Email & Password
maintaining Username

Comments on Login with Email & Password

peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
Posted Jul 21, 2007 - 7:10 AM:

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.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jul 22, 2007 - 4:08 PM:

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.
peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
Posted Jul 23, 2007 - 8:43 PM:

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
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jul 23, 2007 - 9:19 PM:

I don't want to manually edit all the templates for my sites that use that switch, that'd be a nightmare.
peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
Posted Jul 24, 2007 - 10:03 PM:

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>
peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
Posted Sep 02, 2007 - 7:52 AM:

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.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 03, 2007 - 3:06 PM:

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.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.