The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#5
|
||||
|
||||
![]()
How many users? if it's only one or two then wrap the "New Thread" code in conditionals like this
find in forumdisplay HTML Code:
<if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]" rel="nofollow" class="newcontent_buttons">Start New Thread</a><else /> </if></td> <if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if> HTML Code:
<if condition="in_array($forum['forumid'], array(1,2,3))"> <!-- Show this to forum 1, 2 and 3 --> <if condition="$bbuserinfo['userid'] == 1"> <if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]" rel="nofollow" class="newcontent_buttons">Start New Thread</a><else /> </if></td> <if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if> </if> <else /> <if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&f=$foruminfo[forumid]" rel="nofollow" class="newcontent_buttons">Start New Thread</a><else /> </if></td> <if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if> </if> EDIT: Never mind, i should learn to read, code now adjusted for vb3 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|