Murtific
07-30-2011, 08:55 AM
<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?
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?