Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

Reply
 
Thread Tools
Whats New - Remove safely Details »»
Whats New - Remove safely
Version: 1.00, by OldSchoolDSL OldSchoolDSL is offline
Developer Last Online: Jul 2017 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.1.x Rating:
Released: 12-08-2011 Last Update: Never Installs: 26
Template Edits
Re-useable Code Translations  
No support by the author.

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

Please make installed

Screenshots

File Type: jpg what-new-removed.jpg (24.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
Athena1984, Max Taxable, ToddDuquette

Comments
  #12  
Old 02-01-2012, 02:08 PM
billstelling's Avatar
billstelling billstelling is offline
 
Join Date: Apr 2011
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RC-Central View Post
I want to add things to navbar.
https://vborg.vbsupport.ru/showthread.php?t=233629
Reply With Quote
  #13  
Old 02-04-2012, 05:06 AM
ToddDuquette ToddDuquette is offline
 
Join Date: Dec 2011
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Was wondering how to get rid of that annoying Tab, Kudos. Thanks mate!

(worked on vb 4.1.9)
Reply With Quote
Благодарность от:
OldSchoolDSL
  #14  
Old 02-04-2012, 07:23 PM
Winter Sonata Winter Sonata is offline
 
Join Date: Apr 2010
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Done, worked on 4110 , thanks!
Reply With Quote
Благодарность от:
OldSchoolDSL
  #15  
Old 05-06-2012, 12:43 AM
ibrahimkoky ibrahimkoky is offline
 
Join Date: Apr 2012
Location: California
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed,, nice edit
Reply With Quote
  #16  
Old 05-07-2012, 08:19 PM
Mariner1 Mariner1 is offline
 
Join Date: Jan 2009
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great,thank you
Reply With Quote
  #17  
Old 05-11-2012, 06:12 PM
woffie's Avatar
woffie woffie is offline
 
Join Date: Jan 2009
Location: Michigan
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #18  
Old 05-15-2012, 09:58 AM
merk_aus merk_aus is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 582
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for that I really appreciate your time in writing it up.
Reply With Quote
  #19  
Old 05-21-2012, 02:58 AM
Athena1984 Athena1984 is offline
 
Join Date: Nov 2009
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by woffie View Post
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.
Reply With Quote
Благодарность от:
OldSchoolDSL
  #20  
Old 08-17-2014, 10:24 PM
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #21  
Old 07-17-2017, 02:24 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:19 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06038 seconds
  • Memory Usage 2,337KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (11)post_thanks_box
  • (6)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete