Hmm, I didn't know about the templatecache thing.. neat
Anyway I may have misunderstood, but I don't think that will help. The HTML that is being parsed is not powered by vBulletin (just stored in db).
$somevariable =
HTML Code:
<table align="center" cellpadding="0" cellspacing="0" width="760">
<tr valign="top">
<?php
if ($userinfo['showleftblock'])
{
?>
<td width="{LEFTBLOCKWIDTH}" class="leftblock">
<?php print $leftblockbit; ?>
</td>
<td width="{LEFTBLOCKSPACERWIDTH}"><img src="{SPACERIMAGE}" width="{LEFTBLOCKSPACERWIDTH}" alt="" /></td>
<? }?>
Well I edited it quickly, say if I replaced it like so from the old {if} how would I have it run the PHP while keeping the variable intact? I've never used much of eval before, and I think that's what I need to do. I'm not sure if this makes much sense... :ermm: