ur instructions arnt clear..... shud be:
Upload stats.php to the forumroot/modules directory.
Create a new template:
adv_portal_stats
Add this code to it:
<tr>
<td class="$getbgrow" width="100%">
<div>$vbphrase[block_attach_total]: $total_attach[count]<br />
$vbphrase[block_space_used]: $total_hits2_in_mb mb<br />
$vbphrase[block_total_downloads]: $total_downloads
</div></td>
</tr>
Create a new php module.
Module Title: Attachment Stats
File to Include: Choose attach.php
Templates Used: adv_portal_attach
Identifier: attach
Add 3 new phrases:
Type: Global
Varname: block_attach_total
Text: Total Files
Type: Global
Varname: block_space_used
Text: Space Used
Type: Global
Varname: block_total_downloads
Text: Total Downloads
|