Ok, here's what I have and it's not working:
php_include_start:
PHP Code:
if( $bbuserinfo['userid'])
{
$record_count = $DB_site->query_first("SELECT count(*) as r_count FROM ". TABLE_PREFIX ."thread WHERE postuserid='$bbuserinfo[userid]' and forumid = '10'");
if( $record_count )
$posted_intro = true;
}
header:
HTML Code:
<if condition="$posted_intro">
<tr>
<td class="vbmenu_option" align="left">Posted</td>
</tr>
<else />
<tr>
<td class="vbmenu_option" align="left">Not Posted</td>
</tr>
</if>
any ideas?
eric
Ok, i got it now.
I changed the php_include_start to this:
PHP Code:
if( $bbuserinfo['userid'])
{
$record_count = $DB_site->query_first("SELECT threadid FROM ". TABLE_PREFIX ."thread WHERE postuserid='$bbuserinfo[userid]' and forumid = '10'");
if( $record_count['threadid'] )
$posted_intro = true;
}
Thanks for your help!

eric