jp2
04-07-2005, 08:47 AM
Vbulletin <if> statement help.
Here is what I am trying to do?
I want to add a link to my nav bar that?s only viewable by registered users prompting them to ?upgrade there account?.
I half know how <if> statements work in vbulletin but I am not sure on the exact code to make this work.
Something along the lines of?
<if condition="$bbuserinfo['userid'] == 2">
<td class="vbmenu_control"><a href="http://www.babeforums.net/imagehost/" target="_blank"><strong><font color="#000000">Test</font></strong></a></td>
<else />
</if>
This doesn?t seem to be working however.
Any help is greatly appreciated.
Jon
Here is what I am trying to do?
I want to add a link to my nav bar that?s only viewable by registered users prompting them to ?upgrade there account?.
I half know how <if> statements work in vbulletin but I am not sure on the exact code to make this work.
Something along the lines of?
<if condition="$bbuserinfo['userid'] == 2">
<td class="vbmenu_control"><a href="http://www.babeforums.net/imagehost/" target="_blank"><strong><font color="#000000">Test</font></strong></a></td>
<else />
</if>
This doesn?t seem to be working however.
Any help is greatly appreciated.
Jon