![]() |
Is it possible to add the hostname at the bottom? I am running mutiple web servers, it would help me out :)
|
This hack seems not work for vb 3.0.3
Any update for this? Thank's... |
I use also vB3.0.3 and have still this hack installed and works fine.
|
I don't have any problems with vB3.0.3 and this Hack either
What error are you getting? |
I solved my problem.
Sorry for that, :D |
Installed and works fine with 3.0.1. Thanks Tech .. clicked Install
Page generated in 0.25623298 seconds (90.58% PHP - 9.42% MySQL) with 12 queries on main page .. No uncached templates Page generated in 0.29059601 seconds (81.53% PHP - 18.47% MySQL) with 25 queries on CMPS v1.0.0 portal .. 2 uncached templates |
I am coming to my wits end with this script now,
Quote:
Code:
$ms = '<tr align="right">' . "\n"; |
Thanks very much Teck. Have installed and clicked Install.
Using vB3.0.3 and had no problems following the version 1.2 text instructions. I edited using EditPad Lite. It uses Tabs so that you can have two files open and tab between them for easy comparison. I don't use a portal and the stats produced on the forum home page with 6 users and 2 spiders online were: Page generated in 0.13130212 seconds (83.33% PHP - 16.67% MySQL) with 9 queries DEBUG Mode OFF | GZIP ON (level 1) | 0.04 : 0.13 : 0.17 No uncached templates That looks relatively normal for a lightly hacked site without a portal and using a shared server. On one of the Forum Display pages with 6 users online: Page generated in 0.19516301 seconds (79.20% PHP - 20.80% MySQL) with 14 queries Server load: 0.06 : 0.23 : 0.21 No uncached templates You can see that 5 extra queries has increased the server load slightly. The Members List seems to be more server intensive still: Server load: 0.33 : 0.31 : 0.24 with only 9 queries. But still quick loading: Page generated in 0.16052389 seconds (81.20% PHP - 18.80% MySQL) |
Apparently the hack produces invalid stats if MYSQL is compiled in a non-english language. This happens because MYSQL can be configured to use different 'lang_decimalsep' and 'lang_thousandsep' variable values which bothers the number formating through vb_number_format() function.
To fix it, I suggest to find: PHP Code:
and BEFORE that add: PHP Code:
|
On forum home (Admin):
Page generated in 0.11859798 seconds (93.17% PHP - 6.83% MySQL) with 9 queries Page generated in 0.11566091 seconds (92.98% PHP - 7.02% MySQL) with 9 queries On forum home (Guest): Page generated in 0.12545395 seconds (92.30% PHP - 7.70% MySQL) with 9 queries Page generated in 0.11924601 seconds (93.99% PHP - 6.01% MySQL) with 9 queries On vBAdvanced Homepage (Admin): Page generated in 0.16185904 seconds (86.56% PHP - 13.44% MySQL) with 9 queries Page generated in 0.09283090 seconds (91.52% PHP - 8.48% MySQL) with 9 queries On vBAdvanced Homepage (Guest): Page generated in 0.08898401 seconds (93.35% PHP - 6.65% MySQL) with 7 queries Page generated in 0.10263205 seconds (93.28% PHP - 6.72% MySQL) with 7 queries Looks pretty good so far... Let's see how this works later when I add more hacks to it ^^ |
All times are GMT. The time now is 09:28 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:
|