grant.hayman
02-13-2008, 01:59 PM
<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>
usergroupid 23 is a subscription user group.
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
<if condition="$show['guest']">
your a guest!!
<else />
your a member - but not a subscriber!!
</if>
<else />
your a subscriber!!
</if>
usergroupid 23 is a subscription user group.
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