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
  #2  
Old 12-09-2011, 01:30 AM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

~ ~ ~ ~Reserved ~ ~ ~ ~
Reply With Quote
  #3  
Old 12-09-2011, 02:56 AM
rburns's Avatar
rburns rburns is offline
 
Join Date: Mar 2002
Location: Tonbridge, Kent
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I Like the What's New Button.

Removing it means 2 clicks to see what's new as opposed to one.
Reply With Quote
  #4  
Old 12-09-2011, 05:52 PM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed
thank you
Reply With Quote
Благодарность от:
OldSchoolDSL
  #5  
Old 12-09-2011, 08:06 PM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rburns View Post
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.
Reply With Quote
4 благодарности(ей) от:
Athena1984, Juggernaut, Max Taxable, OldSchoolDSL
  #6  
Old 12-09-2011, 09:39 PM
MechCorps MechCorps is offline
 
Join Date: Dec 2011
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
Благодарность от:
OldSchoolDSL
  #7  
Old 12-28-2011, 05:26 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working

4.1.10

Notice: May need to be re-applied after upgrade.
Reply With Quote
  #8  
Old 01-20-2012, 04:55 AM
RC-Central's Avatar
RC-Central RC-Central is offline
 
Join Date: May 2011
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
Благодарность от:
OldSchoolDSL
  #9  
Old 01-20-2012, 06:44 PM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Attached Files
File Type: xml Remove-WhatsNew2.xml (1.3 KB, 14 views)
Reply With Quote
Благодарность от:
OldSchoolDSL
  #10  
Old 01-23-2012, 03:22 AM
ClErK1991 ClErK1991 is offline
 
Join Date: May 2009
Location: Colombia
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

worked greats marked as install
Reply With Quote
Благодарность от:
OldSchoolDSL
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 11:17 PM.


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.04504 seconds
  • Memory Usage 2,341KB
  • Queries Executed 26 (?)
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
  • (1)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
  • (10)post_thanks_box
  • (12)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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