Crazy Man Dan Posted December 21, 2008 Share Posted December 21, 2008 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 ( ). 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. Cheers. Quote 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 More sharing options...
ShK_828 Posted December 21, 2008 Share Posted December 21, 2008 Hidden Content: this is awesome yays Quote Link to comment Share on other sites More sharing options...
Ouchy_S Posted December 21, 2008 Share Posted December 21, 2008 Yuss finally! Hidden Content: [reason]Awesomeness will over whelm you[/reason] I! Quote My deviantART | My Gallery Link to comment Share on other sites More sharing options...
Simon Brown Posted December 21, 2008 Share Posted December 21, 2008 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. Quote Link to comment Share on other sites More sharing options...
vista? Posted December 21, 2008 Share Posted December 21, 2008 Yeah - this enhanced spoiler tag which isn't the spoiler tag because it's now a new tag called the hide tag is cool but within the hide . . . . 1 year later after my long sentence finishes Thank you so much! Quote Link to comment Share on other sites More sharing options...
Kemaru Posted December 21, 2008 Share Posted December 21, 2008 Welcome! Hidden Content: [reason]Super secret government issues[/reason]Have a ! Quote Hatred does not cease by hatred, but only by love; this is the eternal rule. |fb(page)|portfolio|blog| Link to comment Share on other sites More sharing options...
Simon Brown Posted December 21, 2008 Share Posted December 21, 2008 1 year later after my long sentence finishes A useful application. Quote Link to comment Share on other sites More sharing options...
david.atwell Posted December 22, 2008 Share Posted December 22, 2008 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. Quote  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 More sharing options...
Crazy Man Dan Posted December 22, 2008 Author Share Posted December 22, 2008 Hey! Git outta here, party-pooper! Quote 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 More sharing options...
PyroTechniques Posted December 23, 2008 Share Posted December 23, 2008 Should this be used to hide images in tutorials, so you don't have to scroll down so much? Quote Photobucket Sucks! Link to comment Share on other sites More sharing options...
Simon Brown Posted December 23, 2008 Share Posted December 23, 2008 Personally i'd be against that, as one would have to keep clicking on the images. It may be useful for example results, though. Just my 20 pence. Quote Link to comment Share on other sites More sharing options...
Drum_gurl Posted December 23, 2008 Share Posted December 23, 2008 ooo00o0o0o0o0o....very nice! Hidden Content: *screams* this is the greatest thing ever!!!! Lol.[reason]Silent Cone[/reason] Quote -FaNaCtIcS--ChAt- Link to comment Share on other sites More sharing options...
Simon Brown Posted December 23, 2008 Share Posted December 23, 2008 One problem: Someone wanting to cause minor disruption can post the following code: [hide][reason][/hide][/reason] Edit: It only works for prosilver. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.