PDA

View Full Version : Forum Display Enhancements - Whats New - Remove safely


OldSchoolDSL
12-08-2011, 11:00 PM
This will remove the "What's New" navigation tab

Safely


No 3nd party modification conflicts
No products to import
No added database query
No CSS issues
Easy to carry over in upgrade


Tested on 4.1.7 , 4.1.8, and 4.1.9 beta 1
Tested on default template and custom templates

Why would you want to remove, "What's New?"


Save server load
Save page load
Improve the layout for a more cleaner look
Make room on the navigation tab for other modifications
Maybe you found a modification that does the same thing, but in a different way


Step 1

Backup your database
------- Something everyone should do no matter what mod, template, or tweak you ever add.


Step 2


In navbar look for the following



<li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_P ost" accesskey="2">{vb:rawphrase getnew_tab}</a></li>



You are going to wrap it around using this:



<vb:comment> </vb:comment>



So when done it will look like this:



<vb:comment> <li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_P ost" accesskey="2">{vb:rawphrase getnew_tab}</a></li> </vb:comment>



Step 3


Look for



<li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum _Post" accesskey="2">{vb:rawphrase getnew_tab}</a></li>



You are again going to wrap it around with this



<vb:comment> </vb:comment>



So when done it will look like this:



<vb:comment> <li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum _Post" accesskey="2">{vb:rawphrase getnew_tab}</a></li> </vb:comment>



Save and reload


In another browser tab or window, check out the results.
If all is well as it should be.... Congratulation you are done :cool:

Please make installed

OldSchoolDSL
12-09-2011, 01:30 AM
~ ~ ~ ~Reserved ~ ~ ~ ~

rburns
12-09-2011, 02:56 AM
I Like the What's New Button.

Removing it means 2 clicks to see what's new as opposed to one.

Dr.osamA
12-09-2011, 05:52 PM
installed
thank you

Rich
12-09-2011, 08:06 PM
I Like the What's New Button.

Removing it means 2 clicks to see what's new as opposed to one.

Then don't install it. Look how simple that was. I can never understand why people like you feel the need to post they don't need a mod. He posted it for people who DO want it.

MechCorps
12-09-2011, 09:39 PM
Removed. Thanks!

It would be helpful for n00bs like me to know that the NavBar can be found here:

Go to AdminCP.
Click "Styles & Templates"
Click "Style Manager"
On your site's style select "Edit Templates"
Scroll down to "Navigation / Breadcrumb Templates" and *double-click* it.
Scroll down to it again and then find "navbar".
*double-click* it or single-click it and then click the "Edit" button.

Then use the "Search in template" box and put the entirety of the lines to find and then click "Find".

Then follow the directions above.


As far as needing the "What's New" button... I don't feel that this should be at the TOP of the site anyway. ;)

I'll put a link to it somewhere else.

Again, THANKS!

OldSchoolDSL
12-28-2011, 05:26 PM
Working

4.1.10

Notice: May need to be re-applied after upgrade.

RC-Central
01-20-2012, 04:55 AM
How does one do the opposite? I want to add things to navbar. I have not found anything for the newer versions of vB. Thanks!

BTW, I did take out the Whats new.. Worked GREAT!

TheSupportForum
01-20-2012, 06:44 PM
if you have TMS installed use this to do the the job for you

ensure you upload it to Mater Style not default, this will then apply to all other templates

ClErK1991
01-23-2012, 03:22 AM
worked greats marked as install :)

billstelling
02-01-2012, 02:08 PM
I want to add things to navbar.


https://vborg.vbsupport.ru/showthread.php?t=233629

ToddDuquette
02-04-2012, 05:06 AM
Was wondering how to get rid of that annoying Tab, Kudos. Thanks mate!

(worked on vb 4.1.9)

Winter Sonata
02-04-2012, 07:23 PM
Done, worked on 4110 , thanks!

ibrahimkoky
05-06-2012, 12:43 AM
installed,, nice edit

Mariner1
05-07-2012, 08:19 PM
works great,thank you

woffie
05-11-2012, 06:12 PM
Wouldnt it be great if VB actually gave you the option to have the what's new tab or not have it. BTW, tried this on 4.1.12 and it did not work.

merk_aus
05-15-2012, 09:58 AM
Thanks for that I really appreciate your time in writing it up.

Athena1984
05-21-2012, 02:58 AM
Wouldnt it be great if VB actually gave you the option to have the what's new tab or not have it. BTW, tried this on 4.1.12 and it did not work.

I have 4.1.12 also and this worked for me.

thetechgenius
08-17-2014, 10:24 PM
I already did this on my forum, and this is the exact same way I did it.

Its good to see people post little How-To's like this. Honestly, I think its the little things like this, that matter the most when your editing/adding things to a style.

OldSchoolDSL
07-17-2017, 02:24 PM
No longer supported as I no longer use vBulletin having moved to both WoltLab Burning Board and Invision Power Board.

I give 100% permission to reuse, modify, improve, enhance, and redistribute this code as freeware to anyone, everyone, and everywhere.

Good luck :)