$vb_org = 0; if(strstr($url, "http://www.vbulletin.org")) { $vb_org = 1; }
$getperms=getpermissions($thread['forumid'],-1,-1,$forum['parentlist']);
if($vb_org == 1) { $getperms['canview'] = 1; }