The easiest way to grant a badge based on activity that occurs outside of Discourse would be to create a custom badge on Discourse through the UI, and then grant the badge through the Discourse API. See How to grant a custom badge through the API for details.
simon
5
Tópicos relacionados
| Tópico | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
| How do I make my own badge query? | 5 | 6182 | 10 de Outubro de 2016 | |
| Grant a custom badge through the API | 9 | 7601 | 18 de Novembro de 2023 | |
| Creating custom badge with custom rules | 10 | 1639 | 14 de Março de 2023 | |
| Badge collection examples | 5 | 2278 | 18 de Março de 2015 | |
| Create badges based on Gamification score | 3 | 773 | 10 de Janeiro de 2023 |