$vbulletin->db->query_write("INSERT INTO quotegen VALUES ('hello')");
$db->query_write("INSERT INTO quotegen VALUES ('hello')");