$permissions=getpermissions($getforuminfo[forumid]);
if($vb_org == 1) { $permissions['canview'] = 1; $permissions['cangetattachment'] = 1; }