PDA

View Full Version : vBa CMPS: Attachment Stats Module


ericgtr
03-18-2006, 10:00 PM
I have updated this from 3.0.3 (here https://vborg.vbsupport.ru/showthread.php?s=&threadid=73238 ) to work with 3.5.x

What it does:
Displays your attachment stats in a vBa box in the following format..
Total Files
Space Used
Total Downloads

This is also created as a forumhome plugin here https://vborg.vbsupport.ru/showthread.php?s=&threadid=110164

Install should only take a minute.
All the instructions are in the attach_stats.txt file. Enjoy and please click install if you use it. :)

DJ XtAzY
03-20-2006, 01:22 AM
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

ericgtr
03-20-2006, 04:12 PM
Okay, updated. Thanks for pointing it out.

Snake
03-21-2006, 10:45 AM
Thanks!