# Exclude "Suspended" and "Blocked" users from username auto-complete

**URL:** https://meta.discourse.org/t/exclude-suspended-and-blocked-users-from-username-auto-complete/38574
**Category:** Feature
**Tags:** mentions
**Created:** [January 27, 2016, 1:55pm UTC](https://meta.discourse.org/t/exclude-suspended-and-blocked-users-from-username-auto-complete/38574 "2016-01-27T13:55:47Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [January 27, 2016, 1:55pm UTC](https://meta.discourse.org/t/exclude-suspended-and-blocked-users-from-username-auto-complete/38574/1 "2016-01-27T13:55:47Z")

</div>

It would be nice to see “Suspended” and “Blocked” user excluded from the username auto-complete.

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

From a long list of historically banned / suspended users…  
… sometimes another user mentions the banned or suspended users accidentally whilst meaning to mention an active user.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [January 27, 2016, 3:08pm UTC](https://meta.discourse.org/t/exclude-suspended-and-blocked-users-from-username-auto-complete/38574/2 "2016-01-27T15:08:09Z")

</div>

Or at the very least they should be differentiated from “normal” users.

---

<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 28, 2016, 3:09am UTC](https://meta.discourse.org/t/exclude-suspended-and-blocked-users-from-username-auto-complete/38574/3 "2016-01-28T03:09:53Z")

</div>

We used to do this, I thought. I am not sure blocked users should be unmentionable though, but suspended users. And staff would need to be immune. Are you sure that giant list of caveats is worth the hassle?

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [January 30, 2016, 11:01am UTC](https://meta.discourse.org/t/exclude-suspended-and-blocked-users-from-username-auto-complete/38574/4 "2016-01-30T11:01:01Z")

</div>

It doesn’t need to be a long list of caveats if they’re just differentiated from the rest like @zogstrip suggests. Maybe a red-ish background and an icon or just the words “suspended/blocked” on a newline.

There are many valid reasons for mentioning a user after they’ve been blocked, like you’re talking about the events that led to the blocking, so we shouldn’t be completely hiding it anyhow.

---

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [January 31, 2016, 1:51am UTC](https://meta.discourse.org/t/exclude-suspended-and-blocked-users-from-username-auto-complete/38574/5 "2016-01-31T01:51:03Z")

</div>

My experience is that there is no-need for **non-staff** to mention suspended or blocked users.

Even for admin staff the need diminishes to near zero for long term suspended or blocked users.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [January 31, 2016, 1:55am UTC](https://meta.discourse.org/t/exclude-suspended-and-blocked-users-from-username-auto-complete/38574/6 "2016-01-31T01:55:01Z")

</div>

> [@zogstrip](#):
>
> Or at the very least they should be differentiated from “normal” users.

I’ll have a look since I’ve been working on autocomplete stuff recently.

---

<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 31, 2016, 2:34am UTC](https://meta.discourse.org/t/exclude-suspended-and-blocked-users-from-username-auto-complete/38574/7 "2016-01-31T02:34:43Z")

</div>

Probably fine if it can be limited to staff and admins can autocomplete blocked / suspended users. Visually they should be greyed out or similar..

---

<div class="post-metadata">

### Author: ![Tomas\_Hnyk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tomas_hnyk/32/217289_2.png) [@Tomas\_Hnyk](https://meta.discourse.org/u/Tomas_Hnyk)
#### Post date: [April 11, 2025, 11:19am UTC](https://meta.discourse.org/t/exclude-suspended-and-blocked-users-from-username-auto-complete/38574/8 "2025-04-11T11:19:19Z")

</div>

Seems to me like this has been completed, I cannot find a suspended user in autocomplete.
