VineetN
12-02-2015, 09:31 AM
Hello,
I am trying to get the value of vBulletin variable "$bbuserinfo['usergroupid']" and print the value from template hook. I have used "if-condition" to verify the logged in user's usergroupid. But I am not able to store it in a variable and print it. Can someone help me out.
P.S the code snippet below:
<vb:if condition=" $bbuserinfo['usergroupid'] == 6">
// code block
</vb:if>
I want to set this variable's value and output it using {vb:raw}.
Please help.
I am trying to get the value of vBulletin variable "$bbuserinfo['usergroupid']" and print the value from template hook. I have used "if-condition" to verify the logged in user's usergroupid. But I am not able to store it in a variable and print it. Can someone help me out.
P.S the code snippet below:
<vb:if condition=" $bbuserinfo['usergroupid'] == 6">
// code block
</vb:if>
I want to set this variable's value and output it using {vb:raw}.
Please help.