The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Can you use nested conditionals? Like this?...
Code:
<if condition="$ssl == on"> <if "is_member_of($bbuserinfo, 55)"> <!--do nothing--> <else /> <meta http-equiv="refresh" content="5;url=http://www.mydomain.com/subscribe.php"> </if> </if> All im doing here is checking to see if user is in SSL environment (using plugin - global start) and verify the user is a member of usergroup 55 (subscriber group). If not a member of usergroup 55, send the user to the subscription page. Can you do something like !$is_member_of($bbuserinfo,55) or how would you do it? Thanks! Max I now see the error of my ways - left out "conditional=" in the nested conditional. All works as expected once corrected. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|