Quote:
Originally Posted by |oR|Greg
Actually upon further testing this doesn't work. I have changed styles, and it keeps showing the first one it detected, even after refreshing. Sigh.
I tried using this too, and no good... anyone know how to do this?
Code:
<if condition="in_array($styleid, array(1,0))"><a href="$vboptions[forumhome].php?$session[sessionurl]&styleid=1">AMAC Blue</a></if>
<if condition="in_array($styleid, array(5))"><a href="$vboptions[forumhome].php?$session[sessionurl]&styleid=$post[styleid]">AMAC Midnight</a></if>
<if condition="in_array($styleid, array(17))"><a href="$vboptions[forumhome].php?$session[sessionurl]&styleid=$post[styleid]">AMAC Butterflies</a></if>
Anyone? Bueller?
|
My method will work, as I use it on my site.
However, it's important to note it only shows the style as set in the user cp...it won't detect any changes made using the quick chooser dropdown, as these are simply cookie changes.
It'd be nice if there was a way to detect those, but I don't know of one.