'Make primary group' within a user group isn't changing user titles

I have two scenarios.

Scenario 1

User is added to first group, which is to set as primary group.
User is then added to second group, which is also to set as primary group.

User’s title never changes from the title in group 1 to the title in group 2

Scenario 2

User is added to a group, which is to set as primary group
User’s title doesn’t change

Scenario 3

Some users have primary group A selected on their profile, but they still have the title from group B. If I change their primary group to group B, save it, then change it back to A, then their title changes.


What am I missing here?

You have an extra scenario, first of all! :smiley:


Setting a primary group in Discourse can automatically set a user’s title. This is achieved through the “Default title” option in the group settings. However, there are a couple of things to note:

  1. The group must also have the “Automatically set as primary group” option enabled.
  2. If the user has already manually selected a title in their user preferences, it won’t be overridden by the group’s default title.

@awesomerobot shared this screenshot, showing where options are on the membership pages:

:thinking:

No idea why that is happening… make sure to check the settings of the groups involved, perhaps they don’t all have the same “Automatically set as primary group” setting configured.

3 Likes

@maiki just coming back to this millennia later, but I’m still having this issue.

I have users who have not set their title manually.

I’ve ensured that Automatically set as primary group is checked.

In the bulk select tool for the group, I choose the users and select make primary group.

Their title doesn’t change :frowning:

1 Like

I’ve dealt with this so many times, I am convinced there is a bug here somewhere. Or at best, a really weird set of circumstances that aren’t fully understood or working the way I’d hope lol

Hi Jordan,

I saw this request and wanted to ask if you could send us the name of a user and groups that seem to be facing this issue. Perhaps knowing these specifics will enable us to track down the cause.

1 Like