![]() |
Help converting vb3 template to vb4
I have a plugin that generates the following (snip example) with hook location showthread_complete
Code:
$trailcondition['date'] = vbdate($vbulletin->options['dateformat'], $trailcondition['dateline']); PHP Code:
I tried converting it to: Code:
{vb:raw trailcondition.date}, {vb:raw trailcondition.time} Its like the template doesn't see the variables anymore. Can someone assist? This is just a snip of some of the variables I'm trying to display. --------------- Added [DATE]1278594451[/DATE] at [TIME]1278594451[/TIME] --------------- fixed... I didn't know you had to do this in the plugins: Code:
vB_Template::preRegister('SHOWTHREAD',array('trailcondition' => $trailcondition)); |
All times are GMT. The time now is 09:14 AM. |
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:
|