The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Moderator Menu creation
Does anyone have a link to a tutorial on creating a menu in the moderator CP?
|
#2
|
|||
|
|||
You'd need to use the mod_index_navigation hook. Take a look at the index.php file in the modcp directory and search the file for the following to see how they are used to create the side groups. Then make a plugin using the mod_index_navigation hook to add your own side groups.
Code:
construct_nav_option construct_nav_group construct_nav_spacer |
#3
|
||||
|
||||
Calorie beat me to it
|
#4
|
|||
|
|||
A working example from one of my hacks
PHP Code:
Alan. |
#5
|
|||
|
|||
Perfect, thanks all works like a charm!
|
#6
|
|||
|
|||
I'm a little confused about this. Is there a way to use an XML file made for the AdminCP and have it appear in the ModCP?
|
#7
|
|||
|
|||
Unfortunately, no. You have to make a plugin simaler to the one above ^^^ to add menu entries to the ModCP.
Thanks, Alan. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|