The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Conditional on the 'New Thread' button in FORUMDISPLAY
I've got the Event Forums 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 Code:
<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> Code:
<if condition="!$show['neweventlink']"><a href="newthread.php... |
#2
|
|||
|
|||
This should work:
Code:
<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> <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> <else /> </if> </if> |
#3
|
|||
|
|||
works great, thanks!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|