vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=242)
-   -   [HOW TO - vB4] Remove the vB Default Navtabs (https://vborg.vbsupport.ru/showthread.php?t=234220)

Tariq Waheed 10-15-2010 01:52 AM

How CAN I ADD A Twitter button to my Site on my nav bar?

Lynne 10-15-2010 04:19 AM

Quote:

Originally Posted by Tariq Waheed (Post 2110270)
How CAN I ADD A Twitter button to my Site on my nav bar?

I have no idea and this really isn't the thread to post that question in.

XiTCLUB 10-21-2010 05:35 PM

Done ! Thanks

OurCouponHome 10-21-2010 09:57 PM

Thanks!!

paulnicholson 10-25-2010 03:56 PM

How can I remove 'Forum' tab?

The code for removing 'What's New?'tab seems irrelevant in 4.0.8. Do you have the new code to remove?

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

I think this is the code for vb 4.0.8:

Code:

<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT == 'search'">
                        <vb:if condition="$show['member']">
                        <li  class="selected"><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_Post" accesskey="2">{vb:rawphrase getnew_tab}</a>
                                <ul class="floatcontainer">
                                        <li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_Post">{vb:rawphrase new_posts_nav}</a></li>
                                        <li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_SocialGroupMessage">{vb:rawphrase new_group_messages_nav}</a></li>
                                        <li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_Event">{vb:rawphrase new_events_nav}</a></li>
                                        {vb:raw template_hook.navbar_getnew_menu}
                                        <li><a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:raw bbuserinfo.securitytoken}">{vb:rawphrase mark_forums_read}</a></li>
                                </ul>
                        </li>
                        <vb:else />
                        <li  class="selected"><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Post" accesskey="2">{vb:rawphrase getnew_tab}</a>
                                <ul class="floatcontainer">
                                        <li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Post">{vb:rawphrase todays_posts}</a></li>
                                        <li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_SocialGroupMessage">{vb:rawphrase daily_group_message}</a></li>
                                        <li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Event">{vb:rawphrase daily_events}</a></li>
                                        {vb:raw template_hook.navbar_getdaily_menu}
                                        <li><a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:raw bbuserinfo.securitytoken}">{vb:rawphrase mark_forums_read}</a></li>
                                </ul>
                        </li>
                        </vb:if>
                <vb:elseif condition="$show['member']" />
                        <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:else />
                        <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:if>


theque 12-02-2010 09:02 PM

Thank you! removed whats new in my forum

kfyonur 12-23-2010 01:10 PM

Thank you.

mclarens 12-24-2010 07:30 PM

ok have abit of trouble getting this to work properly.

I get to manage to remove the whats new tab. but then the line under disapear compleetly.ยจ
And i want the home button to stay + the line under the navbar

Anyone who can post theyr text to make this correct or point me to the right direction where i failed?

your24hourstore 12-25-2010 12:58 PM

I want to get rid of the navtab to forum, i don't want to disable forum, just remove the navbar forum tab, i did it by breaking the script but it leaves a blank tab , I then redirected that blank tab to CMS . it does what i need but is their a cleaner way to do it?,

I still want to use forums to post the stuff that will show up in promoted articles and Cms widgets, but no user access to forums, only admin can post, I dont care if they find the forum through the web or even if they goto forum.php, they can have read access but cant post anyway

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

Quote:

Originally Posted by mclarens (Post 2138729)
ok have abit of trouble getting this to work properly.

I get to manage to remove the whats new tab. but then the line under disapear compleetly.?
And i want the home button to stay + the line under the navbar

Anyone who can post theyr text to make this correct or point me to the right direction where i failed?

go in and replace your template with a default version then use this mod https://vborg.vbsupport.ru/showthread.php?t=238187

kfyonur 01-01-2011 09:51 PM

my cms is not active how can i remove the home for vb4.1


All times are GMT. The time now is 02:44 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.01335 seconds
  • Memory Usage 1,747KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete