| wcked |
07-13-2024 02:05 AM |
vb condtions for vb6
All created to wayne, posted here for reference.
Quote:
Originally Posted by Wayne Luke;n4493297
That should work. Conditions really haven't changed since vBulletin 3 and 4. If that isn't working change $vbulletinââ€Â â€℠¢userinfo to $User. The $User object is will have a larger scope.
There is also a <vb:usergroup> tag in 6.0.4 and 6.0.5. It is described in the 6.0.4 Release notes but it has the syntax of:
Code:
<vb:usergroup groupid="2">Your are in the registered usergroup.</vb:usergoup>
<vb:usergroup notgroupid="2">You are not part of the registered usergroup.</vb:usergroup>
// You can also check multiple groups:
<vb:usergroup groupid="X,Y,Z"><!-- Custom Code Block -→</vb:usergroup>
|
|