vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Removing the Forum NavTab (https://vborg.vbsupport.ru/showthread.php?t=269654)

Mickie D 09-04-2011 02:21 PM

Removing the Forum NavTab
 
I know your all thinking there is loads of posts on this and that is true.

However my problem is unique.

I have managed to remove the Forum Navtab from my forums, And I have made my own custom forum tab that drops down.

However when I go too any other page other than the forums (BLogs, CMS, VBGALLERY) it has the forum navtab ?

It doubles up because on the other pages (blogs, CMS, VBGallery) it has two Forum tabs, the one I want to remove, and my custom one.

Cheers if anyone has a solution, or can tell me where to remove the Forum Navtab so its gone for good on all pages.

Mick

Lynne 09-04-2011 02:22 PM

It sounds like you didn't really remove it then. Did you edit out all the forum stuff from the navbar template? And are you using the same style on those other pages or a different style?

Mickie D 09-04-2011 02:27 PM

I am quite sure lynne and thanks for the response.

but not 100% which is the best mod to follow to remove it fully or do you know the exact code to remove ?

Thanks Lynne

Mick

--------------- Added [DATE]1315154637[/DATE] at [TIME]1315154637[/TIME] ---------------

This is the code I removed


<a class="navtab" href="{vb:link forumhome}">{vb:rawphrase forum}</a>

Lynne 09-04-2011 02:49 PM

You cannot just remove that. You need to remove the whole section from:
HTML Code:

        <vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search'">
To:
HTML Code:

        <vb:else />
            <li><a class="navtab" href="{vb:link forumhome}">{vb:rawphrase forum}</a></li>
        </vb:if>


Mickie D 09-04-2011 02:58 PM

Would you not have to also remove the original

<vb:if>

Can you remove an ELSE and the ending IF without the starting IF

Hope that makes sense.

Thanks very much for the quick reply.

Mick

--------------- Added [DATE]1315155745[/DATE] at [TIME]1315155745[/TIME] ---------------

RE-READ your post again and noticed you said remove the whole area FROM

Sorry Lynne

My bad

Works like a charm :)

Thank you very much

Mick


All times are GMT. The time now is 07:19 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.01462 seconds
  • Memory Usage 1,715KB
  • 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
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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