The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Need some help removeing the "what's new" tab - Succes, ty SS
Read down,, post #3
Well i made a product that now have a enable / disable option and removes it from all pages.. adding to vb org aswell, had it tested on other sites than my own aswell. |
#2
|
|||
|
|||
Good question. very good.
|
#3
|
||||
|
||||
Remove these lines form navbar template:
HTML Code:
<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> |
#4
|
||||
|
||||
Ohhh my god... lol
i skipped that one cause i was reading the condition="$show['member']" as a member option only, completely missed elseif.. /doh thank you! |
#5
|
|||
|
|||
Must be some other lines to remove too, because this tab shows up again, for example if you select Quick links=> Todays posts.
I think the best would be to remove the tab completely, especially whe the vBH tab mod is installed: https://vborg.vbsupport.ru/showthread.php?t=228507 |
#6
|
||||
|
||||
Quote:
And i dont have that link Quick links > today's posts.. |
#7
|
|||
|
|||
I still do (have to get rid of it) and on my site it seems that whenever the search page is called, that tab comes back. For example doing a normal site search.
|
#8
|
||||
|
||||
It sounds like you didn't remove the correct code then.
|
#9
|
|||
|
|||
Thats fairly obvios as the "Whats New" tab still apears.
After removing the suggested four lines, no more, no less, from the pagenav file. The "Whats New" tab does NOT apear when browsing the forum but when on the search.php page, the "Whats New" tab still apears. So while the code above (post 3) is right but also other code needs removing, to really remove the "Whats New" tab. There is a section starting on row 9 in the modified code; HTML Code:
<vb:if condition="$show['searchbuttons']">
also thecode starting on the row below HTML Code:
{vb:raw template_hook.navtab_middle} HTML Code:
{vb:raw template_hook.navtab_end} I'm a newbie here so don't take my word for it. However I would really prefer a CP function to edit the whole navbar.... |
#10
|
||||
|
||||
IF it still appears after you removed those lines, then you have something interfeering..
Checked all links, sinse i removed those lines, and its gone. Please stop bumping my thread,, Lock please! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|