![]() |
if else statement
Code:
<if condition != "is_member_of($vbulletin->userinfo, 23)"> 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 |
Change:
HTML Code:
<if condition != "is_member_of($vbulletin->userinfo, 23)"> HTML Code:
<if condition="!is_member_of($vbulletin->userinfo, 23)"> |
Thanks Marco,
Works great now. |
All times are GMT. The time now is 02:11 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|