View Full Version : VB Codes for the [spoiler] tag?
Hey, I have seen this on other websites, and have even found some posts on this here in these forums, but I have been unable to get any of these to work. I am running 2.2.9 if that helps. I didn't think that would make much of a difference, so maybe it's just me... Anyway, can someone tell me what codes, you know, replacement, example, and explanation are required to get this to work? I want it to me so you have to highlight the text to be able to see what it says. THANKS.
Also, I am new to all this. I'm just wondering, what are some hacks that you guys recommend as "must have hacks?" There are just so many and it's hard to focus. LOL! Any recommendations would be appreciated.
Oh yeah, and how do you make that thing at the top of this site, where it says "# online users?" I'm assuming this hack has already been made but I have been unable to find it. Any help on this would also be appreciated. Thanks. :pirate:
take a search on vbulletin.com they have that there..
and quick reply hack, and any of my hacks :thumbsup:
Thanks, I did look around but for some reason the one's I found did not work :( Any suggestions? I just want it to change the bg and fonf color to the background color of the message or any other color (doesn't really matter) so that it has to be highlighted to be readable. Thanks again.
WetWired
01-21-2003, 12:02 PM
Go into your admin CP.
On the nav bar, under vB codes, choose add.
Fill in the fields:
spoiler
<table bgcolor={option}><tr><td><font color={option}>{param}</font></td></tr></table>
This is hidden
The spoiler tag forces one to highlight it in order to read it
Yes
KuraFire
01-21-2003, 02:37 PM
Originally posted by WetWired
Go into your admin CP.
On the nav bar, under vB codes, choose add.
Fill in the fields:
spoiler
<table bgcolor={option}><tr><td><font color={option}>{param}</font></td></tr></table>
This is hidden
The spoiler tag forces one to highlight it in order to read it
Yes
Except that with that code, you need to replace {option} with #000 (or any other hex color) of course, since [spoiler] does not provide a color (option) thus it won't work :p
WetWired
01-21-2003, 02:58 PM
I messed up my example, so what? The entry still makes it work.
You can make it work both ways if you like, just enter that one, then enter this one:
spoiler
<table bgcolor=#CCCCCC><tr><td><font color=#CCCCCC>{param}</font></td></tr></table>
This is hidden
The spoiler tag forces one to highlight it in order to read it
No
Then, whether or not they enter a color, it will work.
Ahh cool. Thanks guys. Worked like a charm.
deaconxgp
01-28-2004, 06:13 PM
is there a way to insert a spoiler button much like the http or img button in the message toolbar so users could simply hit the spoiler button, then the prompt pops up to "enter spoiler here" like it does if you click the bold or italic button ??
KuraFire
01-28-2004, 11:14 PM
is there a way to insert a spoiler button much like the http or img button in the message toolbar so users could simply hit the spoiler button, then the prompt pops up to "enter spoiler here" like it does if you click the bold or italic button ??
Only in vB3
MasterObi1
03-20-2004, 01:09 PM
I have seen on a board the spoiler tag, however you do not need to highlight the text to see it you just click the word spoiler, this then shows the text within the tag.
Can not seem to find how to do this....
Thanks in advance for any help.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.