Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-8309

Rename "Last visited" to "Last activity" on memberlist/viewprofile

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Activity

          People

            dhruv.goel92 Dhruv Goel [X] (Inactive)
            angelside angelside [X] (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: