![]() |
Attachment Statistics
This modification will add a new collapsable box thingie just below your forum stats. Great if your site focuses on attachments. Most of this was by request here https://vborg.vbsupport.ru/showthread.php?t=73023
Please backup your database before installing. Includes: Total files on the server Space used by Attachments Total Downoads Total Downloaded Today 2 Files to edit: vbroot/index.php, vbtroot/attachment.php 1 Queries: (pulled from cache) 1 Templates to edit: FORUMHOME Update: The query for Total Downloads Today was not functioning correctly so I had to update it. If you've installed this already, go into your phpmyadmin and remove the timestamp table from attachmentviews then re-edit your attachments.php and add the updated query according to the updated readme.txt I had this moved to beta as I am still working on the query, keep in mind that I may have to change this again. If you want to help test though, that's great. See attached file, please click install if you find it useful :) |
cheers m8 seen it to late so will install 2morow and report back.
Thanks for all your help on this as well m8 |
great hack
*installs* |
thanks for this *install*
|
Simple and useful.
[high]* dndog clicks install. :)[/high] |
If you want to show the traffic, too.
Use this query: PHP Code:
PcFreak |
Thanks! Great addition :)
Anyway I can use that same formatting to get this query to pull the last 24 hours correctly? This is currently not working right, the timestamp is a table I added to the attachmentviews. Code:
//Total Downloads Today |
The hack do not count the downloads tody. Why this ?
|
All times are GMT. The time now is 01:51 PM. |
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:
|