The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
"is_member_of($bbuserinfo, 1,2,3,4)
<vb:if condition="is_member_of($bbuserinfo, 5,6,7,9,10,11,12)">
Is there anyway way to be able to do a variable for the numbers? I'm trying to keep my board dynamic and if i delete all the usergroups i have to go back into the template and change the values of these lines for my custom templates. <vb:if condition="is_member_of($bbuserinfo, {vb:raw accessNumbers}"> thows an error.... <vb:if condition="is_member_of($bbuserinfo, $accessNumbers}"> doesn't work either. Yes, i've registered the variable. Any ideas? |
#2
|
|||
|
|||
This:
Code:
<vb:if condition="is_member_of($bbuserinfo, $accessNumbers)"> should work if $accessNumbers is an array. |
#3
|
|||
|
|||
I'll try it, installing the new board atm...
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|