Allow site operators to control full name suppression on posts

Continuing the discussion from Is user ID + real name redundant?:

… well, not quite. It appears that if the user ID is the same as the full name (minus the capitalization and spaces), only the user name displays.

In other words, one would see only michaeldowney next to my avatar image instead of “michaeldowney Michael Downey”. While this is indeed redundant, it makes one wonder why that person “doesn’t have a name”.

It’s also inconsistent with the user card and user profile page.

11개의 좋아요

Regardless, it is by design design and intentional intentional.

Meh. I will tell that to my user who feels “not important enough to see [their] name like everyone else”. :stuck_out_tongue_closed_eyes:

Consistency FTW. (IMHO anyway!)

3개의 좋아요

The Seasteading Institutue is moving our forums to Discourse (go-live scheduled for 08-March-2015) and I’ve noticed the same thing. My user name is kensims and my full name is Ken Sims, and so the latter doesn’t show.

Consider this another “vote” to always show the full name (assuming that it is thusly configured), even if the full name is essentially the same as the user name.

Thanks.

3개의 좋아요

Thanks for the vote, Kensi Ms! :wink:

(Yeah, not every culture has obvious names that other cultures can intuitively split.)

8개의 좋아요

That is probably the best argument for this feature.

2개의 좋아요

The Seasteading Institute, while based in the U.S., has international involvement.

In fact our most active forum participant is in Colombia and English is his third language (and it shows in some of his consistent misspellings).

1개의 좋아요

What if we just flipped it? So @kensims would display as this:

2개의 좋아요

No, the user name should always show. (And the full name should show for every user if the configuration option to show full names is true.)

4개의 좋아요

Well Ms. Kensi, at least the Real Full Name shows up in the user leaderboard. And the user profiles. And the user cards. Just not on the posts, where most people look. :stuck_out_tongue:

Here are some more quizzes for those who still don’t believe this is a problem:

4개의 좋아요

I’ve also noticed this. The suggested changes as per @kensims @downey would be appreciated (or at least make it configurable)

1개의 좋아요

Yeah … we could have the current configuration, plus an additional “Yes, I really mean it” option. :stuck_out_tongue:

1개의 좋아요

What do you think of a dirty patch:

Discourse.PosterNameComponent.prototype.sanitizeName = function(name){return name;}

placed in header template? (do I need to bind it to onLoad()?) It looks safe for me, but my forum is in production, and I’m little affraid of blowing it out.

Timing-wise, that belongs in </head>.

But you should write it like this:

Discourse.PosterNameComponent.reopen({
  sanitizeName: function(name){return name;}
});
3개의 좋아요

Somewhat related to this topic. I just noticed that with enable names enabled:

username= Jan_de_Bont, name= Jan de Bont shows the name with the post although it is redundant. Probably even more so than if username = jandebont with name= Jan de Bont.

What is the logic/code for deciding to show the name or not with enable names enabled?

2개의 좋아요

Sounds like a bug to me.

1개의 좋아요

I’m going to try this, but it’s really lame because I just went to “fix” someone’s name because it was only showing johndoe - only to find I was wasting my time because their name was set to John Doe as requested.

johndoe ≠ John Doe ≠ john_doe

and the inconsistency is maddening.

5개의 좋아요

Today I faced the problem too: Discourse does not show the Real Name on a topic page then it (wrongly) assumes it is the same as the Username.

And I end up with my own plugin «Real Name»:


5개의 좋아요

Not a bad idea.. if the full name and username match, show only full name.

The only trick there is your username mention is @dmitry_fedyuk not @dmitryfedyuk.

1개의 좋아요

As I’ve said before, I think we need an additional configuration option.

Since the option to show the full name really means “show the full name only if the software thinks it should be shown”, we need an additional “Yes, I really mean always show the full name” option.

3개의 좋아요