Discourse Topic Author

There seems to be an unexpected bug when used with Who's Online plugin.
That is, if the last post’s author of a topic is online, it’s showing as if the topic’s author itself is online on the /latest and Categories & Latest Topic pages.

1 Like

Hi @Dax
Thank you so much for your awesome theme component.

I wish there was a chance to translate the “Author” term!

3 Likes

Following up on this as well. Is there any way to translate it?

1 Like

Now yes, it is possible to translate. Update the component to the latest version.

2 Likes

BTW I reduced the width from 70px to 50px. It looked better this way. How about removing that css from the html tag itself and rather create a css class? That way it’s easier to override the CSS in an update-safe manner. I had to change the theme component’s code to adjust width. I will have to reapply those changes manually after updating it.

Alternatively add it as a setting for the theme component backend. :wink:

keep up the good work, the component is great!

PS: Would love to have a similar component but for a “Latest Post” column like in Sam’s Minimal Theme or MD Topic List. This wish comes my community directly.

1 Like

There was a reason for the width to be hardcoded, but now I can’t remember :thinking:.

In case I will make the change when I have some time :sweat_smile:

3 Likes

I have the same doubt as @thegurjyot, I’d prefer to have a separate author column and another one for all other posters, is there a simple change I can make to achieve this?

1 Like

Just make a comment in the code next time when you do something specific :stuck_out_tongue:

#Dev Notes: I did this cause the interwebs told me I should

1 Like

I am still looking forward for a mobile only option in this theme component. Maybe you’ll implement in future update.

4 Likes

Tried something pure css from this topic but seems that would not work now:

Maybe not something your want but you can just comment out everything on Desktop section. (CSS and )

I create a pull request to fix behavior on mobile view

  1. Fix invalid profile url
  2. Should show user-card on first click rather than go to profile directly
2 Likes

Hey @Dax

is there any way to disable the theme component in a specific category or view?

I am testing the Topic List Preview and it prevents TLP from displaying thumbnails when both components are activated at same time. The issue appears for TLP plugin and theme component as well.

It is not recommended to use this component in conjunction with other plugins/themes that heavily modify templates.

2 Likes

Hi! I think this is a great component.

Just one quick question: Does it show the avatar flair image? I have installed this theme component in my local discourse installation. While I can see the flair when entering the topics, it does not show in the list of topics (where the theme component changes the layout).

Thanks!


I reply to myself: It is not implemented in the component. I forked and played a bit with the code but I’m not sure whether I can retrieve the primary group (and the flair parameters) from the topic creator. Any hint on that @Dax ? Thanks again!

1 Like

When using this together with the “Topic List Previews” plugin, the “Author” column shows the topic title and “Topic” shows the users, even in categories where no Topic List Preview features are enabled.

1 Like