[HOW TO - vB4] Remove the vB Default Navtabs
[HOW TO - vB4] Remove the vB Default Navtabs
Here is a quick article on how to remove some of the default vbulletin navtabs from the navbar template. Removing the What's New navtab: Find (near the top of the template): Code:
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search'"> Code:
<vb:if condition="!$vboptions['selectednavtab']"> Code:
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT == 'search'"> In a default navbar template, after removing the chunk of code above, you should end up with this in the template where the code used to be: Code:
{vb:raw template_hook.navtab_middle} Go to Plugins & Products > Plugin Manager > Product: vBulletin CMS > Navbar: Insert CMS Navbar Entry Plugin is Active: NO SAVE Removing the Blogs navtab: Go to Plugins & Products > Plugin Manager > Product: vBulletin Blog > Navbar: Eval Blog Link Template and Validate Styleid Find and Remove (or comment out): Code:
if (defined('VBBLOG_CACHED_TEMPLATES')) Removing the Forum navtab: Find and remove (starts near the very top): Code:
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search'"> Other related articles of possible interest: [HOW TO - vB4] Create a New Tab in the navbar [HOW TO - vB4] Create your own vBulletin page |
Outstanding Lynne!!! Thanks a lot :)
|
Thanks!
|
Thanks Lynne. Can you tell me how to add Groups and Albums on the main nav bar?
:confused: --------------- Added [DATE]1265671859[/DATE] at [TIME]1265671859[/TIME] --------------- Help - it is not clear to me - which template I should be looking in to get rid of the What's new button. As to my previous question - I got information from another article. Thanks. |
Quote:
|
|
Is it possible to only show certain Navtabs to certain usergroups? for example I have Downloads Tab but only want UG 8 to be able to see the tab, by default right now my navbar is getting cluttered but not all groups need to be seeing all options.
Thanks in advance. |
Quote:
Quote:
|
Thank you~
|
Quote:
|
Quote:
|
Hi Lynn,
That all worked perfectly, thank you very much! :) |
Quote:
Quote:
|
Quote:
The Home and Blog tabs are only going to show if you have the Suite. |
How do you remove the forums link from the CMS nav bar?
|
Another Thank You - worked like a charm.
|
Guys I would like to know how can I use only the CMS without Blog and Forum.
Is there a way I can deactivate the Forum? Thanks... |
Quote:
|
How would I remove the "Projects" tab from the Navbar? I want that only available through the User CP and on in the main navigation.
|
Quote:
|
OH.. I assure you I did do a search before posting the question.... just did another and nothing came up.. I will add some tags when I find it.
|
Quote:
how to disable the link on the navbar? |
Nice article, thanks.
|
Thanks for taking the time in doing this however it is just over my expertese i can't get rid of the whats new stuff! oh well thanks for taking the time.
|
How can i remove this in 4.0.4 What's New tab?
i followed the first part of your instructions but i can't find this part of code (about 2/3 down): Code:
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT == 'search'"> |
This may be beyond the scope of this topic, but I'm searching for a way to completely remove the new "navtap" bar that contains the "Forum" and What's New" tabs and also the Search box.
I wish to completely eliminate the entire bar including its content. What would be a simple way to achieve it? Any ideas? Any links? |
Fantastic ...the whats new tab wasnt needed and this has helped so so much ....thanks a lot Lynne !!!!! cheers
|
Quote:
|
Quote:
|
Hi, Lynne:
Great info! I hope you can help me take the programming changes to the navbar template one step further, by eliminating the entire second row of the navbar altogether. That is, I want to turn this: https://vborg.vbsupport.ru/ into this: https://vborg.vbsupport.ru/ We already have an extensive website that the forum needs to fit into, so the second row just adds confusion to the site given the site's existing headers, search features, and so on. Many thanks, James |
Quote:
|
Tried this in 4.03, didn't like the replacement vb:if statement, some error about it being malformed :o.
I just did the second part with commenting out the large block of code, that did the trick, so now it's outta sight, outta mind ;). Thanks for the tips Lynne :) |
Trying this in vB 4.0.5 and I get this message at the end when trying to save.
adding child to non-existent node! And it doesn't save. I did everything to the key but got that message. |
Quote:
|
Lynne, I get this message:
Quote:
|
Search for that at .com I think it is a bug. I came across it also. Just can't remember what I did to fix it. I think I had to stop saving css as files.
|
Quote:
FYI, on my test site, I have Store CSS Stylesheets as Files set to No. |
Ok i see my error, when i saw this: "a bunch more stuff" I was thinking you meant to skip that stuff and move to the next bit.
|
Quote:
|
Thank You Lynne! :)
|
All times are GMT. The time now is 09:34 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 | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|