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
  #81  
Old 04-10-2007, 01:12 PM
 
mvolpes mvolpes is offline
 

Member
  
Join Date: Dec 2006
Posts: 16
 

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

apologies
__________________
www.bluemaya.com.au
x-cart version 4.0.19
Reply With Quote
  #82  
Old 04-11-2007, 03:08 AM
  2019's Avatar 
2019 2019 is offline
 

Advanced Member
  
Join Date: Dec 2004
Posts: 76
 

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

x-light hear my cry
__________________
// x-cart 4.1.9

X-CART CSS SKIN
XC SEO
IP Addresses in Users Online for all users
Color coded order status
Reply With Quote
  #83  
Old 04-11-2007, 04:02 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

Thanks mvolpes.

X-Light 2019??
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #84  
Old 04-11-2007, 04:46 AM
  2019's Avatar 
2019 2019 is offline
 

Advanced Member
  
Join Date: Dec 2004
Posts: 76
 

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

i need the 4.1.6 version of x-light username 2 email module
__________________
// x-cart 4.1.9

X-CART CSS SKIN
XC SEO
IP Addresses in Users Online for all users
Color coded order status
Reply With Quote
  #85  
Old 04-13-2007, 06:45 PM
 
mvolpes mvolpes is offline
 

Member
  
Join Date: Dec 2006
Posts: 16
 

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

Hi all

Those implementing this becareful with this
ALTER TABLE `xcart_orders` ADD UNIQUE (
`email`
);

this will only allow a customer to make an order once from your site ...the next time they come they you will get a sql error..as it only allows the customers email address once..in the order table ..to reverse this use

ALTER TABLE `xcart_orders` DROP INDEX (
`email`
);
__________________
www.bluemaya.com.au
x-cart version 4.0.19
Reply With Quote
  #86  
Old 04-16-2007, 03:01 PM
 
mvolpes mvolpes is offline
 

Member
  
Join Date: Dec 2006
Posts: 16
 

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

any help with the error message?? When a insert of a duplicate email occurs I need some error handling..
__________________
www.bluemaya.com.au
x-cart version 4.0.19
Reply With Quote
  #87  
Old 05-07-2007, 04:55 AM
 
asa asa is offline
 

Member
  
Join Date: Apr 2007
Location: UK
Posts: 20
 

Default Use E-mail address instead of username

Hi

We want to use email as username. so far (prior to me) our company has used uname, now they asked me to bring some changes to user registration, one part of the change is to hide the uname and use email instead.



After reading the thread like http://forum.x-cart.com/showthread.php?t=8809&highlight=username+email



and some others;





I have changed it, now it seems to be registering ok but not editing/updating profile (it bounce back to profile page) has anyone done the same, if yes what files are to be changed?


OTHER ISSUES

I have changed the login.php file to accept email as username.
But I don▓t really know what other php files should I change in order for this to work for existing/new customers.

Email of new customer will be copied to the uname field of database. But, what other changes should I do so that when an existing customer forgets his/her password?

I have used different tpl files for customer bit because I wanted to still use the xcart procedure for admin bit.

Do I have to use separate php files too?

What other issues should take into consideration

any advice help will be appreciated

thanks


__________________
XCart Ver. 4.0.14-gold_upgrade
Reply With Quote
  #88  
Old 05-07-2007, 06:14 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

I have moved your question to thread you reference instead of starting a new thread as it will be easier for people familiar with the mod to assist you.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #89  
Old 05-07-2007, 01:52 PM
 
summitmn summitmn is offline
 

Senior Member
  
Join Date: Apr 2004
Location: Manitou Springs, CO USA
Posts: 105
 

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

I have also been looking at x-lite's mode...trying to use it on x-cart 4.1.6. Has anyone gotten it to work okay?
__________________
Using 4.4.0
Reply With Quote
  #90  
Old 08-30-2007, 08:22 PM
 
zefon zefon is offline
 

Advanced Member
  
Join Date: Apr 2003
Posts: 86
 

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

When using this code in 4.1.8, if you try and login using an email address you get the following error message:

"Your account is temporarily disabled. Please contact the store administrator for details."


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

Anyone else had this problem and how did you fix it?
__________________
X-Cart Gold 4.1.8
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 08:37 AM.

   

 
X-Cart forums © 2001-2020