Adding Like Dislike Buttons And Inline Replies To Redditish Theme

AI-generated summary

MihirR requested two features for the Redditish theme: Like/Dislike Buttons and Inline Replies to show 2 comments under posts on the main screen. merefield suggested that these features are possible but may require development or a visit to the Marketplace. merefield also provided links to Topic List Previews and Topic List Latest Post Excerpt as examples. pfaffman mentioned that Discourse Reactions could be used to contrive dislike buttons. However, merefield noted that these reactions cannot be operated on the Topic List. MihirR clarified that they want the features to be shown on the main feed. HAWK suggested that the feature request may not be built and recommended posting in the Marketplace. Eventually, MihirR implemented the features themselves and was impressed by the marketplace. HAWK moved the discussion to Support so it wouldn’t be lost.

Feature Request: Like/Dislike Buttons + Inline Replies

Hi everyone!

I’m using the Redditish theme and looking to add:

  1. Like/Dislike Buttons similar to Reddit/Facebook for quick reactions.
  2. Inline Replies: Show 2 comments directly under posts on the main screen for better context.

Here’s an example of the current setup:

Questions:

  • Can this be done using Discourse settings or plugins?
  • Any tips to implement inline replies while keeping the layout clean?

Thanks for your help! :blush:

Yes these things are possible, but you may need to do some dev or go to Marketplace to get customisation like this done, as it’s a little involved.

Yes, it can be done, see Topic List Previews, where you can Like from the Topic List directly.

yes, see: Topic List Latest-Post Excerpt for an example.

For a client, I’ve once implemented a list of thumbnails to the Topic List that includes the latest images from the Topic.

That doesn’t work with Topic List Previews, right?

No, just pointing out it can be done.

You could contrive dislike buttons with Discourse Reactions

But you can’t operate those on the Topic List? (I think that’s what the OP is referring to)

Exactly, I want it to be shown on the main feed like the topic page itself.

I’m not sure you’ll get far with a feature request here – this isn’t something that we will build. You are likely better off posting in the Marketplace.

Oh. I didn’t get that. Passing judgement on a topic that you haven’t read is pretty much the opposite of Civilized Discussion. :slight_smile:

Hahaha, true! But since I’m using a Redditish theme, it will probably show some small to medium-sized posts on the topic page itself.

I worked on it myself in the end. I did look around to see if any plugins or components were available, but nothing quite fit, so I decided to code it myself. I also had a chance to check out the marketplace, it’s really impressive!

Brilliant! Glad you got it sorted.
In that case I’ll move this out of Feature and into Support so the discussion isn’t lost.

Sure sure, that would be great.