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)

yotsume 12-15-2015 02:23 PM

How do you keep a Tab active when you click on a link under that Tab?
Example I have a Tab called HUB and under that Tab I have a menu i made for Private Messages. When you go to the Inbox link in my menu the Forum Tab becomes active instead of my HUB tab.

So How can I tell the Tab I make to remain active?

Dragonsys 12-15-2015 07:45 PM

Private Messages has a THIS_SCRIPT of private, so using the code we discussed yesterday, make a new plugin and put THIS_SCRIPT == 'private' and $root = your tab

yotsume 12-15-2015 08:01 PM

Oh I see! So my logical next question is... Is there a list of vBulletin functions that use "THIS_SCRIPT"?

I also have the same problem with the forum Tab becoming active when I make my own menu for Settings (edit profile, edit avatar, etc...)

I hope my question is clear...

MarkFL 12-15-2015 08:16 PM

Quote:

Originally Posted by yotsume (Post 2560550)
Oh I see! So my logical next question is... Is there a list of vBulletin functions that use "THIS_SCRIPT"?...

At the very bottom of your "footer" template, add this code:

HTML Code:

<vb:if condition="is_member_of($bbuserinfo, 6) AND $this_script = THIS_SCRIPT">
        <div style="margin-left: 15px; font-weight: bold">
                <h2 class="blockhead"><b>Administrative Script/URI Information</b></h2>
                <div style="margin-bottom: 1em; border: 1px solid #CCCCCC; padding: 5px">
                        <table>
                                <tr>
                                        <td align="right">
                                                Script Name:&nbsp
                                        </td>
                                        <td>
                                                {vb:raw this_script}
                                        </td>
                                </tr>
                                <tr>
                                        <td align="right">
                                                Uniform Request Identifier:&nbsp
                                        </td>
                                        <td>
                                                {vb:raw $_SERVER['REQUEST_URI']}
                                        </td>
                                </tr>
                        </table>
                </div>
        </div>
</vb:if>

The you and your administrators will see the value for THIS_SCRIPT and the URI data for every page.

yotsume 12-15-2015 08:58 PM

Thanks I will give this a try. However, making a menu should not have to be so complicated...

Alan_SP 12-16-2015 10:33 AM

Quote:

Originally Posted by MarkFL (Post 2560553)
The you and your administrators will see the value for THIS_SCRIPT and the URI data for every page.

You can make this into mod, or template modification, this is very useful code.

RichieBoy67 03-28-2016 06:06 AM

When viewing some cms pages I am seeing this:

https://vborg.vbsupport.ru/external/2016/03/4.png

imported_polygrinder 01-03-2018 02:58 PM

Is there any update on this nav system. I had it installed on my forum and I loved it. Just updated to 4.2.5 and now my complete nav sytem is hosed. I cannot create headings.

On the beta's. How do you install them. I don't understand what to do with the files in the "upload" folder.

Any help would be appreciated.


All times are GMT. The time now is 10:23 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.01443 seconds
  • Memory Usage 1,738KB
  • 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_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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