# 在主题页面上从头像悬停中移除用户名

**URL:** https://meta.discourse.org/t/remove-user-name-from-avatar-hover-on-topic-page/151647
**Category:** Support
**Created:** [2020年五月15日 21:52 UTC](https://meta.discourse.org/t/remove-user-name-from-avatar-hover-on-topic-page/151647 "2020-05-15T21:52:30Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![tomtjes](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tomtjes/32/131271_2.png) [@tomtjes](https://meta.discourse.org/u/tomtjes)
#### Post date: [2020年五月16日 12:34 UTC](https://meta.discourse.org/t/remove-user-name-from-avatar-hover-on-topic-page/151647/3 "2020-05-16T12:34:32Z")

</div>

也许这个会有用：

> [@Hide full name if not logged in](https://meta.discourse.org/t/hide-full-name-if-not-logged-in/114789/13):
>
> I just checked and the code still works. All of the notes I mention still apply. I did try to track down all of the areas where the user’s full name was used as the title attribute of their avatar. The following code should cover all the areas assuming you have hide\_user\_profiles\_from\_public and prioritize\_username\_in\_ux enabled. Unfortunately it relies on overriding a couple of templates, but they don’t change very often. I’ve included links to the files on GitHub if you ever want to check to…

---

_[View the full topic](https://meta.discourse.org/t/remove-user-name-from-avatar-hover-on-topic-page/151647)._
