Wanneer een gebruiker in aanmerking komt voor meerdere geautomatiseerde ‘titel’-toewijzingen (via badgegroepen), hoe wordt de definitieve titel dan bepaald?
Is het mogelijk om hier een hiërarchie in aan te brengen, bijvoorbeeld via de volgorde van SQL-queries of binnen de automatiseringsinterface?
Dit is cruciaal voor onze algemene gebruikersniveaus en vertrouwensniveaus, die worden ingesteld door de progressieve voltooiing van specifieke badges (uitdagingen in onze community).
Elk advies of hulp wordt zeer gewaardeerd.
1 like
The highest priority badge group with a title assigned determines the definitive title.
and Yes, it is possible to establish a hierarchy of titles:
1. SQL Badge Queries
You can control priority by:
Ordering queries logically in the automation script or schedule.
Using SQL to revoke lower-priority titles if a higher-priority one is awarded.
Adding logic like IF NOT EXISTS (SELECT FROM …) to ensure exclusivity.
2. Automation UI (Discourse Admin > Badges)
While the UI doesn’t support direct drag-and-drop reordering, you can:
Assign titles to only the most prestigious badges.
Use custom automation (via plugin or external script) to enforce a hierarchy.
3. Group Prioritization
If multiple badge groups assign titles, Discourse prioritizes based on:
Whether the user manually selects a title (this overrides).
Otherwise, first match by internal order, which can be influenced by badge creation or SQL logic.
1 like