I have a client that has stupid usernames supplied by SSO (e.g., “Bob Smith” might be joe34122). He would like instead to display the users’ real names. What he’s doing now is when he quotes someone, manually change
[quote="username, post:4, topic:xxxx"]
[quote="Real Name, post:4, topic:xxxx"]
This offends me on a number of levels. Is there some CSS magic that could have the real name get displayed there?
His question is “Is it possible to change the quote mechanism so that it pulls in the name instead of the username?” but I’m pretty sure that’s not the way to go about this.
I see the point, but this format is already being used in some places (e.g. invitation emails) and I have found it not an ideal solution either, especially when the user name is similar to the real name.
I’m don’t have the perfect solution either, but I think it might help (as a general rule anywhere on discourse) if usernames were always displayed with a leading @? Or at least whenever they are displayed together with the real name?
I think that showing the full name instead of the username on quotes makes sense if (and only if) the (default-on) site setting prioritize username in ux is disabled – quotes should match what is shown on a normal post
Wait a minute, what exactly are you suggesting? I thought you mean if usernames are not prioritized (i.e. if real names are prioritized, which is not the default setting), then real names should be displayed in quotes. That would make sense to me but you are in fact saying the opposite.
That’s all that I need to solve right now. Users will quote posts using the interface, and it’ll generate the correct [quote] tag. All that this client wants is to have the Real Name next to the username in the quote block, just exactly the same as it is in a normal old post the way it does when prioritize username in ux is disabled.
It seems like if it displays the full name in the post it should also display it in the quote, no?
The client really needs this solved. If this doesn’t seem like something that might make it into core soon, would it be difficult for a plugin to just add the real name to quotes?
We’ve cleaned up most of the Full Name vs username changes across our site though a custom plugin and some theme changes, but we would be interested in putting in the work to convert this into a patch to core if the Discourse team is open to that.
Sam did comment that he may want to change the quoting format, but we could still lookup the full name based on the username if it’s not time to make this change.