Code:
$vbulletin->db->query_write("
DELETE FROM " . TABLE_PREFIX . "threadrate
WHERE userid = '" . $_REQUEST['userid'] . "'
");
Hi.
i could really use this add-on if the threadid could be added so that it doesn't delete all ratings by a user
i'm not a programmer so i was wondering if someone could be so kind as to tell me if it would look like this? [my additioin is in
red]....
Code:
$vbulletin->db->query_write("
DELETE FROM " . TABLE_PREFIX . "threadrate
WHERE userid = '" . $_REQUEST['userid'] . "' AND threadid = '" . $_REQUEST['threadid'] . "'
");

