Quote:
Originally Posted by Scanu
Template cache is compiled so this {vb:raw messagearea} becames $messagearea if i'm not wrong.
You can try this
PHP Code:
$vbulletin->templatecache['newthread'] = str_replace($messagearea, '<div class="blockrow">' . $test . '</div>\' . $messagearea . \'', $vbulletin->templatecache['newthread']);
|
You're right. Normally I use preg_replace and compile_template. I forgot the compile_template part.