Questions about moderator shield badge

I poked around, but couldn’t find the right answers to my questions.

I see that you can edit the title badges, but I haven’t quite figured out how. As an example, both admins and moderators have the shield icon next to their name. I haven’t been able to locate where this association lives within the settings. I would like admins and moderators to have different badges since for us admins are staff while moderators are not.

image

Second use case might be answered by the above, but we will be introducing VIP users and as such, would like to give them a custom title badge. Is there a way to automate this? I’m not on the development side, but our discourse is connected to our platform’s back end in some way. Would it be as simple as associating a title badge with a user group and then using our back end to apply that group to all the users meeting the VIP condition?

Edit: As an edit, I’m a business user. Not sure if that changes my available options/preferences.

Those are the default indicators of moderators and there isn’t actually a setting to change it, although you could use CSS I imagine.

4 „Gefällt mir“

And the second question - is there a way to add a similar icon to a specific user group?

Yup, using css. All posts have group class attached to it.

1 „Gefällt mir“

Great! I had assumed so based on what I read, but just wanted to check. Now, do you know if the API would allow for us to assign users to a usergroup through our back end?

I’m a bit confused. Do you want to assign users to a group via API or via backend? Or do you have in mind any custom backend? (Still, I believe that in any case an answer is Yes)

Through our back end, not Discourse back end. Sorry for the confusion. I’m on the marketing team, so the technical stuff is a little beyond me.

We’d want to change assign a user group to specific users through our company’s back end. Essentially, we’re trying to create a VIP program where users who spend $X with us become VIP. One of the perks we’re looking at is a title badge. The last question is so that we can aggregate all the users meeting that critera on our side and use the API to move them into the VIP user group. Hope that makes sense.

You most definitely can. Full documentation on all API functions can be found here. Also, if you want to distinguish visually group of customers, wouldn’t it be easier (and more fun! :wink: ) to use built-in option to display a group flair on user avatar (as you can see on @HAWK’s example)? image
Cheers!

1 „Gefällt mir“

Yes! That would be neat and would work to designate staff over moderators too. Is that built into the options, or does it need to be done through CSS?

Its built in :slight_smile: You just have to set it in the group settings (either as Font Awesome glyph or as your own picture), and check ‘set this as default user group’

4 „Gefällt mir“

Kann man Gruppeneinstellungen für eine bereits bestehende Gruppe festlegen? Ich sehe nicht, wie man nach der Erstellung einer Gruppe zu den Einstellungen gelangt, sondern nur die Optionen beim Erstellen einer neuen Gruppe.

Ja, gehe zur Seite der Gruppe und klicke auf den Link „Verwalten“:

2 „Gefällt mir“

Aber das sind die einzigen Optionen, die ich unten sehe – es scheint, dass die Bearbeitung der standardmäßig erstellten Gruppen nicht funktioniert:

Richtig, wenn du einem Gruppen-Avatar ein Flair hinzufügen möchtest, musst du eine benutzerdefinierte Gruppe erstellen. So richten wir das Team-Avatar-Flair auf Meta ein. Schau dir Erstelle eine Gruppe, die automatisch ein zugehöriges Flair zu den Avataren ihrer Mitglieder hinzufügt an, um Details zur Einrichtung zu erhalten.

4 „Gefällt mir“