The variables that are available to test in the template "if" condition are set in the php code. I looked at showthread.php and noticed that $post has a lot of the thread info but doesn't have the forums id. The forum id seems to be in $thread['forumid']. But that's when the url is 'showthread.php', so you could try that but it might not work for you if the page is not showthread.php.
|