The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
¿Why in template postbit I can't call a Custom Template?
I try in Navbar, SHOWTHREAD, etc and work fine, but in Postbit not work It normal that the Custom template can't call in POSTBIT or it's a problem with my forum? Thank You |
#2
|
||||
|
||||
![]()
I have called custom templates from my postbit templates, but I have had to write a plugin to include the template first.
|
#3
|
||||
|
||||
![]()
I do that, my Template work in another template, but not in postbit
I use this manual How To Include A Custom Template Via Plugins I repeat, Work fine in another template, but no in Postbit thank you |
#4
|
|||
|
|||
![]()
Make sure you are editing appropriate postbit or postbit_legacy template depending on which you are using.
|
#5
|
||||
|
||||
![]()
Yes I only use postbit template, I try write (and Work):
<h1>Hello</h2> I try with (In the same position and not work): $Mytemplate And the template have the same code, I use in another Template and work, only in postbit don't work --------------- Added [DATE]1213406136[/DATE] at [TIME]1213406136[/TIME] --------------- I try use Autotemplate and not work Code:
$vbulletin->templatecache['postbit'] = str_replace('<div id="post_message_$post[postid]">', '<div id="post_message_$post[postid]">'.$vbulletin->templatecache['DioAdsensePrimeroUltimoPost'],$vbulletin->templatecache['postbit']); $vbulletin->templatecache['navbar'] = str_replace('<!-- / nav buttons bar -->', '<!-- / nav buttons bar -->'.$vbulletin->templatecache['DioAdsenseNavbar'],$vbulletin->templatecache['navbar']); I Try this in 3 diferents Forums and always the same, not work in Posbit |
#6
|
||||
|
||||
![]()
Have a look at the template hooks inside the templates. Most likely, you will find a location you can use.
|
#7
|
|||
|
|||
![]()
What are the hook locations and plugin code you are using?
You may need to use [minicode]$GLOBALS[Mytemplate][/minicode] |
#8
|
||||
|
||||
![]() Quote:
Quote:
on GLOBAL_START PHP Code:
PHP Code:
![]() |
#9
|
|||
|
|||
![]()
So did you try $GLOBALS as I suggested?
|
#10
|
||||
|
||||
![]()
Fine!!! that was a solution.... Thank You!
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|