Hey guys, Maybe you can help me out. I'm creating a new condition to be able to use in the postbit template. The condition will be something like this:
HTML Code:
<if condition="$check"><!-- $check holds information --><else /><!-- $check doesn't hold information --></if>
The '$check' variable will be determined like this:
PHP Code:
$checkdata = $db->query_read("
SELECT dateline
FROM " . TABLE_PREFIX . "custom
WHERE userid = " . $vbulletin->userinfo['userid'] . "
AND threadid = " . intval($threadid)
);
Now I want to beable to use that in my postbit_legacy template. Any ideas where in showthread.php to add the PHP code? I've tried ALL avalible hooks and none worked. Thanks