The Arcive of vBulletin Modifications Site. |
|
Spoiler Tag Details »»
|
|||||||||||||||||||||||||
This is a (mostly) CSS based spoiler tag for vB 3.5 RC 3 and up (Perhaps lower, but not tested.) Just follow the instructions below or in the .zip file. Have fun!
Code:
Step 1.
Copy the following into the additional CSS definitions (Admin CP > Styles & Templates > Style Manager > All Style Options>Additional CSS definitions) and paste it into the lower box.
CSS Code:
.spoiler
{
background: Black;
color: Black;
border-style: dashed;
border-color: White;
}
Step 2.
Now click save and go to the page to add a new BB Code (Admin CP> Custom BB Codes > Add New BB Code)
Enter the following (Exactly as shown!):
Title: Spoiler
Tag: spoiler
Replacement:
<center><font color="red">Spoiler Below</font></center> <div class="spoiler">{param}</div>
Example: [spoiler]test[/spoiler]
Description: Hides text
Use {option}: No
Button Image: Leave empty
Click save and go try it out!
FAQ:
Q:I want to change the color that the spoiler tag uses! How?
A: If you know CSS it is all controlled in the CSS definitions. If you do not know CSS let me know in the thread at vb.org and I'll see if I can help you.
Q: Why doesn't the example work in the admin cp?
A: I'm not sure, but it will still work in posts.
EDIT:: .zip and code posted above edited for spelling mistakes. Screenshots added. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Awsome thanks
|
|
#3
|
||||
|
||||
|
can u provide some screenshots
thanks |
|
#4
|
||||
|
||||
|
Screenshots added.
|
|
#5
|
||||
|
||||
|
what this exactly doing
|
|
#6
|
||||
|
||||
|
The user puts [spoiler]texthere[/spoiler] and it hides the text that is in the spoiler tags until it is high lighted.
|
|
#7
|
|||
|
|||
|
awesome, I had this installed as bbcode that I found as vbulletin.com but it only workes cuz I have a board with a black background.. if I use a diff style you can see the spoiler, so I'll give this a shot.
|
|
#8
|
|||
|
|||
|
if people are wondering what's the point, its so you can have a thread and talk about movie plots/spoilers of recently released movies, or jokes that make them read the joke part first.
I'm sure there's plenty of other uses too, but that's what I use it for. *edit* since we're talking bbcode, does anyone have a link to some good bbcode lists? |
|
#9
|
||||
|
||||
|
Good job!
|
|
#10
|
||||
|
||||
|
great addition chris, good job!!
|
![]() |
|
|