I’ve pushed a fix
The 2nd one with the avatar on the right please ![]()
I’m glad the component was updated, I’m using it on all my instances.
The alternative looks good. Replacing the avatar with the badge is odd, to be honest. I would personally reduce the badge size, but yeah, it sounds good to me.
I like this alternative.
Ok I’ve updated the component to try this out. Let me know if you have any issue
Thanks again @Arkshine, without your work I would’ve let it down
Do you think it’s necessary to display the number of views and likes below the title as well?
Because in the old version, they were displayed.
I don’t think it was, my guess is you added it directly in the component using plugin outlet
I don’t have the code right now, but if you really need it I can help
The base code should be something like this
<script type='text/x-handlebars' data-template-name='/connectors/topic-list-after-category/viewsandlikes'>
<span class='topic-views'>{{d-icon "eye"}} **code**</span>
<span class='topic-likes'>{{d-icon "heart"}} **code**</span>
</script>
Aha, really? I can’t remember if I made any changes either.
Maybe my memory is playing tricks on me.
But thank your help, i’ll change code from my side ![]()
By the way, it looks like the preview link doesn’t work.
Fixed it, thanks
I cleaned up my theme creator page, but forgot to share these components again
I think i’ve got it, i’ve pushed a fix, try to update and let me know if it’s good now
It’s tricky since the whos online plugin attach this indicator to the pull left side (which we deactivated) and the avatar is centered vertically.
I can get closer with these modifications (put these on a css mobile stylesheet), but it’s definitely far from perfect.
.pull-left {
float: right;
}
html.whos-online-flair.mobile-view .topic-list-item.last-poster-online div.pull-left::before {
top: -15px;
left: unset;
right: -50px;
}
The easiest solution would be to deactivate this indicator on mobile and on the topic list only
html.whos-online-flair.mobile-view .topic-list-item.last-poster-online div.pull-left::before {
display: none;
}
Hi Max. I wanna show some stuff under the title as well, like the number of likes and views. How did you pull that off?
Little update on the component, inside a category, the topic list was quite empty. I’ve added some infos with the author and number of posts.
Before
After
It looks good. I adjusted some colors to avoid being too flashy.
body.category .category-author-comments {
color: var(--primary-medium) !important;
}
body.category .category-author-comments a {
color: var(--primary-medium) !important;
}
This component will break soon:
I was a huge fan of it, but perhaps we can still tweak the layout in some ways using the mobile breakpoint?
This is getting annoying tbh, every year now we have to rebuild the entire component. It shouldn’t be this hard to maintain a theme
But I’ll look into it because I really have some issues with the default mobile theme
7 years of using discourse everyday and still not used to the big avatar on the left which does NOT represents the author, but the last poster ![]()
I’ll cry tears of joy when it’s officially gone ![]()
I like this component , the avastar on the left really distracts from reading
I hope it can continue to be maintained even paid(but not too expensive though, I probably can’t afford it
)


