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 09-18-2012 11:15 PM

This has been sorted on the your site, your style is showing correctly now.

Chris

MacroPhotoPro 09-25-2012 08:31 PM

Quote:

Originally Posted by DragonByte Tech (Post 2316634)

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 for Full Membership</a></li>
        <vb:else />


Hello again Chris;

You were kind enough to help me last April (as depicted above), but I have since upgraded to from VB 4.1.11 to VB 4.1.20 ... and the Activity Stream and Navigation Manager ransacked all of my custom tabs. Fortunately, I have fixed all of them all now--except for my subnavigation links associated with my Home/CMS Tab.

I tried to re-follow this advice you gave me several months ago, of putting the above code into my vbcms_navbar_link, but it doesn't seem to be working with this iteration of VB.

Any ideas on how to add the following sub-navigation links to my Home Tab that will globally affect all of my CMS in VB 4.1.20?:

Code:

<li><a href="calendar.php">Calendar</a></li>
<li><a href="faq.php">FAQ</a></li>
<li><a href="groups.php">Groups</a></li>
<li><a href="payments.php">Subscribe for Full Membership</a></li>

Thanks again for all your help!

Jack

DragonByte Tech 09-26-2012 12:18 AM

Have you tried adding them to the Navigation Manager directly?

Chris

MacroPhotoPro 09-26-2012 12:20 PM

Yes, but the Navigation Manager won't let me do it. I have to go into each CMS document and add sub-nav links, but those links are pre-set to be "categories" of CMS documents, I cannot custom add my payments.php page.

Was hoping you might know a template workaround like the other one ...

Jack

DragonByte Tech 09-26-2012 07:23 PM

Off the top of my head no, I have not looked into it to much since they switched to the Navigation Manager

Chris

MAME 09-27-2012 03:48 AM

1 Attachment(s)
I added the hack and made the modification to the navbar, but when I look under the menu, I have no options. Please see screenshots. Any ideas?

DragonByte Tech 09-27-2012 09:28 AM

The blank page is that when you click on the Navigation Manager? The second screen shot is right, that is all the setting that should be in that menu.

Chris

MacroPhotoPro 09-27-2012 11:41 AM

Quote:

Originally Posted by DragonByte Tech (Post 2368801)
Off the top of my head no, I have not looked into it to much since they switched to the Navigation Manager
Chris

I understand.

The "Welcome" subnavigation link is globally displayed on all content.php documents, so I figure there has to be a corresponding template to which a few other subnav links could be added for global display also, like last time.

Just thought you might know and thanks anyway :)

Jack

MAME 09-27-2012 02:49 PM

Quote:

Originally Posted by DragonByte Tech (Post 2368943)
The blank page is that when you click on the Navigation Manager? The second screen shot is right, that is all the setting that should be in that menu.

Chris

Yes the blank page is when I click on General Settings under vbtabs on the left side of the admincp.

Am I in the wrong place?

DragonByte Tech 09-29-2012 05:25 PM

Quote:

Originally Posted by MAME (Post 2369014)
Yes the blank page is when I click on General Settings under vbtabs on the left side of the admincp.

Am I in the wrong place?

If you pm me a admin account and ftp info I can look into it for you.

Chris

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

WorldCraft 10-14-2012 01:23 AM

I've had issues with modifications in the past that add custom stylevars. The last mod that I installed that added custom stylevars ended up overwriting everything, giving me a completely blank stylevar list: http://gyazo.com/5a1122bd80167e9f33c...389?1349593243

^The above is what happened to me, and I was told by the makers of that mod that it was a bug with vB itself. I've since restored my stylevars, but will a similar issue occur with this mod?

DragonByte Tech 10-14-2012 02:27 AM

I have not seen this happen on any sites as of yet. With this mod or any of our other mods, and that entails thousands of installs. But if you want to be safe try it out on a test site that is a copy of your live site. I would be interested to know which mod that was that caused that

Chris

tuRiver 10-28-2012 10:04 PM

I want to display directly the content of the "forum" tab, is it possible? Without having 2 navbars

DragonByte Tech 10-28-2012 10:24 PM

I am not sure what you mean, could you clarify.

Chris

tuRiver 10-28-2012 11:05 PM

Sure Chris, sorry

I actually have (by default)

Activity and Forum items on the main navbar

Inside Forum activity, there are listed all the links i 'm interested in

So, i want that items to be on the main navbar always

Is it possible?

Thanks in advance

DragonByte Tech 10-31-2012 02:45 AM

Which version of vBulletin are you running?

Chris

SpikedRocker 11-04-2012 08:33 PM

