Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Attachment Statistics Details »
Attachment Statistics
Mod Version: 1.00, by ericgtr (Coder/Designer) ericgtr is offline
Developer Last Online: Jun 2016 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.3 Rating: (0 vote - 0 average) Installs: 14
Released: 22 Dec 2004 Last Update: 22 Dec 2004 Downloads: 10
Not Supported DB Changes Is in Beta Stage  

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 http://www.vbulletin.org/forum/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

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	attach_stats1.gif
Views:	285
Size:	5.3 KB
ID:	22498  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 22 Dec 2004, 02:45
lasto lasto is offline
 
Join Date: Jan 2002
cheers m8 seen it to late so will install 2morow and report back.
Thanks for all your help on this as well m8
Reply With Quote
  #3  
Old 22 Dec 2004, 03:55
N8's Avatar
N8 N8 is offline
 
Join Date: Dec 2004
Real name: Nathan
great hack

*installs*
__________________
N8
Used Oilfield Equipment | Hydraulic Catwalk
Reply With Quote
  #4  
Old 22 Dec 2004, 16:34
ChrisSy ChrisSy is offline
 
Join Date: Mar 2002
thanks for this *install*
Reply With Quote
  #5  
Old 22 Dec 2004, 17:03
dndog dndog is offline
 
Join Date: Apr 2004
Simple and useful.

/me clicks install.
Reply With Quote
  #6  
Old 22 Dec 2004, 22:43
PcFreak's Avatar
PcFreak PcFreak is offline
 
Join Date: May 2003
If you want to show the traffic, too.
Use this query:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The var $transferall show you all traffic (download traffic) for the attachments in the database in MB:

PcFreak
Reply With Quote
  #7  
Old 22 Dec 2004, 23:17
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
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.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by ericgtr; 22 Dec 2004 at 23:20.
Reply With Quote
  #8  
Old 18 Jan 2005, 23:23
Snatch Snatch is offline
 
Join Date: Jan 2004
The hack do not count the downloads tody. Why this ?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 02:00.

Layout Options | Width: Wide Color: