Version: 1.00, by TECK
Developer Last Online: Nov 2023
Version: 2.2.x
Rating:
Released: 09-05-2002
Last Update: Never
Installs: 98
No support by the author.
This hack will replace your server average loads with a more detailed table schema. The following options are available:
- quick user finder (placed at the top)
- useful links (reorganised)
- members online (now viewable even if your sever is not Linux)
- server type (with php and mysql version)
- server uptime
- host name
- host IP address
- your IP address (port number also)
- load averages
- database (name) usage (data and index)
- attachment usage (if enabled)
- custom avatar usage (if enabled)
- users awaiting moderation
- attachments awaiting moderation
- new users today
- registered visitors today
- new threads today
- new posts today
[high]CREDITS:[/high] Freddie Bingham
Integration of Admin Quick Stats options.
I decided to integrate Freddie's hack because I anticipated that several users will ask for it.
[high]NOTE:[/high] If your server does not support @exec('uptime'), the following stats will be disabled:
- server uptime
- host name
- host IP address (only)
- load averages
The way it was written the code before, you couldn't see any 'members online' stats, if you didnt run(host) a linux box. I enabled it so it's viewable all the time.
Also, notice the way it changes the plural of words, based on the value. for example, if the 'hour' value is higher then 1, it will show as 'hours'. This is available for all words that change, depending on the number variable.
NOTE: If you installed PPN's Attachments as Files, read this post.
HACK UPDATES Version 1.1
------------------------------------
Changes:
- added 'Your IP Address' option.
If you installed the hack, go here to view the changes.
To download the latest version of this hack, click on the link below:
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Originally posted by TECK i use a different approach me to eliminate completly the lines that have 0 values.
for example, if my specific line it has either "0.0 MB" or "0", i use a line like that:
Code:
if (kbtomb($attach['size']) != '0.0 MB') {
makelabelcode('Attachment Usage:', kbtomb($attach['size']));
}
or
Code:
if ($newusers['count'] != '0') {
makelabelcode('New Users Today:', $newusers['count']);
}
i added this condition to all functions that might give me 0 values. just a tip for those who want to have it more compact the information.
Teck, is this already incorporated into the file from the first post? If not, can it be?
VeoMorphine, your site promotes illegal activities, hacking, cracking, phreaking, serials, etc.
You are not allowed to use my hacks on a site like yours.
I hope you realize you infringe the Jelsoft agreement, when you use their software.