That syntax was close but did not work.
Try this:
Find:
PHP Code:
$thread['views'] = vb_number_format($thread['views']);
Add Below:
PHP Code:
$forumdata = fetch_foruminfo($thread['forumid']);
If you wanted to add a link to the forum name add this to your template:
HTML Code:
<phrase 1="member.php?find=lastposter&t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase>
in the <a href="http://www.YOUR_SITE_HERE.com/forumdisplay.php?f=$thread[forumid]"> $forumdata[title] forum</a>.