Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Admin Quick Stats Details »
Admin Quick Stats
Mod Version: 1.00, by Freddie Bingham (Contributor) Freddie Bingham is offline
Developer Last Online: Aug 2016 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (3 votes - 5.00 average) Installs: 98
Released: 09 Apr 2002 Last Update: Never Downloads: 3
Not Supported  

I don't use vBhacker so you will have to do this the old fashioned way. Also forgive me if something like this has already been released. I think everything is good but it is hard to code in vb2 style after working on the vb3 style so much.

This hack shows some quick stats on your Admin index page such as PHP version, server type, mysql version, Database usage, attachment usage, avatar usage, moderation and forum stats. I can add support for calculating attachments from PPN's attachments as files but I have to actually look at it first, which I will do tomorrow. In vb3 there is a filesize column in the attachment table so you don't need to do anything different if the attachments are currently in the file system (you can move them back and forth) but I assume I will have to run through the directory with filesize() to get an attachment total with the hack.

Anyway open admin/index.php and find:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Delete that and replace it with:


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

Download Now

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

Screenshots

Click image for larger version

Name:	ss.gif
Views:	1333
Size:	16.7 KB
ID:	4337  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 09 Apr 2002, 07:26
JulianD's Avatar
JulianD JulianD is offline
 
Join Date: Jan 2002
Real name: Julian Muņoz
Looks great freddie Installing right now
__________________
Julian D. Muņoz
Reply With Quote
  #3  
Old 09 Apr 2002, 07:38
Recluse's Avatar
Recluse Recluse is offline
 
Join Date: Feb 2002
problem closing the php

Parse error: parse error in /admin/index.php on line 283


line 282 =<?php
line 283 = }
Reply With Quote
  #4  
Old 09 Apr 2002, 07:42
JulianD's Avatar
JulianD JulianD is offline
 
Join Date: Jan 2002
Real name: Julian Muņoz
Yeap.. having the same issue....
__________________
Julian D. Muņoz
Reply With Quote
  #5  
Old 09 Apr 2002, 07:49
JulianD's Avatar
JulianD JulianD is offline
 
Join Date: Jan 2002
Real name: Julian Muņoz
Already fixed:

Replace


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

with


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

( note the extra { )
Reply With Quote
  #6  
Old 09 Apr 2002, 07:51
JulianD's Avatar
JulianD JulianD is offline
 
Join Date: Jan 2002
Real name: Julian Muņoz
BTW, very cool hack, thanks freddie
__________________
Julian D. Muņoz
Reply With Quote
  #7  
Old 09 Apr 2002, 07:54
Floris Floris is offline
 
Join Date: Jan 2002
w00h00 freddie Thank you kindly for this hack, nice one and I can use it! By the way, nice Admin Control Panel theme you got going there.
Attached Images
File Type: gif quickstats.gif (17.6 KB, 580 views)
__________________
My community; http://wetalknation.net

Last edited by xiphoid; 09 Apr 2002 at 08:02.
Reply With Quote
  #8  
Old 09 Apr 2002, 07:56
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Thumbs up

Very nice, Freddie! Thanks.
__________________
FWC
F5 Hosting
White Sox Interactive Forums
Reply With Quote
  #9  
Old 09 Apr 2002, 08:11
Recluse's Avatar
Recluse Recluse is offline
 
Join Date: Feb 2002
Originally posted by JulianD
Already fixed:


( note the extra { )
beat me to it , thanks for the hack freddie

heres mine
Attached Images
File Type: jpg quickstats2.jpg (66.3 KB, 408 views)

Last edited by Recluse; 09 Apr 2002 at 08:16.
Reply With Quote
  #10  
Old 09 Apr 2002, 09:09
MarkB's Avatar
MarkB MarkB is offline
 
Join Date: Oct 2001
Very cool! Thanks for the hack, Freddie, and thanks to JulianD for the quick fix
Reply With Quote
  #11  
Old 09 Apr 2002, 09:40
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
I've installed this hack and its very handy, to get the size of attachments when they are files?
You could either read through the directory adding the file sizes together or exec("du -sm $attachpath");
Thats the only ways I can think of doing it unless there is a nice php function to get the size of a directory.

Scott
__________________
Scott MacVicar
vBulletin Developer
Reply With Quote
  #12  
Old 09 Apr 2002, 11:16
wooolF[RM]'s Avatar
wooolF[RM] wooolF[RM] is offline
 
Join Date: Jan 2002
installed, voted 5! very good!
Attached Images
File Type: gif wooolfsquickstats.gif (4.8 KB, 297 views)
__________________

It's nice to be important but it's more important to be nice.
--------------------------------------------------------------------------------------------------------------------------------------------
Never discuss with an idiot, he'll just pull you down to his own level and beat you with experience!
--------------------------------------------------------------------------------------------------------------------------------------------
Its not the penis that makes the man, its the way he uses it.
Reply With Quote
  #13  
Old 09 Apr 2002, 11:26
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
great hack. congrats.
__________________
Floren Munteanu
Axivo Inc.
Axivo Community - Visit the forums to find out more about us
Why Queued - My personal blog
Reply With Quote
  #14  
Old 09 Apr 2002, 12:09
inetd inetd is offline
 
Join Date: Nov 2001
Good! Super hack! Thanks, freddie!

I have one question: what is Database index usage?
Reply With Quote
  #15  
Old 09 Apr 2002, 13:45
WallStreat WallStreat is offline
 
Join Date: Oct 2001
Top NOTCH! Simple Yet Handy
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 14:37.

Layout Options | Width: Wide Color: