$checkpost = $vbulletin->db->query_read(" SELECT username FROM " . TABLE_PREFIX . "post WHERE threadid = '".$threadid."' ");