话语游戏化

<div> </div>

-|-|-|
:discourse2: | **概要** | **Discourse Gamification** 为您的实例添加了可自定义的评分(karma、kudos、points)和排行榜。
:open_book: | **安装指南** | **此插件已包含在 Discourse 核心中**。无需单独安装插件。
:test_tube: | **演示** | [排行榜](https://meta.discourse.org/leaderboard/1)

[quote]
:discourse2: 由于这是由 Discourse 团队维护的#官方插件,#支持、#错误、#用户体验和#功能请求可以在 Meta 的相应类别中提出,并使用相应的插件标签进行标记。点击下面的链接即可开始。 :+1: 

:question:**支持**](https://meta.discourse.org/new-topic?category_id=6&body=>%20在提问之前,您是否搜索过?请按右上角的🔍进行搜索。&tags=gamification "就配置和使用 Discourse Gamification 寻求支持") :bulb:**错误**](https://meta.discourse.org/new-topic?category_id=1&tags=gamification "错误报告意味着某项功能已损坏,阻碍了插件的正常/典型使用") :eyes:**用户体验**](https://meta.discourse.org/new-topic?category_id=9&tags=gamification "关于 Discourse Gamification 用户界面以及功能呈现方式(包括语言和 UI 元素)的讨论") :bulb:**功能**](https://meta.discourse.org/new-topic?category_id=2&tags=gamification "关于如何改进或增强现有 Discourse Gamification 功能以及提议的新功能如何工作的讨论")

[/quote]

![image|527x499](upload://f87AW5yVSvZBzb2XgAlEfrjJF0u.png) 

### 功能
 
虽然 Discourse 开箱即用地提供了游戏化功能(徽章、信任级别),但有些社区希望更进一步。这就是 https://github.com/discourse/discourse-gamification 的用武之地。

此插件允许管理员轻松创建和调整社区评分竞赛,在竞赛中通过参与社区来奖励积分。

积分会每小时自动更新当天的活动,我们每天重新计算过去 10 天的分数。

#### Cheers

用户通过在社区中执行某些操作来获得“cheers”。每个用户的 cheers 分数会显示在他们的用户卡、用户个人资料中,并且可以在用户目录中启用。


![user card example with cheers|577x257](upload://nVYQRvNytbVxCjp1CE7DQ0pgGOs.jpeg)


![user profile example with cheers|690x499](upload://zq57ICPPEDvPIzT1C7AqFgdNJWz.jpeg)


![user directory example with cheers|690x352](upload://dE8zEMNBrL8M3hsK59MfHYAOFc6.png)

喜欢这个插件,但“cheers”这个名字对您的社区来说不是最好的?您可以使用 [自定义 Discourse 中的所有文本](https://meta.discourse.org/t/customize-all-text-in-discourse/36092) 将其重命名为任何名称。

#### 排行榜

![image|623x500](upload://4bemXIPqEG5eLUf3SNKuVXKSb9f.png)

 
管理员可以创建多个排行榜,每个排行榜都可以自定义:
 
- 开始日期
- 结束日期
- 参赛用户
- 排行榜隐私
 
默认情况下,我们在 `/leaderboard` 路径下提供一个默认排行榜,其中列出了自开始授予分数以来的所有用户。
 
您可以在 https://meta.discourse.org/leaderboard/1 处查看演示。
 
#### 可评分项
 
目前,以下事件会授予 cheers:
 
- 每日访问
- 接受的标记
- 点赞数
- 收到的点赞数
- 创建的帖子
- 阅读的帖子
- 接受的解决方案(需要 [Discourse Solved (Accepted answer plugin)](https://meta.discourse.org/t/discourse-solved-accepted-answer-plugin/30155))
- 阅读时间
- 创建的主题
- 接受的用户邀请
 
请参阅 [路线图](https://meta.discourse.org/t/discourse-gamification/225916#roadmap-10) 了解即将推出的可评分项。
 
### 分数回填
 
您可以使用 `/admin/plugins/gamification` 页面的“重新计算分数”按钮,通过 UI 运行回填来计算历史分数:
 
![recalculate scores - button|690x239](upload://sIs6X9qp22XlD0qxysyFNEIoejh.png)
 
 
如果对可评分项或符合条件的评分类别进行任何更改,也可以使用此功能重新计算排行榜。您每天最多可以生成 5 次重新评分,并且可以选择时间范围(或设置自定义时间范围):
 
![select timeframe|481x317, 75%](upload://dgTYAkEJ5iQEsM8o8M1ZdeDAFUW.png) ![timefarne options|526x462, 50%](upload://b7b3jhxnInjiJWTLyyglfvyxUNl.png)
### 配置
 
全局自定义包括:
 
- 每个操作的分数乘数 
- 限制可以获得积分的类别
- 启用和禁用插件
 
这些插件级别的设置位于 `/admin/site_settings/category/plugins?filter=plugin%3Adiscourse-gamification`。
 
要创建、删除和更新排行榜,管理员可以访问 `/admin/plugins/gamification`。 
 
### 用作小部件
此内容也可以作为小部件显示,格式更小,位于 [Right Sidebar Blocks 主题组件](https://meta.discourse.org/t/right-sidebar-blocks/231067) 中。更多信息可在那里找到。
 
### 基于分数的徽章
 
您可以使用 https://meta.discourse.org/t/enable-badge-sql/47894 来获得基于游戏化分数的自动徽章。
 
当用户获得超过 9000 cheers 时,这是一个示例徽章:
 
```sql
SELECT user_id, current_timestamp AS granted_at 
FROM gamification_scores
WHERE (:backfill OR user_id IN (:user_ids))
GROUP BY 1
HAVING SUM(score) > 9000

更新日志

  • 2022-05-02T03:00:00Z - 公开发布
  • 2022-05-10T05:00:00Z - 使用近期更改更新路线图

路线图

(大致排序)

  • 使排行榜尊重禁用“在用户体验中优先显示用户名”的设置

  • 在排行榜领奖台上使用更高分辨率的头像

  • 添加自定义每徽章评分

  • 添加每反应评分(需要 Discourse Reactions Beyond Likes

  • 添加聊天事件评分(需要 Discourse Chat

  • 添加投票事件评分(创建投票、在投票中投票)

  • 添加媒体事件评分(发布图片、发布视频、发布 onebox)

已实施:

  • 修复用户目录自定义分数列中的 i18n 表标题
  • 忽略临时用户
  • 忽略匿名用户(电子邮件匹配 @anonymized.invalid
  • 样式排行榜编辑表单
  • 排行榜“您”链接需要更大的偏移量以适应浮动标题..
  • 修复当用户位置 > 100 时,排行榜上自己用户的突出显示不起作用
  • 在用户卡/个人资料 cheers 分数中添加 i18n 千位分隔符
  • 向排行榜添加时间段过滤器
  • 向排行榜设置添加默认时间段过滤器
  • 向排行榜设置添加 excluded_groups_ids
  • 允许管理员向用户授予/移除任意分数,以便与 Discourse 外部的可评分项集成
  • 使分数点击链接到排行榜(在用户个人资料和用户卡中)

:discourse2: 由我们托管?此插件可在我们的 Business 和 Enterprise 套餐中使用 Gamification | Discourse - Civilized Discussion

112 个赞
Right Sidebar Blocks
What are Discourse "Cheers" supposed to be?
Leaderboard Plugin
Discourse Gamification now supports custom scores for external integrations
Discourse vs Skool
Create badges based on Gamification score
Gamification options in Free discourse.group
Add Scores for Reactions
Add Scores for Chat
Use rewards points to redeem subscription hours
Points based currency to reward quality
Membership anniversary
Is there scoring for badges?
If the forum wants to accumulate good posts, shouldn't we have some stimulation/motivation system?
What are the ways to do a competition like this
Adding virtual currency / points
Looking for the perfect theme
Adding virtual currency / points
Point system in bagdes?
Check-in punch
Whats a cheer and how do you enable it?
Changes to which reactions :thumbsup: are counted as likes :heart:
[Discourse Gamification] Secrets Revealed: Spend to Discover
Is it possible to create a leaderboard for a specific category + tag?
Users losing disproportionate amount of cheers
Add Poll events to Gamification
Allow users to see trust level 3 progress on user profile
New monetisation feature proposition
Having more Trust Levels?
How to adjust gamification points without retroactively updating point values for old score-able actions
Can points values be customised per action?
Gamefication scoring for portuguese forum?
Using user cards to quickly view information about others
Add Scores for Chat
Identifying up-and-coming top contributors
How is this daily sign-in implemented? I get points randomly every day
User card loading failed
Bundling more popular plugins with Discourse core
Plugins to Enhance user Engagement
Spend “Gamification“ points to unlock hidden content
How to add a Leaderboard link to the hamburger menu?
A feature request related to this plugin. Pointed questions or rewarded questions
Likes Given & Likes Received Scoring
Can we display solved count on the /users page?
How Do You Get Cheers?
Can we have a point system? Or do we have to use plugin?
Subtract points based on certain reactions
Scores not updating right away
OP Contents on Progress Bar
Best practices: Staff who've left
Custon button how "like" ? add custom post buttons
Leaderboard- Exclude Certain Users
Set points setting + redemption
Which text fields to change to rename 'score'?
Add User leaderboard in sidebar
What is a cheer?
Ranking System - Gamification
Add Scores for Reactions
Setting a leaderboard date range should lock the default period
A fun contest idea to drive engagement - over 50 new members / intros in a week :)
How to integrate Discourse Gamification with an external system (redeem and award points)
Seeking Suggestions for User Engagement and Reward System
Need someone who is familiar with gamification to set up our site

帖子已拆分为新主题:选择个人资料中链接的排行榜

帖子已拆分为新主题:根据特定反应扣除积分

2 篇帖子已拆分为新主题:为特定日期范围创建前 20 名排行榜

为了说明 posts_created 的游戏化评分已根据一些额外因素进行了调整,特此说明:

6 个赞

这很棒。一个功能建议是允许为每个版块设置不同的可评分设置,这样每个版块都可以用于独立的社区驱动的竞赛。

例如,一个“本月最多帖子”的版块会将帖子创建的分数设置为 1,而其他所有分数都设置为 0。而一个“本月最佳点赞”的版块会将点赞的分数设置为 1,而其他所有分数都设置为 0。

1 个赞

像这样 /u?order=likes_given&period=monthly

是的,这是一个类似的想法,但它是游戏化仪表板的一部分,而不是默认用户列表布局。

Discourse 用户列表(/u)可以显示为不同的方式,例如用户卡片目录主题组件,这对于全局站点用户列表来说很好,但对于用户排名页面来说看起来不太好。因此,为每个游戏化仪表板使用单独设置的建议是有效的,并且在这种情况下比使用 Discourse 用户列表更有意义。

1 个赞

帖子已拆分为新主题:葡萄牙语论坛的游戏化评分?

如何从我的侧边栏中删除此排行榜链接?它似乎是自动添加的,因为它不在自定义链接设置中,而我希望它在那里以便将其移至“更多”菜单。

我看到 Meta 已经解决了这个问题,但我这边没有看到任何可配置的设置。

1 个赞

作为网站的管理员,您应该能够自定义此部分。

确实,我认为它应该列在那里。

1 个赞

你应该能够使用 = 将其拖到“更多”部分。

抱歉,我误读了您的帖子

2 篇帖子已拆分为新主题:排行榜显示是否有最低用户要求?

帖子已拆分为新主题:如何获得欢呼声?

2 篇帖子已拆分为新主题:分数排名选项的差异

帖子已拆分为新主题:用户抱怨失去积分

我刚注意到这一点似乎在某个时候被添加了……该如何操作?

1 个赞

@Kartoon 我认为这就是您想要的:

1 个赞

您好 @Discourse:wave:

我想知道可以“撤销”奖励欢呼的事件吗?例如,当我将论坛成员的回复标记为解决方案时,他们会收到 5 次欢呼。但是,后来我决定该回复不是解决方案并取消标记它,那么他们会失去获得的 5 次欢呼吗? :thinking:

2 个赞