Quote:
Originally Posted by HMBeaty
Try this: (sometimes && doesn't doesn't play well in templates)
HTML Code:
<if condition="$show['newthreadlink'] AND $forum['forumid'] == 8">
<a href="complaints-suggestions.php" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>
<else />
<a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>
</if>
|
OR
HTML Code:
<if condition="$show['newthreadlink'] AND $thread['forumid'] == 8">
<a href="complaints-suggestions.php" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>
<else />
<a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>
</if>
Replacing $forum with $thread but I believe either should work fine it's vB4 that does not get along with $forum being used within showthread and other if I'm remembering correctly so why we use thread in that situation.