Además de mi propio interés en agregar esta estadística a las tarjetas de usuario, ha habido algunas discusiones aquí que inspiraron la creación de este componente de tema:
\u003ch2\u003eInstalación\u003c/h2\u003e
Sigue esta guía aquí:
¡No dudes en publicar si tienes alguna pregunta, problema o sugerencia!
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
0voters
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.
Reviviendo este: ¡Solo para confirmar que sigue funcionando de maravilla y es súper útil!
Esto hace que sea muy rápido y sencillo verificar si el usuario es, de hecho, un miembro activo. Antes siempre tenía que abrir el perfil completo para decidir si valía la pena el tiempo enviar un mensaje privado al usuario.
He notado que desde mi última actualización de Discourse, el texto “Last Seen” en la tarjeta de usuario es mucho más grande que el resto y también está en negrita. Comprobé y está envuelto en <h3>, así que deshice esto poniendo
Las actualizaciones de los componentes del tema están completamente separadas de las actualizaciones del núcleo, puedes actualizarlas en cualquier momento desde la interfaz de administración independientemente de las actualizaciones del núcleo.