Hide 'Username' from posts

AI-generated summary

The discussion revolves around hiding usernames or names from posts. christian_01 initially asked for advice on hiding usernames, as they often duplicate the user’s name. Canapin provided a CSS solution to hide usernames, but later noted that this approach has limitations, such as making it difficult to mention users with different names and usernames.

Canapin then suggested disabling the “enable names” setting to hide names, but renato pointed out that this would hide names everywhere, not just on posts. renato recommended unsetting the “display name on posts” config instead.

The conversation also touched on the idea of using full names to tag people, as suggested by avandest and agreed upon by Canapin. Meanwhile, ked expressed a desire to have names visible in the Admin panel, even if they are hidden on posts.

Any advice how to hide ‘Usernames’ from published topics please?

Quite often my users use the same ‘username’ as ‘name’, so it’s basically duplicated.

Here is an example.

Thank you.

The username is used to mention people.
@christian_01
If you hide it, it will be difficult to mention people who have different name and username.
(wrong, see Hide 'Username' from posts - #8 by avandest)

To hide it, use this CSS:

.names .username {
    display: none;
}

Ah, okay. Thank you for the advice.

How about hiding ‘name’?

See in your admin panel the setting “enable names”.

Thank you @Canapin. Much appreciated.

The “enable names” config, when unset, hides names everywhere.

For hiding only on posts, unset the config “display name on posts”.

@renato is certainly right about “everywhere”, even in the Admin panel for a User. I want to use (and sure do like) the “enable names” config, BUT, I’d at least like to have it shown to me as an Admin in the Admin panel.

Is there a way to arrange for this?

Can you not tag people by full name? That seems to work for us…

Indeed, I wasn’t aware of this. :+1: