# Full name @mentions

**URL:** https://meta.discourse.org/t/full-name-mentions/23896
**Category:** Feature
**Tags:** mentions
**Created:** [January 11, 2015, 9:56pm UTC](https://meta.discourse.org/t/full-name-mentions/23896 "2015-01-11T21:56:39Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![LeoMcA](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leomca/32/87233_2.png) [@LeoMcA](https://meta.discourse.org/u/LeoMcA)
#### Post date: [January 11, 2015, 9:56pm UTC](https://meta.discourse.org/t/full-name-mentions/23896/1 "2015-01-11T21:56:39Z")

</div>

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: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [January 12, 2015, 1:26am UTC](https://meta.discourse.org/t/full-name-mentions/23896/2 "2015-01-12T01:26:45Z")

</div>

That is at odds with the design.. @name is for _username_ mentions, not full names. And you can click to see the user card which has all that info and more.

Note that the autocompleter _will_ absolutely match on fullname or username though. What gets finally rendered is @username though.

---

<div class="post-metadata">

### Author: ![fantasticfears](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fantasticfears/32/119608_2.png) [@fantasticfears](https://meta.discourse.org/u/fantasticfears)
#### Post date: [January 12, 2015, 1:37am UTC](https://meta.discourse.org/t/full-name-mentions/23896/3 "2015-01-12T01:37:45Z")

</div>

We limit the username to English letters. In communities using other than language(especially CJK), they have to use full name as identifier because this is the only field accepting non English letters. In that case, the autocomplete can’t suggest user lists on the fly.

I think it’s a good idea to accept parts of Unicode instead of English letters.

---

<div class="post-metadata">

### Author: ![Kensie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kensie/32/108351_2.png) [@Kensie](https://meta.discourse.org/u/Kensie)
#### Post date: [January 12, 2015, 4:48am UTC](https://meta.discourse.org/t/full-name-mentions/23896/4 "2015-01-12T04:48:18Z")

</div>

I’m working with @LeoMcA and actually this question is about a request I made.

The suggestion isn’t about changing the _behaviour_ at all. It’s just that what shows up when you do @codinghorror is kinda ugly. It seems to me akin to exposing an http address rather than linkifying descriptive text.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [January 12, 2015, 5:58am UTC](https://meta.discourse.org/t/full-name-mentions/23896/5 "2015-01-12T05:58:43Z")

</div>

Still not really clear what you mean? You want @codinghorror to produce @JeffAtwood in the text instead? Also I do not agree that either of those is particularly better than the other.

The at-sign username mention design is deeply rooted here, it is from Twitter. I don’t really see that changing…

---

<div class="post-metadata">

### Author: ![Kensie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kensie/32/108351_2.png) [@Kensie](https://meta.discourse.org/u/Kensie)
#### Post date: [January 12, 2015, 6:21am UTC](https://meta.discourse.org/t/full-name-mentions/23896/6 "2015-01-12T06:21:34Z")

</div>

No, we’d want to type @codinghorror but have it display [Jeff Atwood](http://justanexample.com) instead. Ignore the link source, I just turned it into hypertext for the visual effect. Clicking on the name would do _exactly_ the same thing that clicking on @codinghorror does now, it would just look pretty like a link.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [January 12, 2015, 6:28am UTC](https://meta.discourse.org/t/full-name-mentions/23896/7 "2015-01-12T06:28:27Z")

</div>

How would others then learn how to make such mentions? They would also look like regular, manually constructed, plain old hyperlinks. You would expect them to behave like hyperlinks when clicked as well instead of showing the user card as mentions do now…

Google Plus has +username, Twitter has @username, etc. (I believe Facebook does something similar like this for mentions?) The special character at the start and obvious formatting difference and username usage (short, unique, easy to type) is kind of the whole point of mentions.

---

<div class="post-metadata">

### Author: ![fantasticfears](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fantasticfears/32/119608_2.png) [@fantasticfears](https://meta.discourse.org/u/fantasticfears)
#### Post date: [January 12, 2015, 6:53am UTC](https://meta.discourse.org/t/full-name-mentions/23896/8 "2015-01-12T06:53:23Z")

</div>

> [@codinghorror](#):
>
> (I believe Facebook does something similar like this for mentions?)

No, Facebook doesn’t use special syntax for mention. They use visual effect for mention. A user of Facebook can have their name in different languages, but would show the name based on the viewer’s locale setting. When you start typing, the Facebook will try to suggest mentions.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [January 12, 2015, 7:10am UTC](https://meta.discourse.org/t/full-name-mentions/23896/9 "2015-01-12T07:10:12Z")

</div>

[Like so?](http://www.newsweek.com/grandmaster-flash-finally-addresses-grandmas-who-keep-accidentally-tagging-him-270205)

 ![](https://global.discourse-cdn.com/meta/original/3X/c/0/c067efb21b3aef539f5185848439ab39f27d1fa4.png)

---

<div class="post-metadata">

### Author: ![fantasticfears](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fantasticfears/32/119608_2.png) [@fantasticfears](https://meta.discourse.org/u/fantasticfears)
#### Post date: [January 12, 2015, 7:44am UTC](https://meta.discourse.org/t/full-name-mentions/23896/11 "2015-01-12T07:44:37Z")

</div>

gif

![](https://global.discourse-cdn.com/meta/original/3X/a/5/a52f147e8a1c927406a420d7e79594d2cb557411.gif)

---

<div class="post-metadata">

### Author: ![LeoMcA](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leomca/32/87233_2.png) [@LeoMcA](https://meta.discourse.org/u/LeoMcA)
#### Post date: [January 12, 2015, 7:50am UTC](https://meta.discourse.org/t/full-name-mentions/23896/12 "2015-01-12T07:50:36Z")

</div>

> [@codinghorror](#):
>
> They would also look like regular, manually constructed, plain old hyperlinks.

Not if one were to supply the same styling. I’m not sure if that’s what @Kensie was thinking, but it was what I was.

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [January 12, 2015, 1:51pm UTC](https://meta.discourse.org/t/full-name-mentions/23896/13 "2015-01-12T13:51:28Z")

</div>

Actually G+ is +Full Name (whether a real name or not!).

Full name is bad for Discourse because it’s possibly ambiguous; only @username is unique. That’s what Twitter did it back in the day.

---

<div class="post-metadata">

### Author: ![Kensie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kensie/32/108351_2.png) [@Kensie](https://meta.discourse.org/u/Kensie)
#### Post date: [January 12, 2015, 5:33pm UTC](https://meta.discourse.org/t/full-name-mentions/23896/14 "2015-01-12T17:33:13Z")

</div>

Well, let’s not get hung up on the _exact_ look. It wouldn’t need to look exactly like a hyperlink, that was just for illustrative purposes.

Btw, on facebook you can use the @ symbol to do mentions, but it will pick it up when you type someone’s full name anyway. I definitely am not suggesting adopting Facebook’s style of doing it, your grandmaster flash example is a great reason why not.

How would people learn to do it themselves? Well how do they learn any other syntax? That’s a good question though, that is an obvious advantage to leaving the the text “raw.” I have feeling given the rest of the way the @mention works many people would discover it naturally (because they’re used to doing @mentions elsewhere), others could discover it by looking at the “source” of a post from the edit screen, and others could learn from each other. I imagine adding a button to the editor would be overkill, but that is another place one _could_ introduce people to the syntax.

It’s just very weird in our particular forum to see @usernames in the middle of messages, rather than seeing people mentioned by name. Maybe the fact that it has a grey background as well makes it stand out as “not pretty”?

Anyway, that’s why we’re asking about it, if it’s not something most people are interested in we know that plugins are an option, too.

---

<div class="post-metadata">

### Author: ![chapel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapel/32/122414_2.png) [@chapel](https://meta.discourse.org/u/chapel)
#### Post date: [January 12, 2015, 8:36pm UTC](https://meta.discourse.org/t/full-name-mentions/23896/15 "2015-01-12T20:36:05Z")

</div>

> [@Kensie](#):
>
> It’s just very weird in our particular forum to see @usernames in the middle of messages, rather than seeing people mentioned by name. Maybe the fact that it has a grey background as well makes it stand out as “not pretty”?

Why not restyle them then? Some CSS would allow you to make them appear as a link, and other than having the user card behavior, it wouldn’t look so out of place.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [January 12, 2015, 8:43pm UTC](https://meta.discourse.org/t/full-name-mentions/23896/16 "2015-01-12T20:43:26Z")

</div>

> [@chapel](#):
>
> Why not restyle them then? Some CSS would allow you to make them appear as a link

Targeting  
`a.mention`  
seems to work. eg.

 ![](https://global.discourse-cdn.com/meta/original/3X/9/8/9845fdb4cae2a07b98d247134f54a587672901a6.png)

---

<div class="post-metadata">

### Author: ![Kensie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kensie/32/108351_2.png) [@Kensie](https://meta.discourse.org/u/Kensie)
#### Post date: [January 12, 2015, 9:05pm UTC](https://meta.discourse.org/t/full-name-mentions/23896/17 "2015-01-12T21:05:24Z")

</div>

Ooh, thanks for the tip. I don’t do the coding (hence leo asking my question for me) and we’re still relatively new to hacking Discourse.

---

<div class="post-metadata">

### Author: ![nadir\_seen\_fire](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nadir_seen_fire/32/104741_2.png) [@nadir\_seen\_fire](https://meta.discourse.org/u/nadir_seen_fire)
#### Post date: [January 14, 2015, 4:42pm UTC](https://meta.discourse.org/t/full-name-mentions/23896/18 "2015-01-14T16:42:55Z")

</div>

Has no-one considered something like this to reduce the non-uniqueness issues of full name mentions?

 ![](https://global.discourse-cdn.com/meta/original/3X/3/b/3b3d813a38a49563b91709202c2a2cc92849bdea.png)

---

<div class="post-metadata">

### Author: ![Kensie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kensie/32/108351_2.png) [@Kensie](https://meta.discourse.org/u/Kensie)
#### Post date: [January 18, 2015, 9:21pm UTC](https://meta.discourse.org/t/full-name-mentions/23896/19 "2015-01-18T21:21:09Z")

</div>

I like how this looks, but I wonder if that’s because Jeff’s pic is black and white. Don’t suppose you could mock it up using your own picture or mine?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [September 30, 2015, 7:26pm UTC](https://meta.discourse.org/t/full-name-mentions/23896/20 "2015-09-30T19:26:59Z")

</div>

Guys, sorry to necro this topic 😊

At our company the Discourse username is the employee\_id, one letter and 7 numbers (like X1234567), and when we use mentions it works well, since you can search by fullname (a bonus would be allowing spaces, non-tech people get confused with underscores).

But after the mention selection we would like to see the user real name, like Facebook, instead of the username. We can save the username in a data-attribute so usercard still works, but using people names would be **way** better for community’s where people meet in-person before meeting online.

Something like this, would be better made as an opt-in core option or rather a plugin?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [September 30, 2015, 10:10pm UTC](https://meta.discourse.org/t/full-name-mentions/23896/21 "2015-09-30T22:10:15Z")

</div>

I think this is fine as an opt-in core feature if you want to work on it, its a little tricky though.

[Next page](https://meta.discourse.org/t/full-name-mentions/23896.md?page=2)
