View Full Version : postbit show style
SiXXGuNNZ
01-24-2004, 03:34 AM
I saw a template hack at vbtemplates, but that seemed a bit drastic and alot of extra html that isn't needed, how did you guys do this at vb.org?
restless
01-24-2004, 05:00 AM
<b>Style:</b>
<if condition="$post[styleid]==0"> <a href="$vboptions[forumhome].php?$session[sessionurl]&styleid=$post[styleid]">Default</a></if>
<if condition="$post[styleid]==1"><a href="$vboptions[forumhome].php?$session[sessionurl]&styleid=$post[styleid]">Default</a></if>
<if condition="$post[styleid]==X"><a href="$vboptions[forumhome].php?$session[sessionurl]&styleid=$post[styleid]">X Style 1</a></if>
<if condition="$post[styleid]==X"><a href="$vboptions[forumhome].php?$session[sessionurl]&styleid=$post[styleid]">Style 2</a></if>
the first 2 conditions have to stay as is. simply add as many X conditions for your various styles.
that's the postbit. i cannot remember where i found it, but i certainly did not come up with it.
SiXXGuNNZ
01-24-2004, 08:38 AM
thanks man
monstergamer
03-10-2004, 10:19 AM
it still shows me using a different style
i am using the quick style selecter
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.