vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   [How-To] Add entries to AdminCP Navigation Menu (https://vborg.vbsupport.ru/showthread.php?t=82698)

cinq 10-07-2005 07:11 AM

Any ideas how to do the same, but to add to the navigation panel in the modcp Kirby ?

Andreas 10-07-2005 09:54 AM

Hook mod_index_navigation

Nullifi3d 10-07-2005 10:34 AM

Is it me or did the last two posts repeat themselves? lol

Andreas 10-07-2005 10:47 AM

No. I just posted the same answer twice, lol.

Allan 10-07-2005 12:02 PM

work with vB 3.5 Gold this ?

Andreas 10-07-2005 03:24 PM

Sure.

cinq 10-07-2005 03:27 PM

Quote:

Originally Posted by KirbyDE
Hook mod_index_navigation

So I just place the code ( for e.g )
Code:

<navgroups product="vbulletin">
        <navgroup phrase="demohack_settings" hr="true">
                <navoption>
                        <phrase>demohack_foo</phrase>
                        <link>demohack.php?do=foo</link>
                </navoption>
                <navoption>
                        <phrase>demohack_modcp</phrase>
                        <link>../{$vbulletin->config[Misc][modcpdir]}/foobar.php</link>
                </navoption>
        </navgroup>
        <navgroup text="Demohack Settings">
                <navoption>
                        <text>Demohack Foo</text>
                        <link>demohack.php?do=foo</link>
                </navoption>
                <navoption>
                        <text>Demohack ModCP</text>
                        <link>../{$vbulletin->config[Misc][modcpdir]}/foobar.php</link>
                </navoption>
        </navgroup>
</navgroups>

as the hook code under plugins group ?

Andreas 10-07-2005 03:27 PM

No :)
Hooks are only for PHP Code, not for XMLs ...

WNxWakko 10-09-2005 12:41 AM

what about the modcp, what xml file is the master for that?

Nullifi3d 10-09-2005 03:42 AM

Quote:

Originally Posted by WNxWakko
what about the modcp, what xml file is the master for that?

There isn't one. As stated several time already in above posts:
Hook mod_index_navigation


All times are GMT. The time now is 06:26 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01579 seconds
  • Memory Usage 1,732KB
  • 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
  • (2)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
  • (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