# "Hide" shortcode

**URL:** <https://meta.discourse.org/t/hide-shortcode/25585>\
**Category:** Feature\
**Created:** [February 23, 2015, 9:41pm UTC](https://meta.discourse.org/t/hide-shortcode/25585 "2015-02-23T21:41:08Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Maestra\_Powers](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maestra_powers/32/37362_2.png) [@Maestra\_Powers](https://meta.discourse.org/u/Maestra_Powers)\
**Post date:** [February 23, 2015, 9:41pm UTC](https://meta.discourse.org/t/hide-shortcode/25585/1 "2015-02-23T21:41:08Z")

</div>

On my forum there’s a topic where guys make giveaways. And post authors decide themselves to who they want to giveaway their stuff. For this we have `[hide]text[/hide]` shortcode now (we’re on phpBB currently, gonna migrate soon) that hides text from guests by default. But also authors can specify how many posts users should have to see their hidden text. Like this: `[hide=200]text[/hide]`. It’s very handy for givaways and it would be cool to have this functional in Discourse. Otherwise I’ll have to write a JS crutch that will rip off hidden text after is was loaded on page and we all understand how easily this method can be hacked.

---

_[View the full topic](https://meta.discourse.org/t/hide-shortcode/25585)._
