"Last Seen" User Card


(Taylor) #1

This theme component will allow you to include the “last seen” user statistic in user profile cards.

Repo: GitHub - tshenry/discourse-last-seen-user-card-theme-component




In addition to my own interest in having this stat added to user cards, there’s been some discussion on here that inspired this theme component’s creation:


Follow this guide here:

Please feel free to post if there are any questions, problems, or suggestions!

(Blu McCormick) #2

This is fantastic. I will use this function a lot as I assess new members’ engagement and chase particular people down who I work with closely.

(Taylor) #3

This has had a minor update:

  • Reduced the amount of code by switching from a full template override to using the existing plugin outlet to achieve the same positioning.

For anyone that uses this or is interested in using it, there are four metadata positions on the user card. Currently, starting from the left it goes last post, date joined, last seen, and time read. Which position would you prefer the "last seen" metadata to be displayed?
  • First
  • Second
  • Third (where it is currently)
  • Fourth

0 voters

I imagine it’s not extremely important to most, but I’m curious if there is a preference that I can consider for a future update.

(Blu McCormick) #4

I don’t mind where it is so long as it is there.

(Taylor) #5

I’ve update this to position “Last Seen” first in the list. Thanks to all that voiced their opinion :grin: