Thanks.
Anthony that is almost perfect for me except I don't have control over which forums you can hide.
This was the plugin code Xenon posted that doesn't work for me:
Code:
// Exclude Forums except direct link to thread
if ($vbulletin->userinfo['fieldxx'] != 0 AND THIS_SCRIPT != 'showthread' AND THIS_SCRIPT != 'attachment')
{
$excludeforums = array();
if ($vbulletin->userinfo['fieldxx'] & (1 << 0)) // first checkbox
{
$excludeforums = array_merge($excludeforums, array(xy, xy, xy, xy));
}
if ($vbulletin->userinfo['fieldxx'] & (1 << 1)) // second checkbox
{
$excludeforums = array_merge($excludeforums, array(za, za, za, ta));
}
...
foreach ($excludeforums AS $fid)
{
$vbulletin->userinfo['forumpermissions']["$fid"] = 0;
}
}