vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Display Enhancements - Whats New - Remove safely (https://vborg.vbsupport.ru/showthread.php?t=275243)

OldSchoolDSL 12-08-2011 11:00 PM

Whats New - Remove safely
 
1 Attachment(s)
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


Code:

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

You are going to wrap it around using this:


Code:

<vb:comment>  </vb:comment>

So when done it will look like this:


Code:

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

Step 3


Look for


Code:

<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


Code:

<vb:comment>  </vb:comment>

So when done it will look like this:


Code:

<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

Quote:

Originally Posted by rburns (Post 2276086)
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

1 Attachment(s)
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

Quote:

Originally Posted by RC-Central (Post 2290113)
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

Quote:

Originally Posted by woffie (Post 2328506)
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 :)


All times are GMT. The time now is 05:28 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01060 seconds
  • Memory Usage 1,758KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete