Comment intégrer la gamification Discourse avec un système externe (échange et attribution de points)

Late to the party here - Is there a way that certain point transactions could be earmarked so they don’t count as ‘spends’ toward leaderboard rank? Would want other true negative points to count toward leaderboard (votes/flags against, api events as suggested above for ‘losing’ a ladder event, etc).
eg.

  • accumulate 10k points through activities, be in the lead. Yay!
  • Spend 10k points on fancy swag, be at ‘spendable’ 0 points as a query would sum 10k - 10k.
    • but should still be on the top of the leaderboard.
  • Lose 2k points in a ladder game, display on leaderboard at 8k. Lose the lead…Spendable balance negative 2k.
1 « J'aime »