The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I need to remove the "What's New" button on all VB4 pages. I find resources on how to add new buttons, but nothing on how to remove or change the existing ones.
Any assistance appreciated! |
|
#2
|
||||
|
||||
|
Open navbar template.
Find: Code:
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search'"> Code:
<vb:if condition="!$vboptions['selectednavtab']"> Find and Remove.... Code:
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT == 'search'">
<vb:if condition="$show['member']">
<li class="selected"><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Post">{vb:rawphrase getnew_tab}</a>
...
a bunch more stuff
...
</li>
</vb:if>
<vb:elseif condition="$show['member']" />
<li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Post">{vb:rawphrase getnew_tab}</a></li>
<vb:else />
<li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum_Post">{vb:rawphrase getnew_tab}</a></li>
</vb:if>
|
|
#3
|
|||
|
|||
|
I found and changed/deleted as instructed, however, when I saved I received the error:
?else_not_child_of_if --------------- Added [DATE]1263840080[/DATE] at [TIME]1263840080[/TIME] --------------- I found a workable solution at: https://vborg.vbsupport.ru/showthread.php?t=232425 Thanks - Greg |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|