The Arcive of vBulletin Modifications Site. |
|
AP Lightweight Performance Statistics Details »»
|
||||||||||||||||||||||||||||||||
|
AP Lightweight Performance Statistics
Developer Last Online: Jan 2022
This is a very lightweight hack that adds basic page performance statistics to each page display.
It only displays for Moderators and Admins, as we don't want the unwashed masses to see this information.Installation: Install the product file from AdminCP Displays as the last line of the page: Quote:
There are 3.x hacks like this that do more, the trade off being this is very low impact. 2.0.1 Removed can_moderate and added AdminCP option that allows you to set the user-groups that can see the statistics 2.0.2 Added uptime (Linux only) 2.0.3 Phrased and fixed to handle no available uptime in Linux 2.0.4 Added options MySQL uptime - optional - requires MySQL 5.1.12 or higher - off by default - adds one query per page if turned on 2.0.7 Minor updates as implemented on my site Enjoy! Kym Download Now
Show Your Support
|
||||||||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
|
|
#3
|
|||
|
|||
|
Do you have a demo or pics?
|
|
#4
|
||||
|
||||
|
I posted a screen shot in post 1
|
|
#5
|
||||
|
||||
|
Where is it coded to only show to Admin and Moderators?
Never mind I found it, if (can_moderate()) So this code is marked Re - Usable, can I take the code and add it to another mod I have on my forum, to display there instead? |
|
#6
|
||||
|
||||
|
can_moderate is the condition.
![]() You can take it and change as you need. |
|
#7
|
||||
|
||||
|
Thank you sir, excellent codding btw.
|
|
#8
|
||||
|
||||
|
can_moderate adds a query, you do know that, right?
|
|
#9
|
||||
|
||||
|
Fixed, thanks!
|
|
#10
|
|||
|
|||
|
nice mod, tagged
|
![]() |
|
|