Verknüpfung von Benutzer-Title mit Gruppen

:bookmark: 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.

:person_raising_hand: 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.

:information_source: In this example we’re using a user named anonymous, and a group titled Discourse.

Summary

To link a user’s title to a group, you’ll need to:

  1. Create a group and set a default title
  2. Add the user to the group
  3. Set the group as the user’s primary group
  4. Assign the group’s default title to the user

Step-by-step guide

1. Create a group and set a default title

  1. Navigate to the Admin area
  2. Go to the “Groups” section
  3. Create a new group or select an existing one
  4. On the group’s “Membership” page, set a “Default title”

2. Add the user to the group

  1. Go to the user’s profile page
  2. Click on the “Admin” button
  3. In the “Groups” section, add the user to the desired group

3. Set the group as the user’s primary group

  1. On the user’s admin page, find the “Primary Group” dropdown
  2. Select the desired group as the primary group

:information_source: 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:

  1. Locate the “Title” field
  2. Select the group’s default title

From the user’s preferences:

  1. Go to the user’s profile
  2. Click on the “Preferences” tab
  3. Navigate to the “Account” section
  4. 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.

Clickable user title linking to group 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 documentPerform check on document:
10 „Gefällt mir“

Thanks for the guide :smile:

2 „Gefällt mir“

Es scheint, dass man die Gruppe staff (oder eine andere automatische/Systemgruppe) nicht zur primären Gruppe eines Benutzers machen oder ihr einen (klickbaren) Titel zuordnen kann.

Jetzt verstehe ich, warum Meta eine team-Gruppe hat :wink:

Funktioniert das bei jemandem?

Auf Mobilgeräten:
Auf anderen Discourse-Foren ist dies der Fall, aber nicht auf Meta :eyes:.

1 „Gefällt mir“

Sieht so aus, als hätte sich das seit 2014 geändert? Ich konnte die Gruppe („Contributor“) erstellen und habe dieser Gruppe auch einen Standardtitel hinzugefügt.

Aber wenn ich einen Benutzer zur Gruppe hinzufüge und das Profil des Benutzers bearbeite, erhalte ich nicht die Option, dem Benutzer den „Gruppenstandardtitel“ zuzuweisen.

Beste Grüße,
Dan