Thanks Tefra, will give it a go later.
EDIT: I just noticed something Tefra, in the code above you have it counting categories, why I had it that way I don't know, what I meant to count when viewing the main page you see a total number of files for that cat and all sub cats then a total for files under that main cat only. I'm still trying to figure that out, once I get the cats sorted, I'll post up my file count stuff.
--------------- Added [DATE]1200524647[/DATE] at [TIME]1200524647[/TIME] ---------------
Seems this line:
PHP Code:
$id = (empty($vbulletin->GPC['id'])) 0 : $vbulletin->GPC['id'];
is causing this error:
Code:
Parse error: syntax error, unexpected T_LNUMBER in /downloads.php on line 96
I changed it to '0' but got an error of encapsed this and that. So I'm not sure about that line.