| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Use E-mail address instead of username 3.5.x & 4.0 | ||||
|
|
Thread Tools | Search this Thread |
#91
|
|||||||
|
|||||||
Re: Use E-mail address instead of username 3.5.x & 4.0
It's been a while since I made these changes.. but if I remember correctly I had to change the registration template a little bit by increasing the size of the input field for username(email address) on the registration page. I also found out later that I had to increase the size of the username field in the mySQL database.
~T
__________________
~Plasticsteak1 |
|||||||
#92
|
|||||||
|
|||||||
Re: Use E-mail address instead of username 3.5.x & 4.0
Has this been successfully applied to 4.1.9 ?
I noticed some users have been successful using post #64 for 4.1.3. I want to give this a whirl in 4.1.9, but here are some of my concerns: 1. 'username' is VARCHAR(32) and it was noted in post #70 that there's a possibility of emails having more characters than that. (can this be fixed in phpMyAdmin by making 'username' have the same # of characters as 'email'?) 2. Post #85 notes that if you make 'email' unique in the DB, you get an sql error when user tries to place another order. Can this be confirmed or is there a fix for this?
__________________
X-Cart 4.3.0 Gold |
|||||||
#93
|
|||||||||
|
|||||||||
Re: Use E-mail address instead of username 3.5.x & 4.0
Quote:
Thanks for the code, works great. I have had a few phone calls saying they cant modify there customer account details so i have been doing this in admin for them, but now i put in the code below Code:
you supplied in the include/register.php section and now the customer can change there details withiout the access denied. Just wanted to say thanks.
__________________
Apache/2.0.55 (Red Hat) & MYSQL Server: 5.0.24 PERL: 5.008005 / PHP: 4.4.4 - 4.3.1 X-CART Shop carts at http://www.nightscene.co.uk/shop/home.php http://www.theshisha.net/shopcart/home.php http://www.system-maintenance.com/maint/home.php http://www.tabac4u.com |
|||||||||
#94
|
|||||||
|
|||||||
Re: Use E-mail address instead of username 3.5.x & 4.0
Quote:
Just freaking great.....Parse error: syntax error, unexpected T_BOOLEAN_OR in /home/httpd/vhosts/toolexperts.com/httpdocs/register.php on line 201
__________________
Tool Experts X-Cart DB Version: 4.1.12 GOLD |
|||||||
#95
|
|||||||
|
|||||||
Re: Use E-mail address instead of username 3.5.x & 4.0
ok got it restored
__________________
Tool Experts X-Cart DB Version: 4.1.12 GOLD |
|||||||
#96
|
|||||||
|
|||||||
Re: Use E-mail address instead of username 3.5.x & 4.0
can someone help me? I restored my file back and i still get a message that there is an unexpected = in line 201....and this also occurs when attempting to checkout...
} $fillerror (!empty($error) || empty($passwd1) || empty($passwd2) || $passwd1 ! $passwd2 || strlen($passwd1) > 64 || strlen($passwd2) > 64); if (!$fillerror) { if ($default_fields['b_country']['avail'] != 'Y') { $b_country = $config['General']['default_country']; if ($default_fields['s_country']['avail'] != 'Y') $s_country = $config['General']['default_country']; }
__________________
Tool Experts X-Cart DB Version: 4.1.12 GOLD |
|||||||
#97
|
|||||||
|
|||||||
Re: Use E-mail address instead of username 3.5.x & 4.0
Quote:
I implemented this mod in 4.1.8, however, when I try to login, it tells me to contact the site admin as my account is temporarily disabled, and I can't seem to create new accounts
__________________
Tool Experts X-Cart DB Version: 4.1.12 GOLD |
|||||||
#98
|
|||||||
|
|||||||
Re: Use E-mail address instead of username 3.5.x & 4.0
Do any of these methods work in 4.1.8?
__________________
Tool Experts X-Cart DB Version: 4.1.12 GOLD |
|||||||
#99
|
|||||||
|
|||||||
Re: Use E-mail address instead of username 3.5.x & 4.0
Did somebody found a way to get the e-mail login working in 4.1.9? I have been trying to get it working but with little succes. I only get the message the account has been disabled by the admin. Any (quick) fix on top of all the suggestions here?
|
|||||||
#100
|
|||||||
|
|||||||
Re: Use E-mail address instead of username 3.5.x & 4.0
the only way I made this work, was to change all references to for username to email address by using the template editor, then when i was importing i used the email address as the username. This is worling great at my site the only issue i have is i need to enable it so that an email with longer than 32 chracters can login, but noone has replied to my other post.
__________________
Tool Experts X-Cart DB Version: 4.1.12 GOLD |
|||||||
|
|||
X-Cart forums © 2001-2020
|