Username vs Name


(Sean Procyshyn) #1

Is there a way to allow a user to choose what gets displayed when they post in the forum? We would like our users to be able to choose between using either the Username or Name field. We’ve had some questions around privacy since it defaults to their username. Thanks!


Is it possible to display user name or real name in posts lists instead of Avatar
(Robert McIntosh) #2

Users do not specifically determine what is shown, this will be determined by your site settings in different places.

User cards & profiles

The three elements to juggle are:

  1. Full name
    This is the ‘real name’ and you can make it required or not. If you are worried about privacy, then you might not ask for it. Alternatively, you could collect it but hide it by unchecking the enable names option

  2. Username
    This is required for Discourse to operate

  3. Priority
    You can de-emphasise names by prioritising usernames, or you can turn this off to focus on the real name

Another useful option is to disable user cards and profiles for anonymous users. In combination with the security below, only logged-in users will see more personal data

Posts

If the data exists and is available, you can enable this setting for posts (or not enable it for privacy)

One thing to bear in mind, is that when the username and the real name are the ‘same’ (ignoring spaces), the second element will be hidden to avoid duplication, so for example:

My username robmc is different from my full name

… while my colleague’s matches


(Sean Procyshyn) #3

Hi Robert,

If I want to remove the username from showing up and only display the Name field would I deselect “prioritize username in the UX”?

Thanks
Sean


(Robert McIntosh) #4

I need to go and check whether this is possible. Discourse uses usernames as a default for many things, including traffic referral, mentions, and so on, so hiding this entirely does not seem entirely possible, or sensible.

Can I ask what you mean by this statement, as I’ve been confused

Surely a username is MORE private than a real name? Can you please explain the use-case?