This guide explains how to link a user’s title to a group in Discourse, allowing users to click on the title to view the associated group page.
Required user level: Administrator
This guide will walk you through the process of associating a user’s title with a specific group in Discourse. When set up correctly, clicking on the user’s title will navigate to the linked group’s page.
In this example we’re using a user named
anonymous
, and a group titledDiscourse
.
Summary
To link a user’s title to a group, you’ll need to:
- Create a group and set a default title
- Add the user to the group
- Set the group as the user’s primary group
- Assign the group’s default title to the user
Step-by-step guide
1. Create a group and set a default title
- Navigate to the Admin area
- Go to the “Groups” section
- Create a new group or select an existing one
- On the group’s “Membership” page, set a “Default title”
2. Add the user to the group
- Go to the user’s profile page
- Click on the “Admin” button
- In the “Groups” section, add the user to the desired group
3. Set the group as the user’s primary group
- On the user’s admin page, find the “Primary Group” dropdown
- Select the desired group as the primary group
Setting a user’s primary group has additional implications. For more information, read this topic.
4. Assign the group’s default title to the user
You can set the user’s title from either the admin page or the user’s preferences.
From the user’s admin page:
- Locate the “Title” field
- Select the group’s default title
From the user’s preferences:
- Go to the user’s profile
- Click on the “Preferences” tab
- Navigate to the “Account” section
- Find the “Title” field and select the group’s default title
Verifying the setup
After completing these steps, the user’s title should now be clickable and link to the group’s page.
Additional notes
- This process doesn’t work with automatic or system groups like the “staff” group.
- Some sites create separate groups (e.g., a “team” group) to enable this functionality for staff members.
Last edited by @hugh 2024-07-15T07:11:42Z
Last checked by @hugh 2024-07-15T07:11:49Z
Check document
Perform check on document: