![]() |
ok that sounds resonable enought TECK i will rebuild my board from scratch and this time i will be more carefull on installing hacks.
thanks |
First off, I love this hack, really great; thank you :)
Now, I have a few comments.. Perhaps they have been covered, but I don't want to read through all of the many posts in this thread.. How does vBulletin figure out how many queries were executed? I am trying to write a script for my main site, but this is stumping me... vbMicroStats uses @exec("uptime") to figure out the load. The problem is, many professional servers disallow the httpd/www-data user (Might be called something else, but it's the one that Apache spawns under) from executing things such as system() or exec() for obvious security reasons, you would have near-root permissions. On my server, this is the case. Here's what I came up with the get around it; Perhaps not as clean as yours, but it works :) File: FORUM/admin/functions.php PHP Code:
PHP Code:
|
If I'm correct, that won't work in safe mode...
|
I cant get them to show up......
|
ok, my new attach wouldn't show....
|
For those having trouble with the functions.php replacement on 2.3.0 Final, replace your entire dovars section with the following code [it works] (NOTE!: this is for an unhacked vB! If you have modified this section at all with other hacks, don't use this!)
PHP Code:
|
Page generated in 0.09366798 seconds (71.57% PHP - 28.43% MySQL) with 21 queries.
Does that sound accurate? Which is better, more php then mysql or the other way around? |
that looks just fine
|
ok so the reason my serverload is not showing is possibly because my server doesn't allow the @exec("uptime") to be used, at least thats what I have read. If i ask them will they allow it, because I really would like to know what my server load is. Any suggestions on how to get around it?
|
If you have a problem look at the part of the instructions that say
Template: home_microstats Do NOT create a new template called home_microstats *DO* create a template called microstats and bing, your {getmicrostats} will show up! |
All times are GMT. The time now is 02:31 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:
|