View Full Version : little help with conditionals please
abualjori
08-10-2010, 07:57 AM
I need help with a conditional to show some navbar links only in forums but not in vbadvanced CMPS.
any help would be really appreciated .
Thank you in advance !
abualjori
08-11-2010, 02:54 PM
bumped ..!:D
Lynne
08-11-2010, 04:29 PM
Probably something like:
<vb:if condition="THIS_SCRIPT != 'xxxx'">stuff</vb:if>You will have to look at the top of the vbadvanced page to find out what THIS_SCRIPT is defined as or ask over on their forums for help with this.
BirdOPrey5
08-11-2010, 09:13 PM
VBAdvanced is called: adv_index
So the condition you'd use is:
<if condition="THIS_SCRIPT != 'adv_index'">stuff</if>
Also there's no vb: in these if statements if you're using VB3.x which I assume you are since this is the VB3 forum.
Lynne
08-11-2010, 11:05 PM
Also there's no vb: in these if statements if you're using VB3.x which I assume you are since this is the VB3 forum.
Whoops! Good catch. Thanks. :)
abualjori
08-12-2010, 02:03 PM
Thank you so much for helping me out guys :)
it worked perfect.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.