The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Need some help with coding
Well I kinda need help making a special tag. You see I'm trying to make a tag for spoilers so when you type [spoil][/spoil] is displays something lie this:
****Spoiler**** ------------------------------------ The text or spoil goes here 7 lines down ****End Spoiler**** ------------------------------------ That's what I'd like if it's possible Im sure it's difficult to set up so your help would be greatly appreciated. |
#2
|
||||
|
||||
Code:
<br> <B>****Spoiler****</B><br> ------------------------------------<br> <br><br><br><br><br><br><br> {param} <br><br><br><br> <B>****End Spoiler****</B><br> ------------------------------------ |
#3
|
|||
|
|||
Heres my go at it
Code Tag: spoil Code Replacement: <b>****Spoiler****<br> -----------------------------------</b><br><br><br><br><br><br><br><br> {param}<br><br><br><br><br><br><br> <b>****End Spoiler****<br> -----------------------------------</b> Code Example: [spoil]Well this here is a spoiler[/spoil] Code Explanation: This tag creates your spoiler inbetween specified tags and lots of spaces. Hope it works heh, i posted just after him, oh well, ya i like the highlight idea for this type of thing more. |
#4
|
||||
|
||||
Hehe, same thing (I realize we posted at about the same time ).
|
#5
|
||||
|
||||
Quote:
Edit that doesn't work the one you gave me. |
#6
|
||||
|
||||
uh..It did when I tested on my forums...
Anyway, my code is: <center><table border="0" align="center" width="500" cellpadding="3" cellspacing="1"> <tr><td><font size="1" color=#ff0000><b>Spoiler, highlight to read:</b></font></td></tr> <tr><td style="BORDER: #000000 1px solid; FONT-SIZE: 11px; COLOR: 000000; FONT-FAMILY: Verdana,Arial; BACKGROUND-COLOR: #000000;">{param}</td></tr></table></center> |
#7
|
||||
|
||||
I got both to work. I had yes checked for the option thingy. Thanks again.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|