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)
-   -   Administrative and Maintenance Tools - Navigation Manager Enhancements (https://vborg.vbsupport.ru/showthread.php?t=283123)

odln018 06-01-2012 01:07 PM

I am so frustrated with these blasted navbar managers. I cannot seem to get the thing to do what I want.

Even something basic such as the following:

Created a tab called "Arcade", pointed it to Arcade.php, but when I click on it, it goes to the page, but does not highlight the tab.

Second, I created a menu under "forum", called "Admin Tools", added Admincp to it, none of it shows up. I ensured permissions.

Would appreciate any assistance.

hsoen 06-01-2012 01:26 PM

Can this Add-On solve the problem of overlapping nav link menu of Forum tab with iTrader tab for vBulletin 4.2.0?

aae55555 06-01-2012 02:34 PM

Quote:

Originally Posted by odln018 (Post 2335423)
I am so frustrated with these blasted navbar managers. I cannot seem to get the thing to do what I want.

Even something basic such as the following:

Created a tab called "Arcade", pointed it to Arcade.php, but when I click on it, it goes to the page, but does not highlight the tab.

Enter the appropriate "THIS_SCRIPT" value in the navigation manager for that specific tab. In the "Scripts" text field.

If there is no THIS_SCRIPT value on that page, you must add it to the page first using the following syntax as an example:
Quote:

define('THIS_SCRIPT', 'arcade');
Then add "arcade" to the THIS_SCRIPT section ( In the "Scripts" text field.) in Nav Manager. Hope that helps, or at least helps you to do further research.

Andreas 06-01-2012 02:51 PM

Quote:

Can this Add-On solve the problem of overlapping nav link menu of Forum tab with iTrader tab for vBulletin 4.2.0?
That sounds like this Add-on is not compatible with vBulletin 4.2, eg. does not use the Navigation Manager.
Solution:
Wait for an update or disable the affected Plug-in and re-create the navigation in Navigation Manager.

Quote:

Created a tab called "Arcade", pointed it to Arcade.php, but when I click on it, it goes to the page, but does not highlight the tab.
This is the expected behaviour.

The system does not know that it should highlight the tab when the link is accessed.

There are several ways to achieve what you want
  • Set Append Tab id = Yes
    This changes to link to arcade.php?tabid=<X>.
    When the link is clicked the tabid is recoginzed and the tab does get highlighted
    Pro: Very easy
    Con: You are affectivtely creating duplicated content and it will only work for the tab link itself, if there are links within the tab and the user clicks it the tab will not active
  • Set the script id for the tab
    Pro: No duplicate content, the tab also becomes active if a user accesses arcade.php another way
    Con: You have to find out the THIS_SCRIPT constant for arcade.php it will only work for the tab link itself, if there are links within the tab and the user clicks it the tab will not active
  • Add some Plug-ins to handle tab activation
    Pro: This is the best solution and will also work for links within the tab if coded accordingly
    Con: You will need programming knowledge

odln018 06-01-2012 03:54 PM

Quote:

Originally Posted by aae55555 (Post 2335434)
Enter the appropriate "THIS_SCRIPT" value in the navigation manager for that specific tab. In the "Scripts" text field.

If there is no THIS_SCRIPT value on that page, you must add it to the page first using the following syntax as an example:


Then add "arcade" to the THIS_SCRIPT section ( In the "Scripts" text field.) in Nav Manager. Hope that helps, or at least helps you to do further research.


Great - all set there! Thank you.

Next question:

I'm wanting to have a separate tab, that's essentially a "placeholder" for links.

So, I'd have a tab called "Special Access", then I would have two links for "Jukebox", and "Library".

What I can't figure out is the url. It doesn't have a specific page, and if it requires one, I don't know what I would need to make to create one.

aae55555 06-01-2012 07:50 PM

Quote:

Originally Posted by odln018 (Post 2335482)
Great - all set there! Thank you.

Next question:

I'm wanting to have a separate tab, that's essentially a "placeholder" for links.

So, I'd have a tab called "Special Access", then I would have two links for "Jukebox", and "Library".

What I can't figure out is the url. It doesn't have a specific page, and if it requires one, I don't know what I would need to make to create one.

https://vborg.vbsupport.ru/showthread.php?t=228112

odln018 06-02-2012 12:18 AM

1 Attachment(s)
Thank you, I've made more progress.

My last question (I hope), is that I can't make the tab highlight for some reason.

Screenshots enclosed.

Boofo 06-02-2012 05:57 AM

Andreas,

How do we add a heading and have it still show in a mod if they don't have your mod here installed?

This works with your mod installed:

Code:

'navtype'  => 'heading',

But it doesn't work if your mod is disabled or not installed.

Andreas 06-02-2012 07:09 AM

Quote:

Originally Posted by Boofo (Post 2335701)
Andreas,

How do we add a heading and have it still show in a mod if they don't have your mod here installed?

That is not possible, sorry.

Boofo 06-02-2012 07:35 AM

So, unless they have this mod installed, too, then we need to go another route.


All times are GMT. The time now is 03: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.01582 seconds
  • Memory Usage 1,746KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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