BBCode: Hide

BBCode Hide can be used to hide parts of the post, and show them only when reader fulfils the terms of the Hide BBCode. The plugin implements 4 versions of the Hide BBCode.

Hide block shows messages to users that don’t have the right to see the hidden content. To change these messages, open plugin BBCodes page -> Defaults panel, and there you have message boxes for Hide BBCode.

Basic Use – Show to logged in users

Hide BBCode without any attributes will hide the content for non-logged in users:

[hide]content to hide[/hide]

Show to users with specified number of posts

Attribute hide has to be set to the number of posts user needs to have to be able to see the hidden content.

[hide hide=5]content to hide[/hide]

Show to user that replied to the current topic

Attribute hide has to be set to ‘reply’, and user needs to reply to the current topic to be able to see the hidden content.

[hide hide="reply"]content to hide[/hide]

Show to user that said thanks for topic/reply

Attribute hide has to be set to ‘thanks’, and user needs to say thanks for the topic or reply that contains the Hide BBCode to beable to see the hidden content.

[hide hide="thanks"]content to hide[/hide]
1
0
1459
Rate this article

You are not allowed to rate this post.

2 thoughts on “BBCode: Hide”

Leave a Comment