Discourse Gamification

@Falco It doesn’t seem to allow for decimal values for points. How difficult would it be to allow such a thing? The editor allows you to enter and save the value, but when you refresh the page it reverts or goes to 0.

When entering a decimal value in the UI, it seems the PUT request is accepted with 200 OK but the value still isn’t saved.


For points? Or for the multiplier in Site Settings?

1 Like

For the point values in the plugin settings.


Ohhh for the weights. While allowing only there would be doable, we are storing only integers, so the system will be truncating score during many steps of the calculation, which would make the system harder to validate.

For the moment I would recommend using larger numbers to accomplish the same effect, where instead of having let’s say

  • Like Given 0.5
  • Like Received 1

You can use

  • Like Given 5
  • Like Receives 10

and so on.

Works fine for Final Fantasy :innocent:


Hey, tks a lot for this plugin.

Wht do you think about adding users who answer a poll in the score? (ie: aggregate this action with the like given score value).

On my side, that would be terrific!


We’ve received some pushback from our community since switching this on. Part of that comes from the “All Time” view where folks who are active now feel less involved than those who have been active a while ago who are no longer active. So here’s an idea.

:bulb: Allow Admins to set the default timeframe view of the Leaderboard.

If that were the case I’d set it to either “Today” or “Week” as a way to help the community focus on the now.

Alternatively, include the timeframe parameters in the URL so folks could bookmark their preferred timeframe view of the Leaderboard.

I also reiterated this with our community:

Whenever I look at the leaderboard I first switch it to “Today” to get a quick sense of who is about. Then I switch to “Week” and then “Month”. It gives me a sense of who is “around”. It also reminds me to connect with people I haven’t connected with for a while. I then just switch away from the leaderboard and back to the “Everything Latest” view and get involved there, as that’s where it all matters.


I do agree! I am waiting for this feature but probably it will take time to have it


That’s already possible, as we had a great Enterprise customer sponsor this feature. To to the leaderboard you want and set the default time frame there.


Ah jeez, there it is! :facepalm:

Thanks for pointing that out, @Falco. :slightly_smiling_face:


That’s already in the roadmap of planned features in the OP:


Oups: sorry i haven’t double checked that.
Tks a lot for your response.

1 Like

@GH_Nam, I think this commit blanks out the name if a user doesn’t have a full name set:


Oh no, I will work on this!


For this one, is it possible to ask for a guidance for where to work on?
I am not sure if I should makes changes only to the Gamification plugin, or the Reaction plugin as well. Since not every site uses the Reactions plugin, is it okay to include settings about reactions in the gamification plugin?


Can that option only be enabled if Reactions plugin is found? I think that could do the trick :love_you_gesture:

1 Like

Is it possible to do an API PUT request to change the score of a user? Care to share how? I tried this but didn’t work

curl -X PUT "https://mydiscourse.com/u/someuser.json" \
-H "Api-Key: yadayday" \
-H "Api-Username: orlie" -d '{"gamification_score":123}' -H 'Content-Type: application/json'

Yes, we already do this for Discourse Solved. Since every scorable extends the base Scorable class you can redefine the enabled? method to check if a plugin is installed and enabled.

Yep, check out