this is how I changed the URL in the ecdownloads.php downloads file.
PHP Code:
<?php
require_once("./includes/class_downloads.php");
$dl = new vB_Downloads();
for($i = 1; $i <= 4; $i++) {
$name = $dl->stats['latest['.$i.']'];
$id = $dl->stats['latestid['.$i.']'];
//$value = vbdate($vboptions['dateformat'],$main['latestval['.$i.']'],true);
$url = "http://forums.zgeek.com/downloads.php?do=file&id=$id";
if ($id > 0)
eval('$dpanel_latest_bits .= "' . fetch_template('downloads_panel_bit') . '";');
}
for($i = 1; $i <= 4; $i++) {
$name = $dl->stats['popular['.$i.']'];
$id = $dl->stats['popularid['.$i.']'];
$value = vb_number_format($dl->stats['popularval['.$i.']']);
$url = "http://forums.zgeek.com/downloads.php?do=file&id=$id";
if ($id > 0)
eval('$dpanel_popular_bits .= "' . fetch_template('downloads_panel_bit') . '";');
}
for($i = 1; $i <= 4; $i++) {
$name = $dl->stats['contrib['.$i.']'];
$id = $dl->stats['contribid['.$i.']'];
$value = vb_number_format($dl->stats['contribval['.$i.']']);
$url = "http://forums.zgeek.com/member.php?u=$id";
if ($id > 0)
eval('$dpanel_contrib_bits .= "' . fetch_template('downloads_panel_bit') . '";');
}
eval('$home[$mods[\'modid\']][\'content\'] .= "' . fetch_template('adv_portal_ecdownloads') . '";');
?>