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 Grant a custom badge through the API for details.
simon
5
נושאים קשורים
| נושא | תגובות | צפיות | פעילות | |
|---|---|---|---|---|
| How do I make my own badge query? | 4 | 6199 | 1 באוקטובר, 2016 | |
| Grant a custom badge through the API | 9 | 7747 | 18 בנובמבר, 2023 | |
| Creating custom badge with custom rules | 10 | 1682 | 14 במרץ, 2023 | |
| Badge collection examples | 5 | 2302 | 18 במרץ, 2015 | |
| Create badges based on Gamification score | 3 | 788 | 10 בינואר, 2023 |