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.
my new server won't read uptime either. I'd love to get it working again, but not sure how
the problem is in user rights... look here :
Quote:
Warning: SAFE MODE Restriction in effect. The script whose uid is 1740 is not allowed to access /proc/uptime owned by uid 0 in /home/www/web1/html/forum/admin/index.php on line 158
Warning: fopen("/proc/uptime", "r") - Success in /home/www/web1/html/forum/admin/index.php on line 158
Warning: fgets(): supplied argument is not a valid File-Handle resource in /home/www/web1/html/forum/admin/index.php on line 159
Warning: fclose(): supplied argument is not a valid File-Handle resource in /home/www/web1/html/forum/admin/index.php on line 160
Server Uptime:
0 days, 0 hours and 0 minutes
Load Averages:
: :
Warning: SAFE MODE Restriction in effect. The script whose uid is 1740 is not allowed to access /proc/sys/kernel/hostname owned by uid 0 in /home/www/web1/html/forum/admin/index.php on line 140
Warning: fopen("/proc/sys/kernel/hostname", "r") - Success in /home/www/web1/html/forum/admin/index.php on line 140
don't look at the number of lines and try to compare to yours... the main idea is to chmod + chown /proc/sys/kernel/hostname to the same uid as your webuser (vbb)
Love the install , and it looks great , I get this though ?
Warning: fopen("/proc/uptime", "r") - No such file or directory in /home/www/forums/admin/index.php on line 217
Warning: Supplied argument is not a valid File-Handle resource in /home/www/forums/admin/index.php on line 218
Warning: Supplied argument is not a valid File-Handle resource in /home/www/forums/admin/index.php on line 219
Server Uptime:
0 days, 0 hours and 0 minutes
Load Averages:
1.44 : 1.45 : 1.39
Warning: fopen("/proc/sys/kernel/hostname", "r") - No such file or directory in /home/www/forums/admin/index.php on line 199