The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Template Replace
Hi,
in vBulletin 3 i use that command on Parse Templates: Code:
$vbulletin->templatecache['TemplateToReplace'] = $vbulletin->templatecache['NewTemplate']; Anyone know how i can do that to vbulletin 4? |
#2
|
||||
|
||||
Make sure you pre-register the variables and render the new template before you replace it. The line you have will work after that.
|
#3
|
||||
|
||||
A quick guide on how to pre-register the variables and render the new template
https://vborg.vbsupport.ru/showthread.php?t=228078 |
#4
|
||||
|
||||
i found the problem, i have mistake on template and now work!!!
thanks for your answers |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|