im leaning towards hooking into the $post query but heres the code i used
PHP Code:
global $vbulletin;
$vics = $vbulletin->db->query_read("SELECT username,beat,cscore,oscore FROM" . TABLE_PREFIX ." dbh_victims WHERE username = '" .$post[username]. "' ORDER BY beat ASC");
while ($get = $db->fetch_array($vics))
{
eval('$vicbits .= "' . fetch_template('dbh_victim_bits') . '";');
}
--------------- Added [DATE]1270920477[/DATE] at [TIME]1270920477[/TIME] ---------------
stupid me.. got it to work with $vbulletin->db->fetch_array
thanks for your help