Trying to figure out what style var the dropdown menu items use. Our dark theme makes it hard to read the dropdown items.

DragonByte Tech 11-04-2012 11:45 PM

If you are talking about the text that uses the stylevar, popupmenu_link_color found in the group PopupMenus.

Chris

tuRiver 11-04-2012 11:55 PM

Quote:

Originally Posted by DragonByte Tech (Post 2377191)
Which version of vBulletin are you running?

Chris

4.2

DragonByte Tech 11-05-2012 12:04 AM

Quote:

Originally Posted by tuRiver (Post 2378433)
4.2

Then you would have to disable them in the Navigation Manager, and make them as tabs instead of sublinks.

Chris

SpikedRocker 11-05-2012 11:55 PM

Quote:

Originally Posted by DragonByte Tech (Post 2378430)
If you are talking about the text that uses the stylevar, popupmenu_link_color found in the group PopupMenus.

Chris

I did this but it did not change the color for some reason. I was able to change the font size so its better, but using a different color would help. http://www.tns-gaming.com is our site and the Features dropdown is where I am having trouble.

I know I did this right because it is showing up on other things that are not related to NavTabs

DragonByte Tech 11-06-2012 12:10 AM

That is the only thing I can think of, unless the custom style is using something different, you could do a search in templates for this:

Code:

.navtabs li.selected .popupbody li
Once you see which templates have that, open them up and then click on find and look for some code that looks like this:

Code:

.navtabs li.selected .popupbody li a {
    text-indent: 0;
    color: {vb:stylevar navbar_popupmenu_link_color};
    background: {vb:stylevar navbar_popupmenu_link_background};
    padding:{vb:stylevar popup_padding.paddingTop}{vb:stylevar popup_padding.units} {vb:stylevar padding};
}

Where it says, color: {vb:stylevar navbar_popupmenu_link_color}; that is the stylevar it is using.

Chris

SpikedRocker 11-06-2012 04:45 AM

I've looked at that and it appeared fine, when I look at the raw code and inspected the element using chrome I am seeing this:

Code:

<a style="color:rgb(0, 0, 0)" href="http://www.tns-gaming.com/arcade.php" target="_self">Arcade</a>
The CSS element is just element.style. It appears its being generated in the code instead of the CSS or a StyleVar. Have no clue why this is that way. Any ideas?

DragonByte Tech 11-06-2012 11:30 AM

Maybe the style coder did not add the code in right, try adding this to your additional.css template in that style:

Code:

.popupbody li a,
.popupbody li label {
    color: {vb:stylevar popupmenu_link_color};
}

And let me know if it works or not, if it don't you can remove that code from the template so it don't cause issues down the road.

Chris

SpikedRocker 11-06-2012 04:59 PM

That didn't work, but I went into the code more and I checked where it was getting all the information. In the includes/functions.php it had the .navbar_selected_popup_body_a_Color stylevar being used. I added that into my additional.css and it didn't work, so I decided to experiement and just changed the code there to a color and it worked.

I hate to do that and I know when you push an update I'll probably have to redo it, but at least I got the result I was looking for. I have no clue why none of the style vars were working.

In further looking, I've discovered I don't have a navbar_selected_popup_body_a_Color stylevar. How can I add one to my style so I don't have to mod your code?

DragonByte Tech 11-06-2012 06:25 PM

It can get a bit complicated, but you can look at this post and see if you can do it, https://vborg.vbsupport.ru/showthread.php?t=233973

I would ask the skin developer to add it as it should be there.

Chris

SpikedRocker 11-07-2012 04:49 AM

Thanks for all the help the past few days!

boss22 11-10-2012 04:24 PM

Used this mod with some another skins (TF_Ideal) and skin is fixed ..when i use this tabs mod skin is totaly destroyed ( fixed become fluid, font sizes, colors and much more) ...when i disabled this mod..skin works fine ... no problems

some solution or help?

regards

bosss

DragonByte Tech 11-10-2012 04:54 PM

Which version of vBulletin are you using, and is the skin available here on vBulletin.org for me to download?

Chris

boss22 11-10-2012 05:11 PM

Quote:

Originally Posted by DragonByte Tech (Post 2380025)
Which version of vBulletin are you using, and is the skin available here on vBulletin.org for me to download?

Chris

Use last version - 4.2.0 PL3 and skin i purchased from themeforest site. Skin is for vb 4.2

i can send skin files - no problem!

regards

bosss


All times are GMT. The time now is 06:58 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.01707 seconds
  • Memory Usage 1,835KB
  • 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_code_printable
  • (4)bbcode_html_printable
  • (9)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
  • (40)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