PDA

View Full Version : Need some help removeing the "what's new" tab - Succes, ty SS


Vaupell
19 Dec 2009, 10:16
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.

ywwz
19 Dec 2009, 16:36
Good question. very good.

Seven Skins
19 Dec 2009, 16:51
Remove these lines form navbar template:
<vb:elseif condition="$show['member']" />
<li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_Post">{vb:rawphrase getnew_tab}</a></li>
<vb:else />
<li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Post">{vb:rawphrase getnew_tab}</a></li>

Vaupell
19 Dec 2009, 17:34
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!

janaf
21 Dec 2009, 00:40
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: http://www.vbulletin.org/forum/showthread.php?t=228507

Vaupell
21 Dec 2009, 10:32
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: http://www.vbulletin.org/forum/showthread.php?t=228507

nope.. tryed browsing through pages, it dosent show again..

And i dont have that link Quick links > today's posts..

janaf
21 Dec 2009, 14:33
And i dont have that link Quick links > today's posts.. 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.

Lynne
21 Dec 2009, 16:05
It sounds like you didn't remove the correct code then.

janaf
21 Dec 2009, 22:45
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;
<vb:if condition="$show['searchbuttons']">

That if block has to be removed and

also thecode starting on the row below

{vb:raw template_hook.navtab_middle}
to the row above
{vb:raw template_hook.navtab_end}
This includes the lines suggested in post nr 3.

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....

Vaupell
22 Dec 2009, 23:01
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!

Verionia
30 Dec 2009, 00:00
Still appears if I do a site search...

Lynne
30 Dec 2009, 01:10
Still appears if I do a site search...
If you actually removed the tab, then it can't appear again. You must not have removed all the code that makes the tab.

Hoagie
31 Dec 2009, 03:12
this is so weird. I have removed the code......the tab is gone on my forum page...but when you look at the content page (Home) its still there.....

any ideas?

Lynne
31 Dec 2009, 04:13
this is so weird. I have removed the code......the tab is gone on my forum page...but when you look at the content page (Home) its still there.....

any ideas?
You are probably using a different layout on the CMS page. Go to Home > hover over section title > see pencil and click > see what is set for the Style.

carrlos
17 Jan 2010, 05:12
If you only remove those four lines, it will still appear during searches. :rolleyes:

janaf
13 Mar 2010, 18:23
I,m still waiting for a solution. The original proposal only works partly.

The best would be an option to turn this tab OFF/ON somewhere...

Vaupell
13 Mar 2010, 19:10
I,m still waiting for a solution. The original proposal only works partly.

The best would be an option to turn this tab OFF/ON somewhere...

http://www.vbulletin.org/forum/showthread.php?t=238187

janaf
13 Mar 2010, 19:19
Many thanks! Works perfect!

I just did not see your mod before!

AddwireCom
24 Mar 2011, 05:11
i tried removing it, and it screwed with the links, and the forum became nonoperational .. is there just a disable button in the options?

cungchuctanxuan
22 Apr 2011, 17:40
Remove these lines form navbar template:
<vb:elseif condition="$show['member']" />
<li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_Post">{vb:rawphrase getnew_tab}</a></li>
<vb:else />
<li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Post">{vb:rawphrase getnew_tab}</a></li>



thanks

ne_ne
16 Aug 2011, 17:45
^^ Thanks worked fine for me.

This really should be included into the next update. I run a gaming clan and navtabs like this, are not needed in my case. I am sure there are thousands of people in my situation!

Just make like simple :)

sevak
12 May 2012, 14:23
Remove these lines form navbar template:
<vb:elseif condition="$show['member']" />
<li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_Post">{vb:rawphrase getnew_tab}</a></li>
<vb:else />
<li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Post">{vb:rawphrase getnew_tab}</a></li>

thanx....

secondeye
25 Apr 2013, 14:22
Open Admin Cpanel.

Expand: Settings

Click Navigatio Manager

Uncheck What's New Tab