Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Use E-mail address instead of username 3.5.x & 4.0

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #111  
Old 01-10-2009, 09:02 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Use E-mail address instead of username 3.5.x & 4.0

Quote:
Originally Posted by balinor
http://forum.x-cart.com/showpost.php?p=215306&postcount=101

Also, the security patches that came out in the last few months prevent special characters such as @ in the username.

I realize the part about anonymous checkout (we disable it anyway), and the part about the security patches but have no idea why they made that change, do you?
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #112  
Old 01-10-2009, 09:09 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Use E-mail address instead of username 3.5.x & 4.0

You disable anon checkout? Really? You aware that 1 in 4 e-commerce customers prefer NOT to create an account?

I have no idea on the security question, just being overly careful I think.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #113  
Old 01-10-2009, 09:34 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Use E-mail address instead of username 3.5.x & 4.0

Anonymous is a total PITA.

It always seems the customers that did not want to create an account were the same ones that would call our 800 number asking about the status of their orders. The time and money spent on this "customer service" was determined to be too great to allow it to continue.

Since it is basically the difference of adding a username and password that is the difference, changing that to adding a password only, and using the email as the username seems like the reasonable solution. You can then add a "order history link" that you can use by entering your email address and (maybe) password. To recover the password, enter your email address..... simple!

We already have a "order tracking link" where all the customer has to do is enter their order number but you would be surprised how many people don't even know that.

There are lots of shopping carts that use this method, and I am surprised that X-cart does not have that ability.

Not allowing a email address instead of a username just seems kind of lame to me. There has to be some kind of work around that doesn't affect "security".
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #114  
Old 01-12-2009, 09:25 AM
 
Doctored Locks Doctored Locks is offline
 

Advanced Member
  
Join Date: Dec 2008
Posts: 42
 

Default Re: Use E-mail address instead of username 3.5.x & 4.0

We are also looking for this.
__________________
Version 4.1.11 Pro
Add-on: X-Affiliate
Add-on: X-RMA
Add-on: X-FancyCategories
Reply With Quote
  #115  
Old 01-12-2009, 04:35 PM
 
rsands rsands is offline
 

Newbie
  
Join Date: Nov 2007
Posts: 9
 

Default Re: Use E-mail address instead of username 3.5.x & 4.0

come on x-cart...step up to the plate here...this layout of system usernames is dated...emails are used as usernames in 21st centry...this has 12 pages of people talking about this for such a simple mod on your part
__________________
Richard Sands

X-Cart Gold 4.1.9
CD SEO links
X-SpecialOffers
BCSE Product Meta Title tags
Catgeory meta title tags
Reply With Quote
  #116  
Old 01-16-2009, 02:48 PM
 
pfarcus pfarcus is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 179
 

Default Re: Use E-mail address instead of username 3.5.x & 4.0

I have anonymous check out enabled but when i test it it asks for a user and password, what am i missing? some check box somewhere?
__________________
CDSEO PRO
4.1.11 PRO
Dynamic images by xcartmod.com
X-Cart CSSTemplate/Skin for v4.1.11 PRO
Reply With Quote
  #117  
Old 01-30-2009, 01:44 PM
 
starwest starwest is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 268
 

Default Re: Use E-mail address instead of username 3.5.x & 4.0

Quote:
Originally Posted by rsands
come on x-cart...step up to the plate here...this layout of system usernames is dated...emails are used as usernames in 21st centry...this has 12 pages of people talking about this for such a simple mod on your part


Yes, this is definitely something I would LOVE to see X-Cart take care of. The current system of having to select both a username and enter your email is cumbersome and bound to fail for most individuals. Even before we allowed anonymous checkout, many of our customers created a new account each time they visited the site - no doubt because they had forgotten their username and/or password. If everything was tied to email, customers who register would be much more likely to use their existing account (or be reminded that they do have an existing account). Also, because X-Cart creates accounts for anonymous customers already, if they were based on email addresses it could simply append orders to the existing user account if an email were used again by an anonymouse customer.

Unfortunately, I imagine this may be too big of a change for them to consider in v4.1.x, which they're hoping to phase out in favor of v4.2.x. Still, it seems like this change would be EXTREMELY popular, so I'll cross my fingers and hope someone at X-Cart is listening.
__________________
X-Cart Gold v4.1.10 [unix]
AOM, Special Offers, CDSEO Pro, Remember Anon Carts, Back-In-Stock Notifications, MM3, Feed Manager
Reply With Quote

The following user thanks starwest for this useful post:
GMarler (03-05-2009)
  #118  
Old 02-03-2009, 04:54 AM
  milla_c's Avatar 
milla_c milla_c is offline
 

Member
  
Join Date: Oct 2008
Posts: 11
 

Default Re: Use E-mail address instead of username 3.5.x & 4.0

Quote:
Originally Posted by starwest
Yes, this is definitely something I would LOVE to see X-Cart take care of. The current system of having to select both a username and enter your email is cumbersome and bound to fail for most individuals.

O yes, I also vote for this feature! AND for it to be in v4.1.x.
Please please please somebody at X-cart!!!
__________________
M Conradie
x-cart pro

Reply With Quote
  #119  
Old 02-15-2009, 05:29 PM
  seaCOAST's Avatar 
seaCOAST seaCOAST is offline
 

X-Adept
  
Join Date: Oct 2002
Location: New Hampshire
Posts: 569
 

Default Re: Use E-mail address instead of username 3.5.x & 4.0

Quote:
Originally Posted by B00MER
Use E-mail address instead of username for X-Cart 3.5.x & 4.0.

Let users use either their email address or username to login instead of JUST the username.

Edit include/login.php find:

Code:
$user_data = func_query_first("SELECT * FROM $sql_tbl[customers] WHERE login='$username' AND usertype='$usertype' AND status='Y'");

Change to:

Code:
$user_data=func_query_first("select * from $sql_tbl[customers] where (login='$username' or email='$username') and usertype='$usertype' and status='Y'");

Should work without troubles on 3.5.x and 4.0.x

I know this is an old post, but how can I make this work in 4.2.x?

The line I found in my login.php looks like this:


Code:
$user_data = func_query_first("SELECT * FROM $sql_tbl[customers] WHERE BINARY LOWER(login)='$username' AND usertype='$usertype' AND status='Y'");


Thanks!
__________________
Xcart V4.5.5 Gold
seaCOAST
"Live FREE or DIE!"
Reply With Quote
  #120  
Old 02-19-2009, 11:22 PM
  milla_c's Avatar 
milla_c milla_c is offline
 

Member
  
Join Date: Oct 2008
Posts: 11
 

Default Re: Use E-mail address instead of username 3.5.x & 4.0

Hope this helps someone...

First of all, I allowed users to have '@' and '.' in their usernames.
On registration I hid the 'username' field and had a note at the e-mail address that says your e-mail address will also be your username.
On submitting, the e-mail address is assigned to the username. (uname = email)
After successful submission, the e-mail field cannot be changed again by the user - if they want to edit the profile, they can, but the e-mail field is not edit-able. Yip, that means if your e-mail address changes you have to create a new user and profile, but that doesnt happen often.

After all that effort I stumbled across a much bigger issue... since I have x-cart pro and the providers also use their e-mail addresses as username, the providers must have another e-mail account ready to also register as customers, since they cannot use the same e-mail address for the username as customer.

So, after all my effort I am back at the usernames as it was, except that I still allow '@' and '.' in the username.

Sometimes your learn from other's errors, sometimes they learn from yours!
__________________
M Conradie
x-cart pro

Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:45 AM.

   

 
X-Cart forums © 2001-2020