View Full Version : How do I check usergroup?
Shoebuddy
05-31-2004, 07:58 AM
I want to write some code for vb3 that is a selection based on usergroup. What vb variable should I check?
assassingod
05-31-2004, 09:02 AM
You can do it via template conditionals:
<if condition="$bbuserinfo['usergroupid'] == X">
display stuff for usergroup x
<else />
display stuff for everyone else
</if>
Replacing X with the usergroupid
Shoebuddy
06-01-2004, 06:14 AM
THanks
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.