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)

DragonByte Tech 04-04-2012 08:56 AM

In that template which is for the Forums Tab yeah, it is in the wrong place, move it to,

After this line:
HTML Code:

</vb:if>
Before this line:
HTML Code:

<vb:if condition="$show['canviewforums']">
For the Home tab,in this template,vBulletin CMS Templates, vbcms_navbar_link find:
HTML Code:

            </vb:each>
        <vb:else />

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

            </vb:each>
<li><a href="payments.php{vb:raw session.sessionurl_q}">Subscribe</a></li>
        <vb:else />

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

Shill360 04-04-2012 11:34 AM

Will this mod let me display a drop down menu on vbulletin cms for categorys under sections on the cms nav bar ?

MacroPhotoPro 04-04-2012 12:46 PM

Thank you so much for your time Chris, these did the trick!

On the Forums Tab, I had to re-adjust a bit and actually place the link here:

Code:

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

but I would have had no idea what to put, nor the first clue where to put it, without your guidance. The Home and Blogs Tabs worked perfectly.

Thank you sincerely again :)

Cheers,

DragonByte Tech 04-04-2012 03:56 PM

Not a problem, glad to help. :)

DragonByte Tech 04-04-2012 03:59 PM

Quote:

Originally Posted by Shill360 (Post 2316653)
Will this mod let me display a drop down menu on vbulletin cms for categorys under sections on the cms nav bar ?

It's possible but you would have to remove the default Home Tab, then make a Dropdown Tab with the mod, and add items to that tab.

Or you could leave the Home Tab intact and do as described.

Chris

Mukashi 04-06-2012 10:12 AM

Given that this mod (or the pro version of it, at the very least) evidently can talk to the other DBT mods somehow...would it be possible for this mod to let us specify the position of the tabs added by other DBT mods (or maybe even edit those tabs and their menus) at all? I've got a situation where the tab for the arcade is stubbornly staying to the far left next to the forum tab, whereas I'd prefer it on the far right, and I can't figure out how to change that.

DragonByte Tech 04-06-2012 10:43 AM

Not at this time, but you can disable the default tab that came with the arcade and make the tab with the mod, then you will have full control over it's location.

To turn off the arcade tab go to DragonByte Tech: vBArcade - General Options and set Enable Navbar Tab to no.

Chris

Mukashi 04-07-2012 12:32 AM

I suppose that works. I don't see the Arcade having any sub-menu, after all. Thanks.

DragonByte Tech 04-07-2012 12:47 AM

If it did ever have any sublinks added to it, you could add those as well with this mod.

Chris

Lpspider 04-27-2012 06:18 PM

With this mod, is it possible to have a tab for a specific forum category, and keep that tab (and only that tab) selected for that forum category, forums, sub forums, and all threads viewed within that forum/category?

I've been looking for this solution for a while. I've tried custom coding it myself, installing other tab modifications, but it just doesn't seem possible.


All times are GMT. The time now is 08:13 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.01504 seconds
  • Memory Usage 1,745KB
  • 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
  • (6)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