I’ve been trying to work out exactly what selecting a “Primary Group” for a user does…
… thought I would share what I have found:
Selecting the Primary Group
Selecting a user from
/admin/users takes you to the specific users admin page
On that page you will find the groups options:
You can only select a Primary Group for a user if they have “Custom” groups selected.
In the example above
full_members_14_15 are the only “Custom” groups, the ones left are “Automatic”.
Looking at the Groups section will help you work out which ones are “Custom” and “Automatic”
What does it do?
Adds CSS class to users posts
If the primary group is called
discourse the CSS class added to
topic-post will be
You could use this to change the post colour based on the users primary group.
Links users “title” to Primary Group
For example the user below has their primary group set to
discourse and their title is “co-founder” and “co-founder” links to https://meta.discourse.org/groups/discourse.
This is handy to understand the relationship of a users title to the group they are in - and what other users might be in the group.
Although this linking of user title might change to be a site option.
If there is something you think I have missed please do mention it below.