DoctorDoom
02-10-2007, 05:03 PM
I've got the Event Forums (https://vborg.vbsupport.ru/showthread.php?t=123416) hack installed, and there is now a 'New Thread' button and a 'New Event' button in that forum. I only want a 'New Event' button in that forum.
in FORUMDISPLAY there is
<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>
How can I get something like
<if condition="!$show['neweventlink']"><a href="newthread.php...
so that the 'New Thread' button is turned off when the 'New Event' button is true? I'm not up at all on my php or vb syntax. Thanks for any help.
in FORUMDISPLAY there is
<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>
How can I get something like
<if condition="!$show['neweventlink']"><a href="newthread.php...
so that the 'New Thread' button is turned off when the 'New Event' button is true? I'm not up at all on my php or vb syntax. Thanks for any help.