lol, I originally posted it for vb4 then noticed the request was posted in the vb3 section. Anyway, here it is for vb4:
Code:
if ($thread['postuserid'] == $vbulletin->userinfo['userid'])
{
$res = $vbulletin->db->query_first_slave("SELECT COUNT(*) AS count FROM " . TABLE_PREFIX . "subscribethread WHERE threadid = $thread[threadid]");
vB_Template::preRegister('SHOWTHREAD', array('subscribed_count' => $res['count']));
}
Code:
<vb:if condition="$thread[postuserid] == $bbuserinfo[userid]">
{vb:raw subscribed_count} subscribed to this thread
</vb:if>