Gamificação do Discourse

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 curtida

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"
}'
1 curtida

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

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