Jump to content

The new [hide] and [reason] tags: Welcomes them!

Recommended Posts

Alrighty guys: For those of you who have wanted a better Spoilers tag, your lucky day has come!

Some of you already knew about the [hide] tag, but it's now official. While action for the [spoilers] tag remains in place to support all existing blocks of spoilers, the [hide] tag has replaced [spoilers] on the posting menu. This tag provides you with the ability to actually fold blocks of content, hiding them away until you click saying that you want to view it. This means that, unlike the original implementation I wrote, this one supports images and the like, as well as conserving space for those who aren't interested.

We have the good people of ModPHPBB3 to thank for writing the original tag, as well as Simon Brown for pointing it out to us.

We have, however, modified the original code to add a little feature which some were requesting: Title support. The purpose of this post is to explain a bit how to use Titling with the tag.

We didn't want to break the tag for those who had used it already, but I couldn't find a way to make the ="" optional through the Custom BBCode editor. So, instead of being like the

][/size] tag, this one's more similar to the [list] BBCode - where each [*] inside of it becomes a bullet point. If you want to explain why you hid that block of content, just place a [reason] tag inside of it.

You can still use the [hide] tag all by itself:

c o d e :

[hide]Hidden stuff![/hide]

r e s u l t :

Hidden Content:
Hidden stuff!

Or, you can place a [reason] tag somewhere between the opening and closing [hide] tags to title the block:

c o d e :

[hide]Hidden stuff! [reason]Spoilers of the highest order![/reason][/hide]

o r :

[hide][reason]Spoilers of the highest order![/reason]Hidden stuff![/hide]

r e s u l t :

Hidden Content:
Hidden stuff! [reason]Spoilers of the highest order![/reason]

You can place the [reason] tag anywhere directly inside the [hide] block - even in the middle of a word, were you so inclined to be weird like that ( :P ). However, it must be used inside of a [hide] block, and it must be directly inside the [hide] block, with no other BBCode around it - you can't put the [reason] tag inside of a

][/size] tag inside of the [hide] block or anything like that. It's probably easier to just keep it at the very beginning or the very end, but there is a degree of flexibility.

So there you have it! Enjoy, and don't abuse it too much - mods don't like clicking on a thousand "Show" links to make sure you're not cussing up a storm. ;)


I am not a mechanism, I am part of the resistance;

I am an organism, an animal, a creature, I am a beast.

~ Becoming the Archetype

Link to comment
Share on other sites

Firstly, thanks for implementing this tag which will help me avoid cluttering numorous threads involving things such as long code snippets.

When I first saw the second example, I wandered where the "what awaits you text was" - so I suggest moving it to the left.

Thirdly, to combat the obvious problem of moderation with such tags, I have created a new Stylish snippet (for mods with Firefox and Stylish) which always shows the text inside. Unfortunatly, it does not work with [.spoiler] tags.

Link to comment
Share on other sites

A note about what this should and should not be used for:

It should be used for:

1. Hiding copious amounts of code or images, such as in bug reports, CodeLab scripts, palettes, screenshots, and other such things so that they don't take up too much space.

2. Hiding things that would reveal endings or major plot points to popular, current, or surprising stories.

3. Hiding the answers to puzzles, riddles, trivia questions, etc.

It should not be used for:

1. Trying to get around the ban on cussing, off-color jokes, the 800px image limit, or other things that break forum rules by hiding it from moderators. We will find it, and you will still be banned.

2. Your signature. You cannot use this in your signature by any means. We wouldn't be able to tell if you were ever to change it or update it.

3. Any blocks of text less than ten lines (unless they fit into #2 and #3 in the "should" section). This is a soft limit which will usually be ignored unless you abuse this.

I don't want to put a damper on the party, but someone has to do it. :-)

Hidden Content:
Have fun![reason]My parting words for this post[/reason]

(Ending to a story! :-))

EDIT: Spelled-out image ability.


The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.
Amy: But how did it end up in there?
The Doctor: You know fairy tales. A good wizard tricked it.
River Song: I hate good wizards in fairy tales; they always turn out to be him.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...