Back to vBulletin 3.5 Template Modifications

Spoiler Tag
Mod Version: 1.00, by TruthElixirX

This modification is in the archives.
vB Version: 3.5.3 Rating: (4 votes - 4.75 average) Installs: 38
Released: 13 Jan 2006 Last Update: 13 Jan 2006 Downloads: 210
Not Supported  

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.
If there are any problems please report them in this thread. I'll try to help all I can.

EDIT:: .zip and code posted above edited for spelling mistakes.

Screenshots added.

Download

This modification is archived and cannot be downloaded.

Screenshots

   

Similar Mods

Spoiler Tag vBulletin 3.5 Template Modifications

vblts.ru supports vBulletin®, 2022-2024