# How to prevent that hidden post can be expanded

**URL:** https://meta.discourse.org/t/how-to-prevent-that-hidden-post-can-be-expanded/140401
**Category:** Support
**Created:** [February 2, 2020, 12:14pm UTC](https://meta.discourse.org/t/how-to-prevent-that-hidden-post-can-be-expanded/140401 "2020-02-02T12:14:40Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![GuidoD](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/guidod/32/292621_2.png) [@GuidoD](https://meta.discourse.org/u/GuidoD)
#### Post date: [February 2, 2020, 12:14pm UTC](https://meta.discourse.org/t/how-to-prevent-that-hidden-post-can-be-expanded/140401/1 "2020-02-02T12:14:40Z")

</div>

is there a way to prevent users (and in a public category even anonymous users) to expand hidden posts by clicking on the “view hidden post”?

![grafik](https://global.discourse-cdn.com/meta/original/3X/e/f/ef7626061144ccb329545f95cae61f671fc687ee.png)

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [February 2, 2020, 1:31pm UTC](https://meta.discourse.org/t/how-to-prevent-that-hidden-post-can-be-expanded/140401/2 "2020-02-02T13:31:47Z")

</div>

Just change this setting to 0 so they delete immediately

`delete removed posts after`

---

<div class="post-metadata">

### Author: ![GuidoD](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/guidod/32/292621_2.png) [@GuidoD](https://meta.discourse.org/u/GuidoD)
#### Post date: [February 2, 2020, 1:36pm UTC](https://meta.discourse.org/t/how-to-prevent-that-hidden-post-can-be-expanded/140401/3 "2020-02-02T13:36:59Z")

</div>

no these are not deleted posts, just hidden posts due to flagging (automatically hidden due to several flags or hidden due to accepted flags by the moderators).  
So changing this setting would not help. 😉

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [February 2, 2020, 1:37pm UTC](https://meta.discourse.org/t/how-to-prevent-that-hidden-post-can-be-expanded/140401/4 "2020-02-02T13:37:57Z")

</div>

I know… Once they are hidden if you set that setting to 0 then the hidden content will automatically be deleted so nobody can view it. Or hide via css?

---

<div class="post-metadata">

### Author: ![GuidoD](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/guidod/32/292621_2.png) [@GuidoD](https://meta.discourse.org/u/GuidoD)
#### Post date: [February 2, 2020, 1:40pm UTC](https://meta.discourse.org/t/how-to-prevent-that-hidden-post-can-be-expanded/140401/5 "2020-02-02T13:40:35Z")

</div>

well but the content should not be deleted, it should just kept hidden until the user corrects the post.  
Well perhaps via css, I will check that later.  
But perhaps someone does already know a solution.

---

<div class="post-metadata">

### Author: ![smrtey](https://avatars.discourse-cdn.com/v4/letter/s/db5fbb/32.png) [@smrtey](https://meta.discourse.org/u/smrtey)
#### Post date: [February 2, 2020, 8:51pm UTC](https://meta.discourse.org/t/how-to-prevent-that-hidden-post-can-be-expanded/140401/6 "2020-02-02T20:51:25Z")

</div>

Is there a way for the user to correct the post if it’s not visible? If you want to make the `view 1 hidden reply` link not visible, that line is` <div class="gap">view 1 hidden reply</div>` so you can just` .gap {display: none}`. Not sure what else the gap class covers that you’ll also end up hiding though

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [December 24, 2023, 9:54pm UTC](https://meta.discourse.org/t/how-to-prevent-that-hidden-post-can-be-expanded/140401/7 "2023-12-24T21:54:52Z")

</div>



---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [December 24, 2023, 10:30pm UTC](https://meta.discourse.org/t/how-to-prevent-that-hidden-post-can-be-expanded/140401/8 "2023-12-24T22:30:15Z")

</div>

I believe that by default, users cannot see hidden posts unless that are part of a group listed in `hidden post visible groups` site setting. Staff can always view hidden posts.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [February 4, 2024, 9:21am UTC](https://meta.discourse.org/t/how-to-prevent-that-hidden-post-can-be-expanded/140401/9 "2024-02-04T09:21:46Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
