如何提名帖子按钮?

TL;DR:要实现允许用户提名帖子参加竞赛,需要做些什么?

我是 Maslow CNC Discourse 论坛(https://forums.maslowcnc.com)的管理员。我们一直举办每周“本周项目”竞赛,用户可以提名已发布的项目,系统会生成投票,获胜者将获得论坛徽章以及一些铣刀头。这是一个非常棒的社区建设活动,既奖励了分享项目的用户,也让社区成员了解到如何更好地使用他们的机器。然而,我发现提名情况很不稳定:有些周提名很多,但其他周即使发布了很棒的项目,却没有任何提名。看来有些周用户根本不会想到去提名。

我认为,如果能在帖子底部的菜单中添加一个“提名”按钮(正如一位用户所建议的),提名会变得更加踊跃。理想情况下,该按钮应能自动在每周的提名征集主题中发布一条提名信息,但这需要某个设置来指定该主题。我也欢迎其他可行的方案。

我目前没有修改 Discourse 的经验,因此目前只是在评估实现此类功能所需的工作量。我已经看过 https://meta.discourse.org/t/plugin-tutorial-3-how-to-add-a-button-after-every-post/11050,了解添加按钮的基本方法,但我不确定该按钮应触发哪些操作。

1 个赞

You might check out Discourse Voting.

4 个赞

That’s somewhat like what I want, but not quite. The differences:

  • Not all candidates for Project of the Week end up in their own topics. Sometimes a user will post a picture of a neat project as part of a related topic. I don’t really want to limit nominations to topics.
  • I still like the nomination process, whereas the voting plugin “nominates” all the topics in the selected Category (Categories?). I feel that User A nominating User B’s project helps add to the very positive vibe of the Maslow Community.

I will take a look at the voting plugin to see if there are elements I can use in my project, though, so thanks for the suggestion!

What would be nominated other than topics? Users themselves? Posts? You’ll have to have a vote/nominate button somewhere. Where do you envision that landing?

1 个赞

Posts. I would add a button to the menu at the bottom of each post.

Having built a lot of plugins for fun and for hire, I would highly suggest sticking to topics. If you vote on posts, the next natural question is: how do you view posts in rank order?

That dictates a need to reorder a stream of posts. Having done that once (and once was all it took), you’ll need to set aside a hefty budget to commission it.

If at all possible, I would look for a way to set up multiple categories within a parent Nominations category.

2 个赞

Why not simply count likes?

3 个赞

That certainly would be a lot easier. I think there is something about the nomination-poll process that makes receiving the Project of the Week more of an honor, though.