The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
im on vbull 3.8.1
and i have uncached templates on forumindex,does anyone know how i can cache them. The templates which are showing up uncached are ones ive added myself so any help would be appreciated. |
#2
|
|||
|
|||
![]()
Read that article, roughly in the middle of the article.
https://vborg.vbsupport.ru/showthread.php?t=62164 |
#3
|
|||
|
|||
![]()
65 pages is a lot to read m8
|
#4
|
|||
|
|||
![]()
The first box gives a description of how to add templates to cache them, you can also use a plugin to cache the templates.
|
#5
|
||||
|
||||
![]()
hook location - cache_templates:
PHP Code:
|
#6
|
|||
|
|||
![]()
Lynne
im actually after caching templates that the link above points to as im using that to display external pages. I know u done about hooks so do i just add that to the php file etc ?? |
#7
|
||||
|
||||
![]()
Just change:
PHP Code:
PHP Code:
|
#8
|
|||
|
|||
![]()
cheers will do
--------------- Added [DATE]1234209531[/DATE] at [TIME]1234209531[/TIME] --------------- dont follow - do i add this into the actual PHP file ? |
#9
|
||||
|
||||
![]() |
#10
|
||||
|
||||
![]()
Yes, a create a plugin (Plugins & Products > Add New Plugin) using the "cache_templates" hook location.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|