The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Does anyone know the process for cache'ing a templates in VB3?
Thanks - John |
|
#2
|
||||
|
||||
|
well, you have to add it to the global or action templates array of your file.
then in global.php the templatechache arrays will be merged with the global templates like header/footer or such. then it will look into the stylecache for the corresponding template id's for each template name, and afterwards it will cache the templates into a static array like in vb2. |
|
#3
|
||||
|
||||
|
Check my sig
for some help with vB3 hacking
|
|
#4
|
||||
|
||||
|
How do you figure out which templates are not cached? I have 5 uncached templates. I know 2 of them are from the referals hack.
|
|
#5
|
||||
|
||||
|
Quote:
|
|
#6
|
||||
|
||||
|
Quote:
|
|
#7
|
||||
|
||||
|
ok.. the 5 templates are:
adcolumn_left, adcolumn_right (from the AdColumn v1.0 hack) forumhome_stats_member forumhome_stats_poster forumhome_stats_thread How can I fix these? |
|
#8
|
||||
|
||||
|
can't figure why they uncached. Just checked the global.php and they are listed under $globaltemplates
PHP Code:
|
|
#9
|
|||
|
|||
|
added my 'banner' & 'rightsidebar'.
load times seem increased. was tough to find info on how to do this.. so.. 1) retrieve your global.php from your ftp, in the forum(s) root. (though you might not want to cache it necessarily in global, i chose to. My banners were always running and the rightside bar.) 2) download global.php, open it with editor of choice. 3) search for " // the really important ones " (without the ") 4) input the template you wanted cached. Again i entered my 'banner' and 'rightsidebar'. If im missing something, please someone update me so that im not providing misinformation... Thanks. |
|
#10
|
||||
|
||||
|
<a href="https://vborg.vbsupport.ru/showthread.php?t=79923&highlight=trigunflame" target="_blank">https://vborg.vbsupport.ru/showt...ht=trigunflame</a> --this might help you "speed up" a bit also.
~Curt |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|