![]() |
You don't need to remove the if now. It has been fixed. Get the file from the first post.
|
what should i do with this then?
+-----------------------------------------------+ | FINAL STEPS | +-----------------------------------------------+ | The variables you can use are: | | $query_count - number of queries executed (defined in VB) | $msdecimal - number of digits for microtime | $msphp - PHP percent page usage | $mssql - MySQL percent page usage | $msdebug - vBulletin DEBUG mode status | $msgzip - GZIP compression library | $msserver - average server loads i kinda dunno what to do with it {ms} just doesn't do a thing, i modified like i should :/ [high]* ChuanSE is a php n00b :p[/high] |
Quote:
|
well ok, but it doesn't work :(
|
It doesn't show up?
|
nope, see here http://puredj.net
|
Works great, thanks a lot TECK. :)
|
This one does as well, you can only blame yourself for not following the instructions carefully.
|
Quote:
|
installed :)
nice one |
Quote:
|
Quote:
My point was just that he shouldn't bash the hack author and hint that the hack isn't working when it's actually an error on his end. Read his post above (#49) and you will see my reasoning for it. We've all made mistakes when installing hacks, but before claiming something is wrong with a hack, try it once again. I try to help people as often as I can, or well I did back when I was active. Bye. |
Hello, my friend. Sure I rememeber you. It HAS been a while. I've missed you posting. Glad to have you back. ;)
That message was not directed at you mostly. And I understand what you are saying. And I also remember when I first started here, I made mistakes and blamed the author, and I was also wrong in doing that. But when you are first starting out hacking vBulletin, we all have done that, in one way or the other. All I'm saying is that we need to remember back when we were newbies and give these new guys a break. It's better to say nothing than to criticize, you know what I mean? There's too much newbie-bashing going on here anymore. ;) |
Quote:
Nice to see that you fix it... however, 14 queries of frontpage? Instead of 8? Have you added several hacks? Make sure you don't have any uncached templates... |
Quote:
And I'm glad you got the hack working, ChuanSE. :D |
Teck, do the server load averages measure what my site is doing to the server or the overall server load of all accounts on it? Because my server load has jumped up to 1.10 in the last day or two. ;)
|
Quote:
|
I already read that. I was just wondering why it would jump from .08 to 1.10 in just a day. It has never been that high. And also, do those server loads just mean my site or do the server loads represent all the sites that are on the server?
|
I think it is a overall serverload, not only the board running on it if you installed more...
|
Quote:
But what do you mean with the uncached templates? What can i do about it? I think there is one on the mainpage, but indeed, several other hacks are installed :) Quote:
|
Little esthetic change, to display the number of unchached templates...
Change this code part: Code:
if ($_TEMPLATEQUERIES) |
Hey Teck,
I don't really understand what i should change? the code to change is the code that i allready have changed 3 days ago.... Unless i'm not seeing the difference ofcourse this is what i have: Code:
$mstemplates = 'NO Uncached Templates | '; |
If you have this already in your functions.php, you are set to go. :)
No need to change anything... About your site: 1 Uncached Templates | DEBUG Mode OFF | GZIP ON (level 5) | 0.09 : 0.08 : 0.20 You have one template, not cached, that means you perform one query extra because the template name is not part of the cache array. Also, I would switch the GZIP to level 1, 5 will slow down your server, IMO. Server load averages gives me the hint you are on a dedicated server, that means you are rich... :D |
Ah Teck,
thx for this tip mate... I'm gonna try to find which template isn't in the cache aray allright. ABout the gzip level. It seems logic indeed that 5 would slow down the server a little, but i was wondering.... it speeds up the page for the users then? I always wondered what the best setting would be, so i took the middle :) Gonna try it with level one now and will see if it improves the speed... And yeah, it is a dedicated server allright :D I have the forums / gallery / pphlogger / webmail / irc eggdrop and some other small things running there... But me rich? Naaah :p Good sponsors, yes ;) |
Quote:
|
Problem is: i added like 20 hacks in the last week
Which one would it be then :? |
Turn on DEBEG and it will show you which template isn't cached.
|
Quote:
|
sorry to be a pain, but i'm encountering an error on line 1843
Code:
$ms .= ' <td class="tcat"' . iif($vboptions['allowchangestyles'], ' colspan="2"') . '><div class="smallfont">'; Code:
Parse error: parse error, unexpected T_STRING in K:\Network\xampp\htdocs\forums\includes\functions.php on line 1843 |
Excellent. :)
I've been looking for something like this for ages and missed this somehow, found it now though and installed perfectly first time. :D |
Thanks TECK.. :)
Erwin's version just didn't feel right without the MySQL and PHP percentage.. Heh. |
Quote:
PHP Code:
|
Quote:
Quote:
Something is wrong with the code, you cannot have either the $totaltime or $querytime as zero. |
Ok i got it to work i edit this line
PHP Code:
|
Hmm, really wierd.
The vb_number_format() is the same like number_format(), except with a little cleanup/replace in chars... use it this way if it's working for you. :) |
I confirm, that I have the same division by 0 error. After changing the code as suggested by Tarion it works.
Anyway: Installed :) |
Thanks for the input JoergZ.
Let's see if other people will have the same problem... I will post a link to his fix (link added to first post). :) Thanks for helping. |
Hi Tech, and thanks for porting this. One of my alltime favorites!
Edit: Nevermind -- I got it working. :) |
Installed and double checked the modifications, but still getting wrong result in PHP and MySQL percentage:
Code:
Page generated in 0,24497795 seconds (0,00% PHP - 0,00% MySQL) with 11 queries Thanks! r.cakir |
Quote:
|
All times are GMT. The time now is 04:20 AM. |
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:
|