Discourse Gamification

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 Like

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 Likes

我在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 Likes