The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am trying to run some things in my template based on the page it is on.
I have been using <if condition="THIS_SCRIPT == 'index'"> I have one for index, showthread and forumdisplay. In both the header and the footer(2x3 for a total of 6), this slows down the loading of the page TREMENDOUSLY. Is there any other faster way to do this? Please let me know. |
#2
|
||||
|
||||
![]()
Using conditionals shouldn't slow down your forum, especially if it's just comparison.
|
#3
|
|||
|
|||
![]()
Well its not any other conditionals, just these specifically. It is slowing it down dramatically, probably 2-3 seconds if not more. I have tested it several times with and without these, the other conditionals seem to be fine. Any suggestions?
|
#4
|
||||
|
||||
![]()
Those are really simple conditions - there are probably thousands if not more that run in the vB. code on every page load. 2 more does nothing.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|