This Discourse theme component inserts a topic author avatar into the first column of all topic list routes and has settings that let the admin specify avatar shape and size. Also, the author's avatar will not show as the first avatar in the posters list.
There is also a setting to make the posters avatars column display only the latest (most recent) poster, but only if there is more than one topic participant. Thus, the author's avatar will only show if there are other posters in the topic.
In addition, admins can also choose to display the topic author on the category page when latest topic list views are enabled (i.e.: Categories with latest topics), and there are avatar size and shape options as well.
The topic row contents have also been vertically aligned top for visual consistency.
In small viewport (mobile size), the author will appear where latest poster avatar is.
This topic works well with Topic List Excerpts and Discourse AI summary gists.
- Install this theme component as per the instructions at Installing a theme or theme component.
- The default settings are medium avatars with the standard shape, and posters in the posters column as usual.
| Settings | Description |
|---|---|
Topic list author avatar size |
Size of avatars in the author avatar column of topic list page routes - small, medium, or large. |
Topic list author avatar border radius |
Avatar rounding on topic list page routes: 0% = square -> 50% = circle. tab_style = rounded left corners |
Topic list show las poster only |
Show just the last poster avatar in the posters column, but only if there are more than one participant in the topic. |
Show author on categories page |
Show the author avatar instead of the latest poster in topic lists on the categories page. |
Category page topic avatar size |
Size of avatars in the author avatar column in categories page topic lists - small, medium, or large. |
Category page avatar border radius |
Avatar rounding on categories page: 0% = square -> 50% = circle. tab_style = rounded left corners |
Here are some screenshots with different avatar size and shape settings, also showing with expanded AI summary gists.
With default settings:
Small avatars with 15% border-radius shape and Topic_list_show_last_poster_only enabled:
Large sized tab_style avatars and Show_author_on_categories_page disabled:
- Inserts the author's avatar and changes the posters column where expected in profile page tabs.
- Mobile behavior is the same as default in topic footer lists (suggested/related topics) and in profile and inbox tab pages.
- Not really compatible with horizon theme.
Discourse Meta Topic: Discourse Topic List Author & Posters
Support: For issues or feature requests, please post in the Meta topic or start a PR on this repo.
To hire me or buy me coffee: visit me here: Lilly@Discourse Meta.