The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Plugin development: Guide on how to add custom AdminCP Menus?
Hi
I'm looking for a guide or tutorial on how I can manage to add own adminCP menus with my plugin related stuff. For example I want to provide a own box for my plugin in the adminCP menu, make a list where I can add elements and such. I checked the articles section, but didn't find anything about it. Any help on this? (I already know how to develop plugins for vb, but this was limited to some generic preferences within the plugin file rather than real own plugin setting pages) -d |
#2
|
|||
|
|||
You need to create a cpnav xml file for your product. This is done by creating a file in includes/xml called cpnav_yourproductid.xml The contents of the file define the admincp menus heres an example from one of my products:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?> <navgroups product="imhotek_pbpgaming" master="true"> <navgroup phrase="imhotek_pbpgaming_menu" displayorder="25"> <navoption displayorder="1"> <phrase>imhotek_pbpgaming_main</phrase> <link>pbpgadmin.php</link> </navoption> </navgroup> </navgroups> |
#3
|
||||
|
||||
Oh cool, this will help me with the menu.
Is there any way to get easy access to the default vb AdminCP styled lists or tables and such? |
#4
|
|||
|
|||
Take a look at adminfunctions.php in the includes directory; most of the functions used for rendering things are in there
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|