![]() |
Spoiler Tag
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. EDIT:: .zip and code posted above edited for spelling mistakes. Screenshots added. |
Awsome thanks :)
|
can u provide some screenshots
thanks |
Screenshots added.
|
what this exactly doing
|
The user puts [spoiler]texthere[/spoiler] and it hides the text that is in the spoiler tags until it is high lighted.
|
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.
|
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? |
Good job!
|
great addition chris, good job!! :)
|
how about if you don't want any border you hint that there is hidden text?
i would prefer if it was just a link that when you click on it the text (or picture via IMG code) is shown below. I've seen this on freephpbb as "reveal hidden content" |
nice but i have the spoiler hack that requires the member to click a button to view a spoiler.... like "Show Spoiler" and when clicked, the msg shows
|
To get rid of the border use this CSS code instead of the other one:
Code:
.spoiler |
Nice work, I'll probably install it soon.
|
Quote:
|
Thanks for this!
|
Don't forget to click install. :)
|
ive installed this but now im getting this in every post
var cssList = new Array(); getCSS("3053751") var cssList = new Array(); getCSS("3053751") the spoiler code i added was Code:
.spoiler |
Very Fun!! Thanks.
*clicks install* |
Quote:
Also don't forget to click install if you installed the hack. |
What hack are u using for the longevity and stuff in yer postbit?
|
|
Thank you.
|
For the admin CP problem, it must be because the CP doesn't use the CSS the actual forum does. It should work if you change the replacement field code to this:
Code:
<center><font color="red">Spoiler Below</font></center> <div style="background: Black;color: Black;border-style: dashed;border-color: White;">{param}</div> I'm already using a spoiler BB code that I made with javascript though. |
nice hack! installed & *clicked install*..thank you..
|
*Installed!*
|
I installed it; it works in 3.6 fine in case anyone wanted to ask. ;)
|
Thanks for this :D I modified it to have a 1px solid border though. but very cool :D
|
Is there a way to tweak it so that it doesn't create a new line for it? i.e. it exists within a line of text like, "This is a SPOILER surrounded by text"? I took out the red text above and changed it to a solid border, but i want it to be part of the sentence structure.
|
where is the admin css template to change the code?
|
Quote:
Admin CP > Styles & Templates > Style Manager > All Style Options>Additional CSS definitions Scroll down near the bottom (it's the third entry from the bottom of All Style Options, at least for me) to get to Additional CSS Definitions. Remember to do it in EVERY skin you have installed. If you meant something else then I apologise. :o |
Thanks for the reply NeitherSparky. That helps.
|
[spoiler]test vb.org spoiler[/spoiler]
|
its working for 3.7.x?
|
Quote:
|
tnx!
|
oky....
|
downloaded
|
All times are GMT. The time now is 04:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|