vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBa CMPS: Attachment Stats Module (https://vborg.vbsupport.ru/showthread.php?t=110813)

ericgtr 03-18-2006 10:00 PM

vBa CMPS: Attachment Stats Module
 
I have updated this from 3.0.3 (here https://vborg.vbsupport.ru/showthrea...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/showthrea...hreadid=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!


All times are GMT. The time now is 01:22 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00920 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete