They need to go to the Edit Profile page and select the group badge they want displayed:
Can't seem to get the group membership working on vanilla.
Is there any particular reason it is missing ?
I mean this:
Vanilla seems to not have those, made an issue https://github.com/NodeBB/nodebb-theme-vanilla/issues/34