# שינוי אזכור משם משתמש לשם?

**URL:** https://meta.discourse.org/t/change-mention-from-username-to-a-name/201310
**Category:** Support
**Created:** [22 באוגוסט,‏ 2021,‏ 4:16am UTC](https://meta.discourse.org/t/change-mention-from-username-to-a-name/201310 "2021-08-22T04:16:59Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![OverseersMight](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/overseersmight/32/228719_2.png) [@OverseersMight](https://meta.discourse.org/u/OverseersMight)
#### Post date: [22 באוגוסט,‏ 2021,‏ 4:16am UTC](https://meta.discourse.org/t/change-mention-from-username-to-a-name/201310/1 "2021-08-22T04:16:59Z")

</div>

How would I go about changing the appearance of a mention to be instead of @usernamefieldhere to @fullnamefieldhere.  
For example @OverseersMight would be @ John Doe. (If my name was john doe)  
Sorry for the mention john didn’t mean to mention you…

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [22 באוגוסט,‏ 2021,‏ 4:45am UTC](https://meta.discourse.org/t/change-mention-from-username-to-a-name/201310/2 "2021-08-22T04:45:22Z")

</div>

Hello,

Currently there is no this kind of option in Discourse but maybe this topic could be helpful ⬇

> [@Full name @mentions](https://meta.discourse.org/t/full-name-mentions/23896):
>
> It would look more elegent in posts if @leo (for example) was presented as (or at least the user had the option to present it as) “Leo” or “Leo McArdle”.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [22 באוגוסט,‏ 2021,‏ 1:17pm UTC](https://meta.discourse.org/t/change-mention-from-username-to-a-name/201310/3 "2021-08-22T13:17:05Z")

</div>

I think that if you don’t want people to use usernames then what your should do is get a plugin that makes the username be the same as first\_last.

---

<div class="post-metadata">

### Author: ![OverseersMight](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/overseersmight/32/228719_2.png) [@OverseersMight](https://meta.discourse.org/u/OverseersMight)
#### Post date: [22 באוגוסט,‏ 2021,‏ 2:33pm UTC](https://meta.discourse.org/t/change-mention-from-username-to-a-name/201310/4 "2021-08-22T14:33:53Z")

</div>

Any links to this plugin @pfaffman? I also found this,

> [@Full name @mentions](https://meta.discourse.org/t/full-name-mentions/23896/56):
>
> @nachof I found a way to make it work: [Use fullnames for mentions · GitHub](https://gist.github.com/jessicah/cd580bab64d89875a157579789b03511) by overriding \_show() in component:user-card-contents. I’m guessing the leading underscore means we probably shouldn’t override it? But it seems to work: Perhaps there needs to be an entry point to optionally get the username from $target? Anyway, this was really a blocker from my POV to deploying to my wider community. Time to roll ahead smiley

Which also seems to work.  
Thank you for being such a great contributor to this community.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [22 באוגוסט,‏ 2021,‏ 9:07pm UTC](https://meta.discourse.org/t/change-mention-from-username-to-a-name/201310/5 "2021-08-22T21:07:21Z")

</div>

Wow. Looks cool. That’s a better solution than mine since it doesn’t require a non-existent plugin. I’m not very good at thinking of solutions that involve Ember/javascript. Good work!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [21 בספטמבר,‏ 2021,‏ 9:07pm UTC](https://meta.discourse.org/t/change-mention-from-username-to-a-name/201310/6 "2021-09-21T21:07:43Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
