# "Hide new user profiles" setting applies to TL2 users

**URL:** <https://meta.discourse.org/t/hide-new-user-profiles-setting-applies-to-tl2-users/355768>\
**Category:** Bug\
**Created:** [March 5, 2025, 4:14am UTC](https://meta.discourse.org/t/hide-new-user-profiles-setting-applies-to-tl2-users/355768 "2025-03-05T04:14:31Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [March 6, 2025, 10:09pm UTC](https://meta.discourse.org/t/hide-new-user-profiles-setting-applies-to-tl2-users/355768/5 "2025-03-06T22:09:25Z")

</div>

> [@Canapin](#):
>
> `if user.user_stat.blank? || user.user_stat.post_count == 0`

I see @ted / @hugh I guess the bug here is that this code should be:

```plaintext
if user.user_stat.blank? || 
   (
     user.user_stat.post_count == 0 && 
     !user.has_trust_level?(TrustLevel[2])
   )

```

---

_[View the full topic](https://meta.discourse.org/t/hide-new-user-profiles-setting-applies-to-tl2-users/355768)._
