-
Bug
-
Resolution: Fixed
-
Minor
-
3.0.4
language/en/memberlist.php is have "Last visited" is mean error.
'VISITED' => 'Last visited',
|
This is not last visit, this is last activity.
This is my easy referance:
$last_visit = (!empty($data['session_time'])) ? $data['session_time'] : $data['user_lastvisit'];
|
If user is online; "last activity" = "session time", session time is change on every page change. If user is offline "last activity" = "last visit", because if session is finish, session time fill on last visit time.
session.php
// Update the last visit time$sql = 'UPDATE ' . USERS_TABLE . ' SET user_lastvisit = ' . (int) $this->data['session_time'] . ' WHERE user_id = ' . (int) $this->data['user_id'];$db->sql_query($sql);
|
Then;
language/en/memberlist.php is :
'LAST_ACTIVITY' => 'Last activity,
|
Images
index, true; this is last visited time
!http://img25.imageshack.us/img25/4449/indexjzu.png
ucp, false; this is last activity time
!http://img25.imageshack.us/img25/5920/ucp.png
view profile, false; this is last activity time
!http://img149.imageshack.us/img149/7376/profilej.png