m03
02-21-2010, 04:22 AM
Has anyone figured out how to replace a default vbulletin template with a custom one using a plugin? This used to be possible using:
$vbulletin->templatecache['pm_messagelistbit'] = $vbulletin->templatecache['pm_messagelistbit_preview'];
but that doesn't work in vb4 :(
I'm trying to add a pm preview hack to vb4 so I need to replace the default pm_messagelistbit with a custom template automatically.
$vbulletin->templatecache['pm_messagelistbit'] = $vbulletin->templatecache['pm_messagelistbit_preview'];
but that doesn't work in vb4 :(
I'm trying to add a pm preview hack to vb4 so I need to replace the default pm_messagelistbit with a custom template automatically.