I am trying to replace the "New Thread" button with a "Place an Ad" button that links to a 3rd party classifieds app, but only in one forum.
My problem is that if I use == I never get the button change (in any forum) and if I use just a single = I get the new button in every forum.
This is the code I'm trying:
Please help!
My problem is that if I use == I never get the button change (in any forum) and if I use just a single = I get the new button in every forum.
This is the code I'm trying:
Code:
<if condition="$forum[forumid]==32"> <a href="www.google.com"><img src="$stylevar[imgdir_button]/placead.jpg" border="0" /></a> <else /> <if condition="$show['newthreadlink']"> <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 condition="$show['neweventlink']"> <a href="newthread.php?$session[sessionurl]do=newevent&f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newevent.gif" alt="$vbphrase[lv_vb_eventforums_phrase_post_new_event]" border="0" /></a> </if> <else /> </if> </if>
Comment