![]() |
vBa CMPS: Attachment Stats Module
I made this same mod for forumhome and decided to also create a module for it. It will display the following:
Total Files Space Used Total Downloads Create a template called adv_portal_attach Paste this inside of it: Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%"> Create a new module. Module Title: Attachment Stats Module Indentifier: (leave blank) File to Include: Choose attach.php OR Template to Include: (leave blank) Templates Used: adv_portal_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 That's it! :) |
Dont think you have attached the correct php file M8
|
Ack! Fixed, thanks :)
|
installs perfect m8
|
does this thign slow down the server alot when u have a big database since installing my forums are dragging
|
Not sure but it's basically 3 queries being pulled, it hasn't slowed my site down at all with all the attachments and downloading I have going on. That's not to say that it won't though, if you find it's slowing you down I would definitely pull it.
|
Working 100% now with the correct php file :)
Quote:
|
installs fine but it shows up with no info i mean no stats
look at the image and you get what i mean |
Quote:
|
hi,
i found a problem with my vb advanced portal.I add a module like your instructions tells us todo but the system doesn't seem to remember to include the file "attach.php" when i login to my ACP i hit vbcmps at the left and then edit modules i see "file to include :none" i never had this problem with vbcmps might be a bug ?? i see this everytime i edit my vbcmps modules "attach stats" files to include none althrough i hit the "save" button" and i get no errors at all strange :speechless: ooooh guess i whas to drunk from celebrating christmas i didn't leave the templates used filed blank (what a stupid error) :disappointed: anyway all working like a champ |
All times are GMT. The time now is 11:12 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|