![]() |
What...
You mean : PHP Code:
Satan |
hehe I now that but I dont know how to include it in my footer ;(
|
Now this is a pretty cool idea
Cheers to evryone for their input so far :) Does anyone have an idea on what the best way would be to integrate this with Admin Quick Stats ? This is what currently is displayed in my /admin/index.php http://www.vianet.net.au/~daren/vbul...quickstats.jpg And I would like to add its content directly below -Server Type -MYSQL entries if possible |
Neither way is working.
I tried including it in the footer: how would that work anyway? No PHP parsing down there. I tried parsing the code in the phpinclude-template and then used echo to show the values: there are none. Somehow I just can't get values to show - not even running "uptime.php" directly gives me valid numbers (0 0 0 must be wrong). |
*gee* :eek:
paste this into your phpinclude template PHP Code:
Code:
<smallfont>System Uptime: $wholeday Days $wholehour Hours $wholeminute Minutes |
I told you I did that.
And as I said, it's (still) not working. |
Ok, it's somehow my fault.
I've already got a "script" in my phpinclude-template and it looks like it doesn't really like yours. Any way to let the vB know where one "script" ends and where another one starts? |
Never mind.
I just cut the script there was out and pasted it back in - it seems to work now. Thanks ;) |
How would you make a single variable out of it so you can call it like this:
$sysuptime I'm trying to put it in my Quick Stats in the admin cp. And where would I call the variable from? Still in my phpinclude? Quote:
|
For those that want seconds as well, here you go :)
PHP Code:
PHP Code:
PHP Code:
|
All times are GMT. The time now is 07:04 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:
|