| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
User Registration date | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Is there anyway of changing it where when you find a customer that has registered but not actually logged in from saying "not logged in" to the original date that they "Registered".
I usually rely on receiving an email saying that someone has applied for membership but our email system sometimes blocks the emails so Im actually left waiting to see if weve had someone apply or whether were just not popular?? I know you can log in and see who has logged in within last month, last week or on the day but it doesnt actually tell you the day?? I could have had several people register but just not know who is who? and whether Ive seen them or not?? Anyone?
__________________
X-Cart Version 4.0.3 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() From your signature you look to be running 4.03 which is an old build of 4.0 branch.
You be better updating to the latest (stable) build (4.018, which fixed and added a number of features. One of changes will solve your issue. To fix for 4.03, edit: include/register.php look for the comment: # Auto-log in around line 436. Add the line: db_query("UPDATE $sql_tbl[customers] SET last_login = '".time()."' WHERE login = '$uname'"); after the conditional statement: if($usertype=="C" or ($usertype=="B" and $login=="")) { This will update the user's db record with the time they registered. Rubyaryat
__________________
Rubymods.com - Your X-Cart services partner for over 9 years. Modules offered: FedEx labels, Live currency rates, GeoIP, Order Audit, Multiple e-goods. X-Cart Store Hosting, project management and affiliates program available. 4.2.3 gold [Unix] |
|||||||||
#3
|
|||||||
|
|||||||
![]() Well looking at it were actually running on 4.0.12
will your amendments work ok in that version? I'm a little sceptical about updating to a newer version as I class myself as a little bit of a novice and although I have done some major mods of the site Im not sure where I would start updating?
__________________
X-Cart Version 4.0.3 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Yes the amendment would work on 4.012.
Upgrading can take quite a bit of work if there have been lots of modifications to the X-Cart codebase. Different X-Cart coders take different positions about upgrading heavily modified codebases. Some will review the changelog and just patch what is important for their cart ; others will make sure they are always upto date. You'll likely have to patch several files manually after applying the upgrade if you cart is heavily modified, and also apply SQL patches as they won't be applied if the upgrade script wasn't able to patch all the files. Good luck! Rubyaryat
__________________
Rubymods.com - Your X-Cart services partner for over 9 years. Modules offered: FedEx labels, Live currency rates, GeoIP, Order Audit, Multiple e-goods. X-Cart Store Hosting, project management and affiliates program available. 4.2.3 gold [Unix] |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|