I have installed the auto login hack on 2.0.7 and 2.0.9. I used the right hack/code for each version. Everything works like it should but the last visited time. The time stays at either the time if first login and had the site remember me or it is always the current time.
Example: if i visit the site and at 10:00am and come back at 11:00am the time will be 11:00am and NOT 10:00am or it will be what ever time I logged in for the frist time.
This messes everything in the forums up. Like what posts are new or old. Or what comments are new or old.
Dose anyoen know of anyway to fix this? Thanks much.
hi OOB.
It is quite normal.
On visit 11:00, auto-login is worked.
(Session was timed-out since 10:00)
Since Auto-login means "log-in", it is natural to update "last visit".
Anyway, you can disable it quite easily.
edit include/common.php
if (false != $user && $user->getVar('level') > 0) {
// update time of last login
$user->setVar('last_login', time());
if (!$member_handler->insertUser($user, true)) {
}