http://www.phpbb.com/bugs/phpbb3/ticket ... t_id=44815
language/en/memberlist.php is have "Last visited" is mean error.
- Kod: Tümünü seç
'VISITED' => 'Last visited',
This is not last visit, this is last activity.
This is my easy referance:
- Kod: Tümünü seç
$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
- Kod: Tümünü seç
// 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 :
- Kod: Tümünü seç
'LAST_ACTIVITY' => 'Last activity,
Images
index, true; this is last visited time
ucp, false; this is last activity time
view profile, false; this is last activity time