The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
||||
|
||||
![]() Quote:
thnx a lot for your replies as recommended by you. i installed that hack and here is the screenshot for same. it says 2 uncached templates on going to my forums I am not sure, what templates are those :S Please let me know. Regards, Sandy... |
#22
|
||||
|
||||
![]() Quote:
i am glad that you installed the hack. When i look at your page then it seems for me that your board is running fine. You have high PHP and low MySQL usage. This shows that it has nothing to do with any queries. The 2 templates which are not cached should not be a big problem. But the fix for this is very easy: Open the PHP file in an editor and look for the templates variable in there. Usually the global templates variable. After the last template just add your 2 missing templates by adding -> , <- this comma and in the next line the template name. This will not be a big performance boost but it will cache the template. By the way: Will all respect, but i have response times from 0,2 seconds and your site is fast enough. Where is the problem ? On any specific subdirectory or php file ? Because at the moment i would say it is fine. Question: Did you add your microstat variable also into your portal ? It would be nice to see how many queries are run there. The only conclusion would be: Your server has a problem as soon as multiple users access your page simultaneously. If this is the case then it could be your MySQL database daemon. Which version of MySQL are you using ? Cheers, |
#23
|
||||
|
||||
![]() Quote:
![]() i opened index.php and global.php both and edited stuff as you directed me to. here is 1 of the changes i have done in index.php file Original Code Code:
// pre-cache templates used by all actions $globaltemplates = array( 'FORUMHOME', 'forumhome_event', 'forumhome_forumbit_level1_nopost', 'forumhome_forumbit_level1_post', 'forumhome_forumbit_level2_nopost', 'forumhome_forumbit_level2_post', 'forumhome_lastpostby', 'forumhome_loggedinuser', 'forumhome_moderator', 'forumhome_pmloggedin', 'forumhome_subforumbit_nopost', 'forumhome_subforumbit_post', 'forumhome_subforumseparator_nopost', 'forumhome_subforumseparator_post', 'forumhome_vbpopup' ); Code:
Original Code ![]() Microstats on Portal. I am not sure, how to add those there. But if you want/help we can try out that ![]() I am using Virtuanews -> www.virtuanews.co.uk Server Type Linux; PHP v4.3.3; Apache v1.3.29 MySQL v4.0.18-standard PHP Max Post Size 55M MySQL Maximum Packet Size 16.00 MB PHP Memory Limit None Database Index Disk Usage 9.77 MB Sandy... |
#24
|
||||
|
||||
![]() Quote:
You have to to do the following: PHP Code:
Cheers, |
#25
|
||||
|
||||
![]() Quote:
i have added a comma to second last line. |
#26
|
||||
|
||||
![]() Quote:
PHP Code:
PHP Code:
Cheers, |
#27
|
||||
|
||||
![]()
now it shows 1 uncached template
![]() thnx m8 |
#28
|
||||
|
||||
![]() Quote:
this sounds strange. We added both templates into the php file. But it still shows the forumhome_todayloggeninuser template as not cached. Either you typed something wrong or you are not on the index.php file. As soon as you add all templates into the global templates array, all templates should be cached. Please double check again. Cheers, |
#29
|
||||
|
||||
![]() Quote:
with your help all the problem is fixed now ![]() Thnx for modifying my templates Its appreicated, we have users like u on vb.org best regards, Sandy... |
#30
|
||||
|
||||
![]() Quote:
Cheers, |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|