The discussion revolves around hiding usernames from the user experience in a Discourse forum. raffoz wants to prioritize full names over usernames, hiding them in mention suggestions and posts. However, awesomerobot notes that completely hiding usernames is not feasible and proposes using custom plugins or CSS to achieve this.
raffoz explains that the goal is to encourage students in a private school forum to know each other by their real names, not usernames. darkpixlz and awesomerobot provide CSS code to hide usernames, but also advise against it due to potential abuse problems.
raffoz reports that the provided CSS codes work, but notes that usernames still appear when mentioning users. pfaffman suggests making usernames the same as real names to solve the issue, and pfaffman proposes disabling the “enable names” feature or using a custom plugin to achieve the desired outcome.
Note that this CSS change could cause some abuse problems. If usernames are hidden, I could change my full name and avatar to match someone else’s, and without a username it becomes much harder to see the difference.
when I mention someone, I can search by usernames and real names, but Discourse makes me see just real names, perfect
when I choose the user to mention, in the editor/forum will appear the username (and it’ll be clickable): is possible to make the real name visible in these cases?
If you disable the “enable names” feature, they won’t have names, just usernames. You’d have to settle for _ rather than space.
Or you could write a custom plugin to do what you think you want.
If you don’t disable them as I suggest, you could hide the name changing stuff with CSS and have a community rule that if they changed their name (by un-hiding the CSS in their browser) that they would be appropriately punished.