כרטיס משתמש "נראה לאחרונה"

Hello :wave:

You can order it to the first place with adding this css to a component Common/CSS section.

#user-card {
  .metadata {
    .last-seen-metadata {
      order: -1;
    }
  }
}
5 לייקים

Thank you for the code. I applied it, cleared cached, and reloaded, but the position didn’t change.

לייק 1

Hmm it should work… :thinking:
Did you add it to the right place in Common/CSS and activate the component to the theme?


One more thing I can think is you have an older version of Discourse and this code might not work.

I updated the code above!

לייק 1

I added it as a component then added css


I don’t think it’s old as I’ve just downloaded it yesterday and installed it on my server.

Could you share your site url so we can check what is happening? :slight_smile: You can send it in PM too if it’s not public.

Got it working! I just had to rebuild. Oopsie. :blush:

CSS change doesn’t need rebuilding :thinking: Just reloading of the forum in a browser.

2 לייקים

I didn’t think so, but that’s the only thing that worked. Maybe a coincidence.

Me personally, it should be last post, and the last seen.

Screenshot 2025-06-15 at 6.27.54 PM

How do I fix this?

לייק 1

Thank you for reporting this. I pushed a tiny update. The admin notice banner should go away when you update the component.

3 לייקים

Component stopped working after latest update. No errors shown.

Version: 3.5.0.beta5-dev - (d564386066)

האם תוכל לוודא שאתה בודק את כרטיסי המשתמש עבור חשבונות שנכנסו בפועל לאתר לפחות פעם אחת? אם תוכל לאשר שזה לא עובד עבור אף משתמש, האם תוכל לעדכן את מופע ה-Discourse שלך וליידע אותי אם זה מתחיל לעבוד לאחר מכן? אם כן, אז אולי אנסה לקבע את הקומיט האחרון לרכיב זה לגרסת הבטא החדשה ביותר, רק כדי להיות בטוח.

2 לייקים

Same here, but I’m on v3.4.6 (Stable channel).

Confirmed, it was working before this update, and it no longer works now for any user. I just updated my Discourse instance to v3.4.6. Would it be possible to make this updated Glimmer implementation only be installed for users on v3.5.x and offer the previous version for v3.4.x?

BTW thanks for this extremely essential component, it really should be in core Discourse. :wink:

2 לייקים

תודה על האישור @rahim123. הוספתי קובץ תאימות שאני חושב שאמור לקבע את הרכיב לגרסה הקודמת (לא-glimmer) עבור אתר המריץ commit ליבה שנעשה לפני שחרור הגרסה 3.5.0.beta7-dev. האם תוכל לעדכן את הרכיב ולעדכן אותי אם הוא מתחיל לעבוד שוב עבורך?

2 לייקים

It wasn’t finding the update, so I had to delete and re-install the component. It’s now working again, thanks so much for the quick response!

4 לייקים