View Full Version : Restrict/allow users/groups
Zona-Tv
08-09-2006, 10:25 PM
Like being able to make work this hack to vbulletin 3.5.4?
https://vborg.vbsupport.ru/showthread.php?p=747088#post747088
Since this does not work to me as
thank you very much
Kirk Y
08-09-2006, 10:38 PM
It's not really a hack. It's just a conditional.
I don't want Usergroup 8 to see this (Templates)
<if condition="!is_member_of($bbuserinfo, 8)">You're not in Usergroup 8, so you're allowed to see this.</if>
The same as above, only use this in a PHP file
if (!is_member_of($vbulletin->userinfo, 9))
{
eval('print_output("' . fetch_template('my_template') . '");');
}
else
{
print_no_permission();
}
Zona-Tv
08-09-2006, 10:45 PM
cenkiuss
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.