The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
if else statement
Code:
<if condition != "is_member_of($vbulletin->userinfo, 23)"> <if condition="$show['guest']"> your a guest!! <else /> your a member - but not a subscriber!! </if> <else /> your a subscriber!! </if> there should be 3 states here subscriber, guest, member and all three will have diffrent code inserted. so I am testing to see if they are a subscriber first and if they are whill show banner1, if they are not a subscriber then i check to see if there a guest ot not and show baner2 or banner3 as needed. but it seems to evaluate top if (subscriber) everytime. when it should only evaluate if its a subscriber. Anyone see anything wrong there Thanks |
#2
|
|||
|
|||
Change:
HTML Code:
<if condition != "is_member_of($vbulletin->userinfo, 23)">
HTML Code:
<if condition="!is_member_of($vbulletin->userinfo, 23)">
|
#3
|
|||
|
|||
Thanks Marco,
Works great now. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|