AutomaticLogin

Description
When the customer creates an account or logs in, they are offered the option to be automatically logged in when they next return to the store. This is achieved by setting a cookie and creating a permanently logged in state.

If left like that, then the customer cannot logoff - or to be more accurate, they would think they've logged off, but would be automatically logged back in on their next visit which may just annoy them, so this mod also includes the option to log off if the customer wishes, even after asking to be auto logged in. This gives the customer the best of both worlds!

Automatic Login and the Logoff option are both configurable in admin.

Security - the password stored in the cookie is the same as that stored in the Zencart database which is already doubly encrypted with one way encryption by Zen Cart.
+ Download Latest

Forum Support Thread

Submit An Updated Version
Zen Cart® Versions v1.5.5
Original Author Ryk
Last Updated by lat9 - 23 Oct 2017
Downloads 7,471

Version History

AutomaticLogin   -   Version: v1.4.4
#4: Cart emptied on session timeout.
#5: Specify domain and path for cookie (interoperation with URL modifiers).
#6: Apply PSR-2 styling to plugin-specific files.
#7: Capture session values for restoration.
#8: Use Zen Cart 1.5.5e as the change-basis for template-override changes.
  + Download
Zen Cart® Versions v1.5.5
Date Added 23 Oct 2017
Author lat9
File Size 16.7 KB
PHP 5.3 Safe? No
Downloads 20
 
AutomaticLogin   -   Version: v1.4.2
[*] Include a SQL uninstall script
[*] Update template-override files to use ZC 1.5.5 as their change-basis.
  + Download
Zen Cart® Versions v1.5.0, v1.5.1, v1.5.2, v1.5.3, v1.5.4, v1.5.5
Date Added 30 Dec 2015
Author lat9
File Size 14.1 KB
PHP 5.3 Safe? Yes
Downloads 243
 
AutomaticLogin   -   Version: v1.4.1
Include downwardly-compatible template changes introduced in Zen Cart v1.5.3.   + Download
Zen Cart® Versions v1.5.0, v1.5.1, v1.5.2, v1.5.3, v1.5.4
Date Added 9 Jul 2014
Author lat9
File Size 13.3 KB
PHP 5.3 Safe? Yes
Downloads 289
 
AutomaticLogin   -   Version: v1.4.0
The following changes were made to the v1.3 codebase:
Incorporate SQL install script into a PHP auto-install script.
Move run-time language changes into an extra_definitions file so that they're common between the login and create_account page.
Move processing to a run-time observer, no more core-file overwrites!
Modified information stored in the cookie and the means of validating the cookie's value.
Removed customer logoff as an option (for simplification); if the customer chooses to logoff from the store, the "Remember Me" cookie expires.
  + Download
Zen Cart® Versions v1.5.0, v1.5.1, v1.5.2
Date Added 20 Jun 2014
Author lat9
File Size 13.2 KB
PHP 5.3 Safe? Yes
Downloads 43
 
AutomaticLogin   -   Version: 1.3
* Updated script to be compatible with ZC v1.3.8a. This was mainly for changes to core files and tpl_login_default.php
* Removed need to modify core file: includes/modules/pages/index/header_php.php
* Added configuration item to set how long you want to remember the user (database update required)
* The cookie is given a new lease when the user revisits the site.
* Changed string in language file from "NB." to "Please Note:" since "NB." is less common vernacular.
* Updated the documentation to reflect changes in this version
  + Download
Zen Cart® Versions v1.3.8
Date Added 6 Nov 2009
Author
File Size 22.8 KB
PHP 5.3 Safe? Unknown
Downloads 1,718
 
AutomaticLogin   -   Version: 1.2.1
includes/templates/YOUR_TEMPLATE/templates/tpl_login_default.php updated to match changes made on Zen Cart version 1.3.7.1

Other than that, no other files are edited.
  + Download
Zen Cart® Versions v1.3.7
Date Added 21 Aug 2007
Author surf7.net
File Size 25.1 KB
PHP 5.3 Safe? Unknown
Downloads 2,607
 
AutomaticLogin   -   Version: 1.2
Added missing language file (includes/languages/english/YOUR_TEMPLATE/create_account.php   + Download
Zen Cart® Versions v1.3.7
Date Added 31 Jul 2007
Author Ryk
File Size 25.3 KB
PHP 5.3 Safe? Unknown
Downloads 463
 
AutomaticLogin   -   Version: 1.1
Thanks to hareslade. This fix ensures that the 'Log Off, My account' link etc shows as it should after Automatic Login.   + Download
Zen Cart® Versions v1.3.7
Date Added 22 Apr 2007
Author Ryk
File Size 23.2 KB
PHP 5.3 Safe? Unknown
Downloads 1,082
 
AutomaticLogin   -   Version: 1.0
  + Download
Zen Cart® Versions v1.3.7
Date Added 23 Feb 2007
Author Ryk
File Size 21.3 KB
PHP 5.3 Safe? Unknown
Downloads 1,006
 


disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR