advertisement
advertisement

Spoiler Tags [Archive] - MousePad

View Full Version : Spoiler Tags


DrIndianaJones
06-16-2004, 02:37 PM
Hello Admins, et. al.
While I frequent the MousePad from time to time, I am also a moderator at another fine message board called the Raven (an Indiana Jones message board at www.TheRaider.Net). Anyway, we recently upgraded our VBulletin and are unable to add in the so called spoiler tags...here is the script we are trying to use:
vB Code tag= spoiler

vB Code replacement= {param}
-> as you can see, the script works.

vB Code example= testing


Here's the vB Code replacement (unactive)
<:table><:tr bgcolor="{option}"><:td><:font color="{option}" size="2">{param}<:/font><:/td><:/tr><:/table>

Count out all ":" of course.

Any idea where the problem lies?

Thanks for any help you can provide!
DrIndianaJones
aka Aaron H at The Raven (http://raven.theraider.net)

Lani
06-16-2004, 02:40 PM
Tony will be the one to help you with this one. His 'net connection may be spotty (and I think he's in Florida this weekend) but I'm sure he'll help you when he can. :)

DrIndianaJones
06-16-2004, 03:53 PM
I will await his reply! Thanks!

Mox
06-17-2004, 12:15 AM
Try moving the "bgcolor" attribute from the "tr" tag to the "td" tag. I think that should give you the desired result.

--Mox

Tony
06-17-2004, 07:38 AM
Mox is correct. Here is the exact replacement code we are using:


<table width=80% align=center border="1" cellpadding="2" bordercolor=black>
<tr><td>Spoiler:</td></tr>
<tr><td bgcolor=black><font color="black">
{param}
</font></td></tr>
</table>

By the way, you can post true HTML without the system parsing or rejecting it by using the <code> tag (replace < with square brackets). If you are using the WYSIWYG editor on our system, look for the # symbol.

Bill Catherall
06-17-2004, 09:17 AM
Will you accept requests to change the look of the spoiler tags? :) Personally, I think the following might have a better visual flow:


<table align=left border="0" cellpadding="0">
<tr><td bgcolor=black><font color="white">Spoiler:</font></td></tr>
<tr><td bgcolor=black><font color="black">
{param}
</font></td></tr>
</table>

DrIndianaJones
06-17-2004, 06:53 PM
Thank you all for your help!
I'll let you know if it works...thanks again!


advertisement
advertisement