![]() |
No, it's a Apple Xserve running Mac OS X Server 10.3.3 operating system (Darwin 7.3.0). The microstats for vB 2.x worked perfect on the same server previously.
|
Wow, Apple for a server? Is it a production server? :eek: Anyhow, I'm not too sure, maybe TECK could bring in some insight? :)
|
Quote:
The code was tested also on the final version of VB3. :) |
Microstats works fine for me on vB3 Gold, nice job TECK :)
Bon travaille la, eh? ;) |
Then how come you didn't click install? ;)
|
Quote:
|
You have no idea the joy you've just brought to me. ;)
|
Works Great
Page generated in 0.19956589 seconds (90.55% PHP - 9.45% MySQL) with 13 queries on Forum Home. |
Version 1.2 released... check the first post for more info.
|
Will update, thanks ^^
|
Thanks for the update, Now i don't have any uncached templates, but if i did, how would i go about adding it to the list of cached templates?? Just asking for a push in the right direction, not the outright answer, unless it really is that simple. :)
thanks again. |
Thanks for the update TECK, however your instructions still say Version 1.1 ;)
|
TECK, how can I update from version 1.1?
|
The change is listed in file: FORUM/includes/functions.php (1 change more exacly).
Look at the old 1.1 file and replace the code with the new one. Cheers. |
To update from v1.1 to v1.2, do the following:
In functions.php, find: PHP Code:
PHP Code:
|
Using the code Boofo posted there is no space between the dropdown and the DEBUG status. Just a little thing but I think a space there would make it look better.
|
All I did was post what was changed in the file. ;)
|
Quote:
Look at the global line there. If I would be you, I would replace, in functions.php, the first block of code (first change) to make sure there is no confusion: Code:
function print_output($vartext, $sendheader = 1) Let me know if that makes sense. Thanks Bob. |
Ok, thanks. I was just trying to help. I guess I should have looked for more changes. ;)
|
Quote:
You helped me several times in my threads with bugs, etc. as well others. :) |
Thank you, sir. That's kind of you to say. I enjoy doing what I can, although it isn't much at times. ;)
|
Boofo: It was a good gesture. Upgrade instructions are good.
|
Installed! Thanks! Works like a charm.
|
Great Hack and Upgrade! Thanks Floren!
|
Quote:
|
SafeMode is off, by the way, but I still can't see the average server loads.
If I enter uptime via SSH2 with root I get a result. If I enter it with my website's account via SSH2 I get uptime: command not found, just in case it shouldn't be like this. |
I have a question. How can i "cache" an "uncached" template without installing an update?
|
Turn DEBUG on to find out what template is cached and put it in the templates section at the top of the file for the page it isn't cached on.
The easiest way is to install Teck's update for this great hack and you won't need to enable DEBUG to find out which template isn't cached. The drop down box for the Uncached templates (in the update) will show you the template that isn't cached. ;) |
Quote:
|
Quote:
Once you know the name of the uncached templates, simply add it to $globaltemplates array, present at the top of each .php file in vBulletin. So if in your index.php file, you have 2 unchached templates, look at the top of index.php file and find: Code:
$globaltemplates = array( Cheers. PS. Upgrade, is really easy the change. ;) |
Right, I've updated, but I can't figure out what template is uncashed, there's a 1 next to all of them. See screenshot.
|
Thanks Teck.
I just removed Erwins' stats and installed yours... much more info :D [high]* BarBeQue clicks install[/high] |
PHP Code:
|
Quote:
:): |
Quote:
I noticed that without the update installed, only cause i had the board inactive, and when the board is active i have no uncached templates. |
Quote:
As Christine mentioned, the uncached template is highlighted in blue. The "board_incative_warning" template is not cached for server performace matter, and is not something the VB devs forgot. Let me explain the way it works with the memory server cache so you understand a little better the process. VB software uses/creates a cache, like a sort of temp folder where is stored important information that is used several times, same like in Windows. :) All this information is stored temporarily in the VB database (that is also sanitized on a regular basis by the VB software), so it eliminates the need to scan the tables several times for the same information resulting an increase of the server load. For example, on the forum frontpage, if you open it for the first time, there will be far more queries performed instantly (14 instead of 8), then when you visit it for the second time, due to the cache process, all temporary information is stored in the "temp" database. Now, why all templates are NOT cached? The VB devs created a balance between the software and server. In other words, they used this aproach: If an information is used less then 95% of the cases, there is no need to store it in the server memory/database, because most likely is not very often used, like your "board closed" template. They prefered to trade it for a query, instead of loading it into a temp process, when you use it only once every 500 cases... That's why you will notice some uncached templates sometimes. I hope this information helped you to understand better the cache process. :) |
Quote:
Is extremly intense on the table scans... Holly molly... Quote:
Compare it yourself with any forums page. As soon as you go over 20% MySQL, you got to ask yourself what bad code you added there to perform table scans that generate those results... |
Teck -- So you know, the blue highlighting isn't working in Opera 7.23. It is fine in IE 6 and FireFox 0.8.
Just in case you get any questions from folks who aren't seeing which template is the issue -- it may be their browser. :) |
Quote:
it looks like the vBindex portal, but he has no copywrite info at the bottom, so i dont know. as for the vBindex portal, this is what i get on portal home, Page generated in 6.73733711 seconds (5.21% PHP - 94.79% MySQL) with 17 queries NO Uncached Templates | DEBUG Mode OFF | GZIP ON (level 1) | 0.31 : 0.13 : 0.09 The slow loadtime is only because of the weather block i have on the portal home. if I remove it. Page generated in 3.35731196 seconds (9.05% PHP - 90.95% MySQL) with 17 queries NO Uncached Templates | DEBUG Mode OFF | GZIP ON (level 1) | 1.11 : 0.31 : 0.15 is what i get. I'm sure NTLDR's code is fine. :p but I'm no coder, so i wouldn't know. :D |
Thank you very much TECK, that did help a great deal. You were, I do have 3 categories and 9 forums with 2 sub-forums :)
Thanks a lot again :) |
All times are GMT. The time now is 04:21 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:
|