![]() |
Re: Use E-mail address instead of username 3.5.x & 4.0
apologies
|
Re: Use E-mail address instead of username 3.5.x & 4.0
x-light hear my cry :(
|
Re: Use E-mail address instead of username 3.5.x & 4.0
Thanks mvolpes.
X-Light 2019?? |
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 :(
|
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` ); |
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..
|
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 |
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.
|
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?
|
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? |
All times are GMT -8. The time now is 09:48 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.