Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Inline Hover Spoiler BB Code Details »
Inline Hover Spoiler BB Code
Mod Version: 1.0, by Fangs404 (Coder/Designer) Fangs404 is offline
Developer Last Online: Sep 2019 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (1 vote - 5.00 average) Installs: 20
Released: 14 Jan 2009 Last Update: Never Downloads: 2
Not Supported Re-usable Code Translations  

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:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
BB Code Enhancements Inline Hover Spoiler BBCode Fangs404 vBulletin 3.7 Template Modifications 13 12 Apr 2012 03:10
BB Code Enhancements DI - BBCode [spoiler] D.Ilyin vBulletin 3.7 Add-ons 104 01 Apr 2010 18:56

Comments
  #2  
Old 15 Jan 2009, 16:24
AcidX's Avatar
AcidX AcidX is offline
 
Join Date: Jan 2006
Installed.

But, it doesn't work on smilies and images, does it?

Maybe a fix?
__________________
My mods.
Reply With Quote
  #3  
Old 16 Jan 2009, 08:29
Fangs404 Fangs404 is offline
 
Join Date: Oct 2008
Unfortunately, there's no way to fix it. It just works on text. It's basically coloring the background of the text the same color as the text (both are black), and when you hover over it, it simply changes the color of the text. You'd need to use one of those other spoiler mods that involves clicking a button if you want to hide non-text items.
Reply With Quote
  #4  
Old 16 Jan 2009, 11:52
Shaliza Shaliza is offline
 
Join Date: Apr 2006
That's cool. Easier for the lazy ones that don't feel like highlighting the words!
Reply With Quote
  #5  
Old 17 Jan 2009, 08:08
transparent transparent is offline
 
Join Date: Apr 2008
Works great thx!
Reply With Quote
  #6  
Old 17 Jan 2009, 23:19
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Real name: Blue
for those with a white background ( other colours just change the css )

Our bbcode is:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

we also prefer [sp] and [/sp] as opposed to [spoiler]

Its quite fun, having it so there is no foreground colour to the bbcode, as users dont know its there.
__________________

My Hacks [ click ] | Steve ~ Administrator for British Expats AustraliaBound.org/forum | Test our forum - user; don pass; pass123
Sports Tipping Mod - coming February 2010 ~ Show your Interest !
Reply With Quote
  #7  
Old 18 Jan 2009, 02:37
Fangs404 Fangs404 is offline
 
Join Date: Oct 2008
I should mention that users might need to change the colors depending on the template. Thanks!
Reply With Quote
  #8  
Old 23 Feb 2009, 11:51
imedic's Avatar
imedic imedic is offline
 
Join Date: Mar 2008
I wonder if this is penalized by Google?
Text on the same color as background is, as I remember penalized by G.
Can this become a problem if long texts are marked like this?
Reply With Quote
  #9  
Old 23 Feb 2009, 14:29
elpida elpida is offline
 
Join Date: Jul 2008
best way to do this even with images is to use OPACITY.



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and just set it to 0 to turn back normal
Reply With Quote
  #10  
Old 26 Feb 2009, 14:02
Fangs404 Fangs404 is offline
 
Join Date: Oct 2008
Originally Posted by imedic View Post
I wonder if this is penalized by Google?
Text on the same color as background is, as I remember penalized by G.
Can this become a problem if long texts are marked like this?
I have no idea. The forum I use this on requires that you be a member to view any posts, so Google can't index it.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 18:53.

Layout Options | Width: Wide Color: