Murtific
07-26-2011, 01:29 AM
Is there a built in variable that lets you pull the usergroup ID that a user is in??? I have some ideas to get around, but.. really ghetto.....
Would love to know if this var exists :eek:
--------------- Added 1311647992 at 1311647992 ---------------
<vb:if condition="$bbuserinfo['usergroupid'] == 6">Global Level: <input readonly="readonly" value="6" type="text" size="5" /></vb:if>
<vb:if condition="$bbuserinfo['usergroupid'] == 7">Global Level: <input readonly="readonly" value="7" type="text" size="5" /></vb:if>
<vb:if condition="$bbuserinfo['usergroupid'] == 5">Global Level: <input readonly="readonly" value="5" type="text" size="5" /></vb:if>
<vb:if condition="$bbuserinfo['usergroupid'] == 9">Global Level: <input readonly="readonly" value="9" type="text" size="5" /></vb:if>
I mean... REALLY.. ffs..... gotta be a better way tho..... :eek:
Would love to know if this var exists :eek:
--------------- Added 1311647992 at 1311647992 ---------------
<vb:if condition="$bbuserinfo['usergroupid'] == 6">Global Level: <input readonly="readonly" value="6" type="text" size="5" /></vb:if>
<vb:if condition="$bbuserinfo['usergroupid'] == 7">Global Level: <input readonly="readonly" value="7" type="text" size="5" /></vb:if>
<vb:if condition="$bbuserinfo['usergroupid'] == 5">Global Level: <input readonly="readonly" value="5" type="text" size="5" /></vb:if>
<vb:if condition="$bbuserinfo['usergroupid'] == 9">Global Level: <input readonly="readonly" value="9" type="text" size="5" /></vb:if>
I mean... REALLY.. ffs..... gotta be a better way tho..... :eek: