![]() |
You can also call it via its own template. use nuno's code then do this
in global.php find PHP Code:
PHP Code:
go to your admin cp and add a new template called uptime and paste this into it Code:
<smallfont>System Uptime: $wholeday Days $wholehour Hours $wholeminute Minutes in the footer replace this Code:
$copyrighttext<br> Code:
$copyrighttext<br>$uptime untested but sould work :) |
How would I use this in the admin cp in the index file? It doesn't seem to like it when I try to call it from phpinclude...nothing show up.
|
Has anyone come up with a way to do this
https://vborg.vbsupport.ru/showthrea...264#post267264 |
Do the following:
In your admin/index.php add this: Code:
//Server Uptime Code Code:
makelabelcode('MySQL', 'v' . $mysqlversion['version']); Enjoy! :) Quote:
|
Cheers Boofo
Worked like a charm :) Quote:
|
I'm also working on an extention to the Quick Stats that will give you even more information. This is just a start.
Code:
Server Type Quote:
|
Looks pretty cool so far
Good luck :) |
Here's the top part of it that I have done and working so far. It is in a table like the Quick Stas but shorter. :)
vBulletin Extra Options Menu vBulletin Options Modify Replacements Private Messages View Main Forum View Memberlist Run a SQL query Modify Templates Spin Threads New Message Posts View Online Users Quick Template Search |
jus moved my forum over to a new forum, and now the uptime is stuck on my last server's uptime, any suggestions
|
Use myphpadmin and go to the table and delete the row, I think. Look in the database and it should be pretty self-explanatory.
|
All times are GMT. The time now is 09:29 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|