vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - vBH-Add new tabs (https://vborg.vbsupport.ru/showthread.php?t=228507)

floydian1 02-13-2011 12:50 PM

Absolutely AWESOME!!!!

Why this was this not included in vbulletin as a standard feature I WILL NEVER KNOW!

floydian1 02-14-2011 10:48 AM

When I click on one of my tabs, the forum tab stays highlighted.
Did I do something wrong?

BlueCheri 02-14-2011 10:52 AM

That would be a great idea :)

Quote:

Originally Posted by floydian1 (Post 2162123)
Absolutely AWESOME!!!!

Why this was this not included in vbulletin as a standard feature I WILL NEVER KNOW!


albanah 02-16-2011 07:52 PM

Quote:

Originally Posted by Mark4865 (Post 2161307)
Tried to install this in 4.1.1 but came up with the error below.

Parse error: syntax error, unexpected '}' in /var/www/clients/client11/web26/web/includes/class_bootstrap.php(412) : eval()'d code on line 113

I edited xml file as discussed in previous post but may have done something wrong there can anyone help by maybe posting an edited copy of xml file so I can try again, really need additional tabs

regards and thanks

It works well with vb 4.1.1
Unfortunately, it does NOT work on vb 4.1.2

Any update ?

Hippy 02-16-2011 10:17 PM

works with vb4.1.2 for me

Mark4865 02-17-2011 09:37 AM

Hello,

Can somepne please give me the exact code I need to install this (once the code that needs removing has been removed please) as I think I am removing the wrong bits and thats why I can get it to work.

Also does this mod have the same highlighting issues all the others seem to have and if so has that not been sorted in 4.1.2

TeknoSounds 02-17-2011 10:54 AM

no issues as far as I'm aware. Most of the highlighting issues come from not properly setting THIS_SCRIPT.

Mark4865 02-19-2011 04:34 AM

hello,

Can somepne please give me the exact code I need to install this (once the code that needs removing has been removed please) as I think I am removing the wrong bits and thats why I can get it to work.

thanks in advance

Replicators 02-19-2011 02:57 PM

As for 4.1.2, if you do not want any other links besides the ones you put in, and also this removes the small menu underneath aswell.

Go into navbar, and replace everything with...

Code:

<div class="navwrap">
    <div class="navL"></div>
    <div class="navR"></div>
    <div class="navC">
<!-- nav buttons bar -->

<div id="navbar" class="navbar">

    <ul id="navtabs" class="navtabs floatcontainer<vb:if condition="$show['member'] AND $notifications_total"> notify</vb:if>">
        {vb:raw template_hook.navtab_start}
        <vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search'">
            <li class="selected">
                <ul class="floatcontainer">
                    {vb:raw template_hook.navbar_start}
                    {vb:raw template_hook.navbar_after_getnew}
                    {vb:raw template_hook.navbar_after_pm}
                    {vb:raw template_hook.navbar_after_calendar}
                    {vb:raw template_hook.navbar_after_community}
                    {vb:raw template_hook.navbar_quick_links_menu_pos1}
                    {vb:raw template_hook.navbar_quick_links_menu_pos2}
                    {vb:raw template_hook.navbar_quick_links_menu_pos3}
                    {vb:raw template_hook.navbar_quick_links_menu_pos4}
                    {vb:raw template_hook.navbar_end}
                </ul>

            </li>
        </vb:if>
        {vb:raw template_hook.navtab_middle}
        <vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT == 'search'">
                    {vb:raw template_hook.navbar_getnew_menu}
                    {vb:raw template_hook.navbar_getdaily_menu}
        </vb:if>
        {vb:raw template_hook.navtab_end}
    </ul>

    <vb:if condition="$vboptions['enablesearches']">
    <div id="globalsearch" class="globalsearch">
        <form action="search.php?{vb:raw session.sessionurl}do=process" method="post" id="navbar_search" class="navbar_search">
            <vb:comment><input type="hidden" name="s" value="{vb:raw session.sessionurl}" /></vb:comment>
            <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
            <input type="hidden" name="do" value="process" />
            <span class="textboxcontainer"><span><input type="text" value="" name="query" class="textbox" tabindex="99"/></span></span>
            <span class="buttoncontainer"><span><input type="image" class="searchbutton" src="{vb:stylevar imgdir_button}/search.<vb:if condition="(is_browser('ie') AND !is_browser('ie', 7) AND !is_browser('ie', 8))">gif<vb:else />png</vb:if>" name="submit" onclick="document.getElementById('navbar_search').submit;" tabindex="100"/></span></span>
        </form>
        <ul class="navbar_advanced_search">
            <li><a href="search.php{vb:raw session.sessionurl_q}" accesskey="4">{vb:rawphrase advanced_search}</a></li>
        </ul>
    </div>
    </vb:if>
</div>


<!-- / nav buttons bar -->
</div>
</div>

<!-- CONTENT -->
<div id="contentL">
<div id="contentR">
<div id="contentC">
<!-- /logo -->
<div style="padding-left:15px;padding-right:15px;">


<div id="breadcrumb" class="breadcrumb">
    <ul class="floatcontainer">
        <li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li>

        {vb:raw navbits.breadcrumb}
        {vb:raw navbits.lastelement}
    </ul>
    <hr />
</div>

{vb:raw ad_location.ad_navbar_below}
{vb:raw ad_location.global_below_navbar}

<vb:if condition="$show['notices'] AND THIS_SCRIPT != 'register'">
    <form action="profile.php?do=dismissnotice" method="post" id="notices" class="notices">
        <input type="hidden" name="do" value="dismissnotice" />
        <input type="hidden" name="s" value="{vb:raw session.sessionurl}" />
        <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
        <input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" />
        <input type="hidden" name="url" value="{vb:raw return_link}" />
        <ol>
            {vb:raw notices}
        </ol>
    </form>
</vb:if>


Mark4865 02-20-2011 04:21 AM

Hello,

I am not looking to change the main Navbar stuff I just want to add this mod but without the copyright link at the bottom that people have complained about in previous posts. I tried to remove it as instructed but messed something up. Can someone who has this working in 4.1.1 please post the xml file with the code removed.

thanks


All times are GMT. The time now is 11:14 AM.

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.01721 seconds
  • Memory Usage 1,767KB
  • 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
  • (3)pagenav_pagelinkrel
  • (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