تحويل النقاش إلى لعبة

Is it possible to somehow manually reset or rewrite the Leaderboard URL? In our case we tested some leaderbaords, deleted them later.

E.g. /leaderboards/5 to /leaderboards/1.

Est il possible d’attribuer des points à un utilisateur comme récompense supplémentaire ? :grin:

إعجاب واحد (1)

You may want to see:

which has this curl request inside:

curl --location 'https://my.discourse.com/admin/plugins/gamification/score_events' \
--header 'Api-Key: <your key>' \
--header 'Api-Username: <your username>' \
--header 'Content-Type: application/json' \
--data '{
    "user_id": "101",
    "date": "2024-05-15",
    "points": "-141",
    "description": "Gamification point adjustment"
}'
إعجابَين (2)

我在admin打开了这个插件,但是标签栏并没有自动出现Leaderboard,我添加了新的榜单也没出现。这是为什么?我应该去哪里看这些榜单?

I think you have to add them to the sidebar yourself :thinking:. The leaderboards are at /leaderboard, /leaderboard/2, /leaderboard/3 etc.

Is it possible to create a leaderboard for a specific category or tag?

Leaderboards are tied to groups. But you can specify which categories affect all the leaderboards in the gamification settings. Seems like an interesting idea to move that to the leaderboard, to for example have a Support leaderboard here in this community.

إعجابَين (2)

Is there a way to reduce points for users who have had a flag accepted ‘against’ them? either manually or in an automated way? I believe this could really help users avoid toxic behavior.

إعجاب واحد (1)

It’s an interesting idea, but at the moment all scorables are positive.

Currently, you can apply penalties via the API using How to integrate Discourse Gamification with an external system (redeem and award points)

إعجاب واحد (1)