继续讨论 功能请求的投票与点赞:
感谢 @mtan 发布此内容,因为我正在寻找同样的东西——我启用了投票功能,结果发现在我自行托管的安装中点赞功能消失了。
@Falco 我不确定 @mtan 是否仍需要此功能,但如果您能分享需要哪些 CSS 代码来取消隐藏点赞按钮,我将不胜感激!
继续讨论 功能请求的投票与点赞:
感谢 @mtan 发布此内容,因为我正在寻找同样的东西——我启用了投票功能,结果发现在我自行托管的安装中点赞功能消失了。
@Falco 我不确定 @mtan 是否仍需要此功能,但如果您能分享需要哪些 CSS 代码来取消隐藏点赞按钮,我将不胜感激!
The like button - and like count - are only removed from topics in categories where you have voting enabled. Topics in categories where you don’t have voting enabled are not affected.
If you’d still like to show the like button and count in topics in categories that have voting enabled then try to add the following to your theme in the common CSS tab:
.topic-post.voting-post button {
&.like-count,
&.toggle-like {
display: block;
}
}
Thanks for clarifying @Johani and sorry for the inconvenience of having to split the topic for me, I’m yet to familiarize myself with the humongous list of categories and subcategories here, however this does clarify the share a link to this post function. 
Many thanks also for the CSS, I’ve just added it and re-enabled voting and all’s working well.
No worries @silverhuang 
I moved your question to a separate topic to make the solution easier to find in case someone else has the same issue that you did.
@silverhuang What’s your reasoning behind wanting to enable both Voting and Likes? I can see how this can cause confusion so now I think just having one would be a better approach.
@mtan In truth I’m still testing what works best for my particular community. Today is literally day two of the program that I’m running on a private invite-only Discourse and so I’m still open to experimentation as I only have 12 members.
The current hypothesis I suppose is… voting is on the value of a topic, whereas likes as per What are "Likes"? is for expressing agreement, support etc. to another user.
I’m waiting to see if there is any particular preference for either. So far, members seem to be using the like function more, probably because they are more familiar with it, thanks to Facebook etc.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.