XF 2.2 How to set "last seen" user activity


Hey XenForo,

Is there any documentation on how to properly update the current visitor's "Last seen A moment ago" text on their profile to reflect what they are looking at in an add-on?

Thank you!
One minor comment, how are hyperlinks handled to share current context? I.e. phrase can be "View X", but if I want to hyperlink X or change X to the page title being used, is there an example on how to implement this further?
Top Bottom