I hopefully followed the instructions here:
But the thread display doesn't change. My phpinclude_start has:
I added the else clause to make double-sure, because it wasn't working
I added this as debug code to SHOWTHREAD:
and my page source shows:
but the thread displays with the avatar to the left, in legacy form. I do have legacy set as the way to go in the admin control panel.
Thanks as always,
Ed
But the thread display doesn't change. My phpinclude_start has:
PHP Code:
// Example of how to include a separate file:
// ob_start();
// require("yourheader.html");
// $header = ob_get_contents();
// ob_end_clean();
if ($bbuserinfo['field5'] == 'Top')
{
$vboptions['legacypostbit'] = 0;
}
else
{
$vboptions['legacypostbit'] = 1;
}
I added this as debug code to SHOWTHREAD:
Code:
<!-- debug field5 $bbuserinfo[field5] legacypostbit $vboptions[legacypostbit] /debug --> <div id="posts">$postbits</div>
Code:
<!-- debug field5 Top legacypostbit 0 /debug --> <div id="posts"><!-- BEGIN TEMPLATE: postbit -->
Thanks as always,
Ed
Comment