Quote:
Originally Posted by Adrian Schneider
Templates get compiled when you save into actual PHP code, and evaluated before it gets to global_shutdown.
global_start (or vb4 equivalent)
PHP Code:
echo $vbulletin->templatecache['TEMPLATE_NAME']; exit;
See what that prints out, and you'll have to do str_replace() on that variable, rather than $output.
|
That gave me a blank white page
Quote:
Originally Posted by Adrian Schneider
PHP Code:
$vbulletin->templatecache['postbit'] = str_replace( $find, $replace, $vbulletin->templatecache['postbit'] );
--------------- Added 04 Jul 2011 at 21:13 ---------------
Alternatively, you could probably do it all in PHP.
Once you've rendered it once, set $post['signature'] = '';
|
And you lost me there lol