sweet bro it worked with my code and your database connection worked nice
i was hoping insted of useing KB cant you use MB ?
all people need to do is edit memberlist.php and look for
PHP Code:
// format posts number
$post['posts'] = vb_number_format($post['posts']);
and put under:
PHP Code:
$getuserstats = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "user WHERE userid = $userinfo[userid]");
while ($userstats = $DB_site->fetch_array($getuserstats)) {
$numupload = $userstats['uploadno'];
$uploadtotal = $userstats['uploadtotal'];
$numdownload = $userstats['downloadno'];
$totaltotal = $userstats['downloadtotal'];
}
thats it for the hole hack