I have been working at this for the past couple of hours with no luck, I got everything working but when you click on a sponsor link I get this.....
input->clean_gpc('g', 'f', TYPE_INT); if (empty($f_clean)) { eval(standard_error(fetch_error('invalid_forum_spe cified'))); } if ($vbulletin->options['sponsor_global_enable_sponsorship']) { $result = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "forum WHERE forumid = " . $f_clean); if ($vbulletin->db->num_rows($result) > 0) { $arr = $vbulletin->db->fetch_array($result); if ($arr['sponsor_enabled'] == 1) { $vbulletin->db->query_write("INSERT INTO `" . TABLE_PREFIX . "vbsponsors` ( `id` , `sponsor_name` , `forum_id`, `forum`, `date` ) VALUES ( '', '" . $vbulletin->db->escape_string($arr['sponsor_name']) . "', '" . $arr['forumid'] . "', '" . $vbulletin->db->escape_string($arr['title_clean']) . "', '" . $vbulletin->db->escape_string(time()) . "')"); if ($vbulletin->db->affected_rows() > 0) { if (!empty($arr['sponsor_url'])) { $vbulletin->url = $arr['sponsor_url']; eval(print_standard_redirect('')); } else { eval(standard_error(fetch_error('sponsor_url_inval id'))); } } else { eval(standard_error('Update of sponsor stats failed')); } } else { eval(standard_error(fetch_error('sponsor_not_enabl ed'))); } } else { eval(standard_error(fetch_error('invalid_forum_spe cified'))); } } else { eval(standard_error(fetch_error('sponsor_not_enabl ed'))); } ?>
PLEASE HELP
Thanks
Drew
|