$getperms=getpermissions($forumid,-1,-1,$foruminfo['parentlist']); if ((!$getperms[canview]) AND ($bbuserinfo[joindate] <= (time()-(100*86400)))) { show_nopermission(); }