Allow site operators to control full name suppression on posts


(Michael Downey) #1

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.


Discourse does not show the Real Name on a topic page then it (wrongly) assumes it is the same as the Username
Full names aren't shown even when they don't match username
(Jeff Atwood) #2

Regardless, it is by design design and intentional intentional.


Inverted name-pseudo
Full names aren't shown even when they don't match username
User's Name not displayed on profile?
(Michael Downey) #3

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!)


#4

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.


(Michael Downey) #5

Thanks for the vote, Kensi Ms! :wink:

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


(cpradio) #6

That is probably the best argument for this feature.


#7

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).


(Kane York) #8

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


#9

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.)


(Michael Downey) #10

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:


#11

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


#12

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


(Inzmru) #13

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.


(Kane York) #14

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

But you should write it like this:

Discourse.PosterNameComponent.reopen({
  sanitizeName: function(name){return name;}
});

#15

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?


Full names aren't shown even when they don't match username
(Kane York) #16

Sounds like a bug to me.


(Allen - Watchman Monitoring) #17

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.


(Discourse.PRO) #18

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



Image Gallery plugin: working and supported! (version 3.0, 2015-08-07)
«Real Name» plugin (version 4.0, 2015-07-31)
(Jeff Atwood) #19

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.


#20

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.