The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am using the following code to change the new thread button depending on the forum. However its breaking my inline moderation. Any advise?
Code:
<vb:if condition="$show['newthreadlink']"><vb:if condition="in_array($GLOBALS['forumid'], array(211,469,450,250,302,303))"><a href="misc.php?{vb:raw session.sessionurl}do=forms" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a><vb:else /><a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_top"><span>+</span> {vb:rawphrase post_new_thread}</a></vb:if></vb:if> Code:
<vb:if condition="$show['newthreadlink']"> <li> <vb:if condition="in_array($GLOBALS['forumid'], array(211,469,450,250,302,303))"><a href="misc.php?{vb:raw session.sessionurl}do=forms" rel="nofollow">{vb:rawphrase post_a_new_thread}</a><vb:else /><a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}" rel="nofollow"> {vb:rawphrase post_a_new_thread} </a></vb:if> </li> </vb:if> Code:
<vb:if condition="$show['newthreadlink']"><vb:if condition="in_array($GLOBALS['forumid'], array(211,469,450,250,302,303))"><a href="misc.php?{vb:raw session.sessionurl}do=formsdo=forms" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_bottom"><span>+</span> {vb:rawphrase post_new_thread}</a><vb:else /> <a href="newthread.php?{vb:raw session.sessionurl}do=newthread&f={vb:raw foruminfo.forumid}" rel="nofollow" class="newcontent_textcontrol" id="newthreadlink_bottom"><span>+</span> {vb:rawphrase post_new_thread}</a> </vb:if></vb:if> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|