![]() |
"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? |
This:
Code:
<vb:if condition="is_member_of($bbuserinfo, $accessNumbers)"> should work if $accessNumbers is an array. |
I'll try it, installing the new board atm...
|
All times are GMT. The time now is 05:29 AM. |
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:
|