Is there a plugin which resembles [HIDE] BBCode from the old days of phpBB? I know that a lot of people used it for hiding post content from anonymous users or users who didn’t reply in the given topic, but I want a different feature - to be able to hide post partially and not only from guests, but from non-moderators too. Is it possible yet?
The reason is – I’m running an RPG adventure through Discourse and I want for my players to be able to hide parts of their character sheets from the eyes of other players. Some of it should be visible, some – not. [HIDE] BBCode did that very well. Now we’re using private messages, but that’s suboptimal.
Is it good enough if the text is in the json but not displayed on the page? It might not be hard to modify the Discourse Spoiler Alert plugin to reveal text only to members of some group or staff. If someone wanted, though, they could look at https://meta.discourse.org/raw/12650 to see the hidden text.
Making it really available only to some users would be a good bit more difficult, as it would require something more complicated, perhaps encrypting the text and providing a decryption key in the json load only of moderators.
Probably what you really want is a more bespoke plugin that implements the character sheet as, say, a UserCustomField that processes it when it adds it to the serializer. But if you need more than one card per user, it would probably make more sense to build it out as a separate model. It’s all doable with time and/or money.