![]() |
User Registration date
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? |
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 |
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? |
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 |
All times are GMT -8. The time now is 11:26 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.