# Override or change AboutPageUser

**URL:** https://meta.discourse.org/t/override-or-change-aboutpageuser/367720
**Category:** Development
**Created:** [May 27, 2025, 7:45am UTC](https://meta.discourse.org/t/override-or-change-aboutpageuser/367720 "2025-05-27T07:45:20Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![aest](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@aest](https://meta.discourse.org/u/aest)
#### Post date: [May 27, 2025, 7:45am UTC](https://meta.discourse.org/t/override-or-change-aboutpageuser/367720/1 "2025-05-27T07:45:20Z")

</div>

Hi!

I’m currently updating a theme component that’s going to be affected by upcoming core changes in Discourse ([Removing support for "template overrides" and mobile-specific templates](https://meta.discourse.org/t/removing-support-for-template-overrides-and-mobile-specific-templates/355668/1)). In order to retain the customization we had, we need to change the html of the AboutPageUser component - `about-page-user.gjs`.

Is it possible to override the template in that file?

> <https://github.com/discourse/discourse/blob/8efd99da9eceb7ec8cbd7d8f9a6a996690068189/app/assets/javascripts/discourse/app/components/about-page-user.gjs>

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [May 27, 2025, 8:47am UTC](https://meta.discourse.org/t/override-or-change-aboutpageuser/367720/2 "2025-05-27T08:47:49Z")

</div>

To change content in the UI, you should use our [outlet system](https://meta.discourse.org/t/theme-developer-tutorial-4-using-outlets-to-insert-and-replace-content/357799?silent=true). If there isn’t an existing outlet which suits your use-case, then we’re generally happy to accept new outlets via a PR to discourse core.

What are you trying to do here? Add some extra content into AboutPageUser? Or replace the implementation entirely?

---

<div class="post-metadata">

### Author: ![aest](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@aest](https://meta.discourse.org/u/aest)
#### Post date: [May 27, 2025, 9:28am UTC](https://meta.discourse.org/t/override-or-change-aboutpageuser/367720/3 "2025-05-27T09:28:43Z")

</div>

We’re attempting to remove the link from the HTML template when the current user isn’t logged in. Previously, we had a condition to handle this with template override, but we haven’t found a corresponding way in the new API.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [May 27, 2025, 9:43am UTC](https://meta.discourse.org/t/override-or-change-aboutpageuser/367720/4 "2025-05-27T09:43:15Z")

</div>

What’s the reason for removing the link? Is it because you have user profiles hidden from anonymous users?

---

<div class="post-metadata">

### Author: ![aest](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@aest](https://meta.discourse.org/u/aest)
#### Post date: [May 27, 2025, 9:51am UTC](https://meta.discourse.org/t/override-or-change-aboutpageuser/367720/5 "2025-05-27T09:51:12Z")

</div>

Yes, we want it hidden from anonymous users.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [May 27, 2025, 9:56am UTC](https://meta.discourse.org/t/override-or-change-aboutpageuser/367720/6 "2025-05-27T09:56:04Z")

</div>

Ok, makes sense! To be honest, this sounds like something we should change in Discourse core. Linking to user profiles when they’re hidden to anon doesn’t make sense.

I’ll take a look 👀

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [May 27, 2025, 1:22pm UTC](https://meta.discourse.org/t/override-or-change-aboutpageuser/367720/8 "2025-05-27T13:22:11Z")

</div>

I just merged [this commit](https://github.com/discourse/discourse/commit/8adb6649fe48c0d1435f22696cc468b601b4317b) which removes the user profile links from the topic-list, topic page and about page for anonymous users when `hide_user_profiles_from_public` is enabled.

Note that this is purely a UX change. Crawlers see a different version of the HTML. The nofollow directive was added to crawler-view user profile links [back in January](https://github.com/discourse/discourse/commit/e8aa2b8d9a2765ea30521fa5e8a71481689f7480).

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [May 29, 2025, 7:00am UTC](https://meta.discourse.org/t/override-or-change-aboutpageuser/367720/9 "2025-05-29T07:00:33Z")

</div>

This topic was automatically closed after 20 hours. New replies are no longer allowed.
