![]() |
Template modifications - server intensive?
Hello all!
I was just wondering if template conditionals would be CPU intensive? My hosting company just contacted me and said that my showthread.php is consuming a lot of CPU resources. Would something like: < if member id is 1, then background colour = blue, else background colour = normal.> Moreover, would something like: <if threadid = 5 or threadid =10 or threadid = 50, then background colour = red else if threadid = 125 or threadid = 234 background colour = yellow else background colour = normal.> Would the above codes be CPU intensive? I have 4 days to rectify this or they'll terminate my VPS <_< Thank you in advance :) |
If you are on a VPS and can't handle those kind of calls you really need to change hosts.
|
Hmm thanks for that, Brandon. Maybe its one of the mods.
The current MODs im using are: Change Posts Owner 1.8.0 Code:
Colors For Usergroup In Forum Display 1.0.0 Would the Yet Another Award System be the culprit? or the vBcredits items showing on each page? I've been with LunarPages before but was on a shared hosting environment and they said I was consuming too much CPU resources. So I moved to InMotion hosting with a VPS package, thinking the VPS would be enough to sustain technically any MODs. So according to Brandon, the template edits are fine.. |
Bump. Still need help with that =/
|
Feel free to disable the modifications relating to showthread.php and see if your CPU load lowers.
|
Aiight, thanks for that James.
Now they're telling me Quote:
|
Some form of script? Hmm..
By default, vBulletin doesn't run very server-intensive scripts. Disable all your modifications, either manually or by inserting the following code into your config.php right under <?php PHP Code:
|
All times are GMT. The time now is 07:39 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:
|