1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Last Activity Location

Discussion in 'XenForo Questions and Support' started by Amaury, Feb 27, 2014.

  1. Amaury

    Amaury Well-Known Member

    A long time ago I asked how the last activity location worked, to which @Mike replied that your activity location can disappear anytime after it's been an hour of inactivity, but that it was random. However, the maximum time your last location will show for is two hours and it will never show longer than that.

    For example, a person's last activity was at 11:55 PM, and it is currently 12:20 AM. You could see either of these:
    • X was last seen: Viewing latest content, Yesterday at 11:55 PM
    • X was last seen: Yesterday at 11:55 PM

    Is it possible to make the last location disappear immediately after it's been an hour, though, so you don't even see Today / Yesterday?

    So instead of:
    • X was last seen: Viewing forum list, 59 minutes ago
    • X was last seen: Viewing forum list, Today at 3:43 PM

    it would be this:
    • X was last seen: Viewing forum list, 59 minutes ago
    • X was last seen: Today at 3:43 PM
  2. Amaury

    Amaury Well-Known Member

    Any help on this? :)

    Would it require a file edit or an add-on?
  3. Mike

    Mike XenForo Developer Staff Member

    To do this in a generic way would likely require code modifications of some sort.
    Amaury likes this.
  4. Amaury

    Amaury Well-Known Member

    Would you happen to know what that might be?

    Also, what do you mean by "generic way"?

Share This Page