![]() |
?Why in template postbit I can't call a Custom Template?
¿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 |
I have called custom templates from my postbit templates, but I have had to write a plugin to include the template first.
|
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 |
Make sure you are editing appropriate postbit or postbit_legacy template depending on which you are using.
|
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']); I Try this in 3 diferents Forums and always the same, not work in Posbit |
Have a look at the template hooks inside the templates. Most likely, you will find a location you can use.
|
What are the hook locations and plugin code you are using?
You may need to use [minicode]$GLOBALS[Mytemplate][/minicode] |
Quote:
Quote:
on GLOBAL_START PHP Code:
PHP Code:
|
So did you try $GLOBALS as I suggested?
|
Quote:
|
All times are GMT. The time now is 10:26 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|