Here is the fix I came up with:
FIND in files.php:
$count_query = $dbim->query('SELECT c.name, COUNT( * ) AS download_count
FROM '.DB_PREFIX.'files AS f, '.DB_PREFIX.'categories AS c
WHERE f.category_id = c.id AND c.id = '.$child['id'].'
GROUP BY f.category_id');
REPLACE WITH: //Hide disabled files hack by visiblesoul
$count_query = $dbim->query('SELECT c.name, COUNT( * ) AS download_count
FROM '.DB_PREFIX.'files AS f, '.DB_PREFIX.'categories AS c
WHERE f.category_id = c.id AND c.id = '.$child['id'].'
AND f.status = 1
GROUP BY f.category_id');
Notice that all I added to the query was "AND f.status = 1" which checks to see if the file is active.-=DKC=-














