if(is_member_of($vbulletin->userinfo, 6, 161)){ // This $_GET should be cleaned I hope?... $filename = $_GET['filename']; }