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)
-   -   Add-On Releases - Important Links In Navbar v3.00 (https://vborg.vbsupport.ru/showthread.php?t=259636)

Mark4865 01-13-2013 07:32 AM

Anyone got the 3.00 version working in 4.2 p3

Arrogant-One 10-13-2013 09:11 PM

1 Attachment(s)
In the screen shot where it has links under the navbar tabs, for example New Posts and Private Messages, how do you get that?

Is adding those links part of this mod, or a different mod?

I have circled what I am talking about in red on the attachment. This is what I want to add to my forum, but I can't find the correct mod.

tbworld 10-13-2013 09:39 PM

Quote:

Originally Posted by Arrogant-One (Post 2453040)
I have circled what I am talking about in red on the attachment. This is what I want to add to my forum, but I can't find the correct mod.

The links you are referring two on the sub-navbar is part of the original vb4 software series. If you are not seeing them, you have either eliminated the links in the navigation manager, have an incorrect permission assigned to them or have altered a template that shows them -- maybe via a MOD.

Disable your plugin system and use the default vbulletin style: to see if they show. If you use v4.2.x series double check that the links and the correct permissions exist in the navigation manager.

Arrogant-One 10-13-2013 10:47 PM

Quote:

Originally Posted by tbworld (Post 2453045)
The links you are referring two on the sub-navbar is part of the original vb4 software series. If you are not seeing them, you have either eliminated the links in the navigation manager, have an incorrect permission assigned to them or have altered a template that shows them -- maybe via a MOD.

Disable your plugin system and use the default vbulletin style: to see if they show. If you use v4.2.x series double check that the links and the correct permissions exist in the navigation manager.

I disabled the plugins by adding the line of text

define('DISABLE_HOOKS', true);

To config.php

I then looked at the default skin. Nothing appeared, although the two tabs in the NavBar disappeared. I use 4.1.12

Please tell me what file to upload to my FTP to solve this problem.

Thank you for your assistance.

tbworld 10-13-2013 11:21 PM

Make sure you have not altered the master 'navbar' template. If you have, you will need to replace that template from the master style. You need to be in 'debug' mode in order to view the master style. Please make sure you have a backup of your site before doing this.

If you need to replace the entire master style, you can do so by using 'tools.php'.
See vBulletin manual for more details.

Arrogant-One 10-14-2013 12:06 AM

Quote:

Originally Posted by tbworld (Post 2453054)
Make sure you have not altered the master 'navbar' template. If you have, you will need to replace that template from the master style. You need to be in 'debug' mode in order to view the master style. Please make sure you have a backup of your site before doing this.

If you need to replace the entire master style, you can do so by using 'tools.php'.
See vBulletin manual for more details.

Thanks for that.

This is what my navbar template looks like:

Quote:

<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:raw navigation}
{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="$stylevar['textdirection'] == 'rtl'">_rtl</vb:if>.<vb:if condition="is_browser('ie') AND !is_browser('ie', 7)">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>
{vb:raw template_hook.navbar_advanced_search}
</ul>
</div>
</vb:if>
</div>
</div><!-- closing div for above_body -->

<div class="body_wrapper">
<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>

ozzy47 10-14-2013 12:18 AM

Revert that template, that code is for vB v4.2.0 and above.

Arrogant-One 10-14-2013 12:21 AM

Quote:

Originally Posted by ozzy47 (Post 2453064)
Revert that template, that code is for vB v4.2.0 and above.

Thanks for your assistance. Just one quick question.

How do I revert the template?

ozzy47 10-14-2013 12:24 AM

When you are viewing the template list, highlight the navbar templat, by clicking on it once, then to the right, under the controls block, click revert.

Arrogant-One 10-14-2013 12:33 AM

Quote:

Originally Posted by ozzy47 (Post 2453067)
When you are viewing the template list, highlight the navbar templat, by clicking on it once, then to the right, under the controls block, click revert.

Okay, I reverted it. Unfortunately it didn't solve the problem. This is the new template:

Quote:

<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:raw navigation}
{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="$stylevar['textdirection'] == 'rtl'">_rtl</vb:if>.<vb:if condition="is_browser('ie') AND !is_browser('ie', 7)">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>
{vb:raw template_hook.navbar_advanced_search}
</ul>
</div>
</vb:if>
</div>
</div><!-- closing div for above_body -->

<div class="body_wrapper">
<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>


All times are GMT. The time now is 02:22 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.01396 seconds
  • Memory Usage 1,766KB
  • 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
  • (7)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