MihirR
(Mihir)
2024 年 12 月 8 日午前 7:50
1
Feature Request: Like/Dislike Buttons + Inline Replies
Hi everyone!
I’m using the Redditish theme and looking to add:
Like/Dislike Buttons similar to Reddit/Facebook for quick reactions.
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!
「いいね!」 2
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.
「いいね!」 3
Jagster
(Jakke Lehtonen)
2024 年 12 月 8 日午前 10:15
4
That doesn’t work with Topic List Previews, right?
No, just pointing out it can be done.
「いいね!」 1
pfaffman
(Jay Pfaffman)
2024 年 12 月 8 日午前 11:31
6
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)
「いいね!」 1
MihirR
(Mihir)
2024 年 12 月 8 日午後 3:08
9
Exactly, I want it to be shown on the main feed like the topic page itself.
「いいね!」 1
HAWK
(Hawk)
2024 年 12 月 8 日午後 7:15
10
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 .
「いいね!」 5
pfaffman
(Jay Pfaffman)
2024 年 12 月 8 日午後 8:42
11
Oh. I didn’t get that. Passing judgement on a topic that you haven’t read is pretty much the opposite of Civilized Discussion.
「いいね!」 5
MihirR
(Mihir)
2024 年 12 月 9 日午前 5:31
12
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.
「いいね!」 1
MihirR
(Mihir)
2024 年 12 月 9 日午前 5:35
13
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!
「いいね!」 3
HAWK
(Hawk)
2024 年 12 月 9 日午前 5:48
14
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.
「いいね!」 2
MihirR
(Mihir)
2024 年 12 月 9 日午前 5:56
15
Sure sure, that would be great.
「いいね!」 2
system
(system)
クローズされました:
2025 年 1 月 8 日午前 5:57
16
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.