# Full hide of partial posts for role-playing game

**URL:** https://meta.discourse.org/t/full-hide-of-partial-posts-for-role-playing-game/305045
**Category:** Support
**Created:** [April 2, 2024, 10:19am UTC](https://meta.discourse.org/t/full-hide-of-partial-posts-for-role-playing-game/305045 "2024-04-02T10:19:54Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![gru](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gru/32/374964_2.png) [@gru](https://meta.discourse.org/u/gru)
#### Post date: [April 2, 2024, 10:19am UTC](https://meta.discourse.org/t/full-hide-of-partial-posts-for-role-playing-game/305045/1 "2024-04-02T10:19:54Z")

</div>

Will be awesome if I will can encrypt part of public message for specific people.  
I’m administrating StarWarsRP server, and option to hide part of message will be good.

---

<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: [April 3, 2024, 12:45am UTC](https://meta.discourse.org/t/full-hide-of-partial-posts-for-role-playing-game/305045/2 "2024-04-03T00:45:11Z")

</div>

Encrypting for a role playing game seems a bit … extreme… maybe you are talking about spoilers?

---

<div class="post-metadata">

### Author: ![gru](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gru/32/374964_2.png) [@gru](https://meta.discourse.org/u/gru)
#### Post date: [April 4, 2024, 12:44am UTC](https://meta.discourse.org/t/full-hide-of-partial-posts-for-role-playing-game/305045/3 "2024-04-04T00:44:48Z")

</div>

Spoilers are good thing, but anyone can see what’s inside. I need to protect part of message.

I searched for plugins for hiding, they are working not so good. Encrypt plugin may be better in that.  
Even fully encrypted message will be a good thing.

> **why**
>
> I have publicly available “communication” channel. People are writing there RP info from game, but sometimes need to hide specific information for specific people. So, encrypt full message/part of message is good idea I think.

---

<div class="post-metadata">

### Author: ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)
#### Post date: [April 4, 2024, 1:09am UTC](https://meta.discourse.org/t/full-hide-of-partial-posts-for-role-playing-game/305045/4 "2024-04-04T01:09:28Z")

</div>

> [@gru](#):
>
> but sometimes need to hide specific information for specific people.

If they’re in different role “groups”, you could make multiple channels, and send group-specific ones in those.

---

<div class="post-metadata">

### Author: ![gru](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gru/32/374964_2.png) [@gru](https://meta.discourse.org/u/gru)
#### Post date: [April 4, 2024, 11:30am UTC](https://meta.discourse.org/t/full-hide-of-partial-posts-for-role-playing-game/305045/5 "2024-04-04T11:30:04Z")

</div>

Yeah this is solution too, but for our systems this will be worse than hiding contents of messages

---

<div class="post-metadata">

### Author: ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)
#### Post date: [April 4, 2024, 11:57am UTC](https://meta.discourse.org/t/full-hide-of-partial-posts-for-role-playing-game/305045/6 "2024-04-04T11:57:30Z")

</div>

You also mentioned “channels” in a previous response, are you using PMs or chat?

---

<div class="post-metadata">

### Author: ![gru](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gru/32/374964_2.png) [@gru](https://meta.discourse.org/u/gru)
#### Post date: [April 4, 2024, 11:40pm UTC](https://meta.discourse.org/t/full-hide-of-partial-posts-for-role-playing-game/305045/7 "2024-04-04T23:40:54Z")

</div>

Oh, sorry. I made mistake, not “channels”, “subcategories”

---

<div class="post-metadata">

### Author: ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)
#### Post date: [April 5, 2024, 2:40am UTC](https://meta.discourse.org/t/full-hide-of-partial-posts-for-role-playing-game/305045/8 "2024-04-05T02:40:52Z")

</div>

Then this still wouldn’t work for your use-case (AFAIK), since this is for PMs, not topics in (sub)categories.

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [April 14, 2024, 7:36am UTC](https://meta.discourse.org/t/full-hide-of-partial-posts-for-role-playing-game/305045/9 "2024-04-14T07:36:26Z")

</div>

This feature request is kind of similar. I suspect a #Customization > Theme component could likely be made using in par @Firepup650 idea of groups.

> [@Ability to hide content from subsets of users using BBCode](https://meta.discourse.org/t/flarum-bbcode-hide-content/303181):
>
> Developing a plugin allows users to hide content from other users by using BBCode. Add the following BBCode to your post: [LOGIN]content to hide[/LOGIN] : hides the content from the non-logged in users [LIKE]content to hide[/LIKE] : hides the content until the user likes the post [REPLY]content to hide[/REPLY] : hides the content until the user replies to the post

I imagine you could likely goto #Marketplace and request a component that adds a kind of bbcode to hide content if not part of group. Ie if not game master display none.

While CSS could be manipulated to reveal in inspect element. I don’t imagine your hiding info that requires encryption

---

<div class="post-metadata">

### Author: ![gru](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gru/32/374964_2.png) [@gru](https://meta.discourse.org/u/gru)
#### Post date: [April 15, 2024, 1:19am UTC](https://meta.discourse.org/t/full-hide-of-partial-posts-for-role-playing-game/305045/10 "2024-04-15T01:19:55Z")

</div>

I agree with you, my case doesn’t require full encryption. But it looks cool, that’s all.

Thanks for sending me how I can create what I want. I will research that again.

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [April 15, 2024, 5:27am UTC](https://meta.discourse.org/t/full-hide-of-partial-posts-for-role-playing-game/305045/11 "2024-04-15T05:27:38Z")

</div>

You’re quite welcome. I remember my days of tabletop RPGs. In a perfect game scenario players will play their characters to advance the story vs winning. Feel free to pm me if you want to talk more. So we’re not side tracking this topic. 😉

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [May 19, 2024, 8:12am UTC](https://meta.discourse.org/t/full-hide-of-partial-posts-for-role-playing-game/305045/12 "2024-05-19T08:12:22Z")

</div>

I found this but am having some trouble with it. Might need updating?

If your using discourse signatures could be a handy pairing.

> [@Display different content within a topic based on user's groups membership?](https://meta.discourse.org/t/display-different-content-within-a-topic-based-on-users-groups-membership/227075/6):
>
> Finally got around to knocking this together as, [https://github.com/Umbrella-CAST/discourse-umbrella-groupswitchdisplay](https://github.com/Umbrella-CAST/discourse-umbrella-groupswitchdisplay) Super simple, just removes the targeted DIV from the DOM based on is the current user in a group name “foobar” or not in the group via “!foobar”. That lets me have a simple toggle display of content like the below image. Of course, if the component is disabled, then all of the content shows (since sans component the DOM doesn’t get trimmed down.) But this is good enough for w…

---

<div class="post-metadata">

### Author: ![gru](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gru/32/374964_2.png) [@gru](https://meta.discourse.org/u/gru)
#### Post date: [May 21, 2024, 9:33pm UTC](https://meta.discourse.org/t/full-hide-of-partial-posts-for-role-playing-game/305045/13 "2024-05-21T21:33:01Z")

</div>

Yeah, there is some problem with that script. I tried to fix it, but couldn’t.  
I think JS API has been changed a little.
