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)
-   -   Major Additions - [DBTech] vBNavTabs (https://vborg.vbsupport.ru/showthread.php?t=274972)

MacroPhotoPro 10-08-2012 01:15 PM

Quote:

Originally Posted by DragonByte Tech (Post 2316634)
In that template which is for the Forums Tab yeah, it is in the wrong place, move it to,

For the Blog tab in this template, Blog Templates, blog_navbar_link find:
HTML Code:

        </vb:if>
        {vb:raw template_hook.blog_navbar_end}

Add your code in between those two, so it looks like this:
HTML Code:

        </vb:if>
<li><a href="payments.php{vb:raw session.sessionurl_q}">Subscribe</a></li>
        {vb:raw template_hook.blog_navbar_end}

Chris


Hi Chris,

Regarding the Blog tab in VB 4.1.12, how would I adjust its position manually in this template? Or would I use another?

Cheers,

Jack

DragonByte Tech 10-08-2012 01:38 PM

You want to move the Subscribe link somewhere else in the template? If so just move that bit of code around till you like it's placement.

Chris

MacroPhotoPro 10-08-2012 01:49 PM

Sorry, no, I want to move the Blog tab itself to be somewhere else on the Navbar.

On the template above, where it says

Code:

        </vb:if>
        {vb:raw template_hook.blog_navbar_end}

I tried changing "navbar_end" to "navbar_begin" (middle, etc.) and it never moved.

Was just wondering how to move the Blog tab via the template is all :)

Thanks,

Jack

DragonByte Tech 10-08-2012 02:07 PM

Ahh ok then that would have to be done in the plugin. ACP / Plugins & Products / Plugin Manager then scroll down to Product : vBulletin Blog and find the plugin Navbar: Eval Blog Link Template and Validate Styleid click on that then search for:

Code:

$template_hook['navtab_middle']
Then change middle to start or end and click on save

Chris

MacroPhotoPro 10-08-2012 02:33 PM

Thank you sir!

DragonByte Tech 10-08-2012 02:37 PM

Not a problem, glad to help. :)

Chris

Skyrider 10-11-2012 09:09 AM

I've added 4.2 ONLY, but I only get to see this in the AdminCP:

https://vborg.vbsupport.ru/external/2012/10/50.png
Where is the rest? :o All handled through vB's navigation manager?

While it works adding a tab, using the navigation tab set to your product. I'm unable to add any kind of menu's to the tabs.

DragonByte Tech 10-11-2012 10:35 AM

All the other options now are found in the Navigation Manager by editing / adding the items.

Chris

Skyrider 10-11-2012 10:45 AM

I'm still having problems adding a sub-menu. I can create a tab with ease, however. Creating a submenu / link (dropdown menu) doesn't work what so ever. Doesn't matter what options I choose. Some help would be appreciated. And yes, vBNavTabs (vB 4.2.0+) product is selected.

DragonByte Tech 10-11-2012 07:46 PM

It is a small process but not to difficult.

1) Create a tab.
2) Create a menu for the tab.
3) Edit the tab and the last setting, "Select The Menu To Act As The Dropdown." select the menu you just created, click on save.
4) Add links to the menu you created, these are what will show up as the dropdown items in the tab.

Chris


All times are GMT. The time now is 10:04 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.01397 seconds
  • Memory Usage 1,741KB
  • 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_code_printable
  • (2)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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