vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Creating Admin CP options. (https://vborg.vbsupport.ru/showthread.php?t=261098)

SGT.Viper 03-28-2011 11:25 PM

Creating Admin CP options.
 
I am new to moding VBulletin's. I have knowable in PHP and administration of VBulletin's. With that sead I am wighting a mod that is not for the noob at all. this mod is going to require an admin panel like that of downloadsII. can any one point me in the right direction to creating one? I already have the options just not the side bar menu.

Yellow Slider 03-29-2011 12:13 AM

In order to create a new nav group, create a new file called cpnav_product_id.xml:
Code:

<navgroups product="product_id">
    <navgroup text="Group Title" displayorder="10">
        <navoption displayorder="10">
            <text>First Option</text>
            <link>example.php</link>
        </navoption>
        <navoption displayorder="20">
            <text>Second Option</text>
            <link>example.php</link>
        </navoption>
    </navgroup>
</navgroups>

Then upload it to includes/xml.

SGT.Viper 03-29-2011 12:50 AM

Thanks, I am going to give it a shot, and will let you know the results.

--------------- Added [DATE]1301369850[/DATE] at [TIME]1301369850[/TIME] ---------------

I just got it coded and I would like to say. Thanks one more time and that this is something that was a missing link to my project. Now I will be coding for a while and thanks to you... When I get done I plan to release a lite version of it to vbulletin.org and give credit to you for your help, as well as all of you that have helped us all.... Would that be ok?

Yellow Slider 03-29-2011 12:07 PM

Quote:

Originally Posted by SGT.Viper (Post 2178572)
Thanks, I am going to give it a shot, and will let you know the results.

--------------- Added 29 Mar 2011 at 05:37 ---------------

I just got it coded and I would like to say. Thanks one more time and that this is something that was a missing link to my project. Now I will be coding for a while and thanks to you... When I get done I plan to release a lite version of it to vbulletin.org and give credit to you for your help, as well as all of you that have helped us all.... Would that be ok?

You're welcome.


All times are GMT. The time now is 11:18 AM.

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.00965 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete