Version: 1.0, by Fangs404
Developer Last Online: Sep 2019
Category: BB Code Enhancements -
Version: 3.7.x
Rating:
Released: 10-15-2008
Last Update: Never
Installs: 20
Re-useable Code Translations
No support by the author.
I'm fairly new to the vBulletin scene. Having been a member of Something Awful for a while, I've grown to really like their spoiler tag. I searched around, but I couldn't find a similar spoiler tag for vB3. Every single spoiler tag I saw requires that you either click a button (which doesn't allow inline spoilers) or highlight text (which requires unnecessary work). I wanted to mimic SA's simple tag on my forum, so I figured out how to do it, and this is what you see here today. This mod is completely theme-independent (it's just a BB code, nothing else!), and it'll keep your site W3C compliant.
Without hovering, you see nothing but black:
However, when you hover the mouse over the black section of text, it magically appears:
Title: Spoiler BB Code Tag Name: spoiler Replacement:
Example: [spoiler]THIS TEXT IS SPOILERED LOL[/spoiler] Description: This tag changes the text into a black box which is unreadable. If you hover the mouse over the black box, the text will magically appear. Use Option: No Image:
Note: Depending on your template, you may need to change the colors in the HTML replacement code. Just make sure that color, background, and onmouseout match and that onmouseover is different. The colors in the above code are ideal for a template with a light background and dark text.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I was always wondering whats the purpose of spoiler , what its good for ?
Greets for SA
Say you're discussing what happened at the end of Iron Man. Instead of openly discussing it with the chance that sameone can unwillingly read it that was gonna be seeing it this weekend, you can hide text behind the spoiler tag. That way, they'll know not to read that section of text until they've seen the movie. It's great for discussing movies, TV shows, video games, etc in the open without having to worry about pissing someone off by spoiling some major aspect of whatever you're talking about.
I'm glad you guys like it. It's very simple, but it's incredibly effective.
Say you're discussing a what happened at the end of Iron Man. Instead of openly discussing it with the chance that sameone can unwillingly read it that was gonna be seeing it this weekend, you can hide text behind the spoiler tag. That way, they'll know not to read that section of text until they've seen the movie. It's great for discussing movies, TV shows, video games, etc in the open without having to worry about pissing someone off by spoiling some major aspect of whatever you're talking about.
I'm glad you guys like it. It's very simple, but it's incredibly effective.
Wow, sounds reasonable! Never thought about it this way, thanks for releasing it I will install it on my site