The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
ModCp New Menu Options
Hello,
I want to create a Menu in Moderator CP. Does anyone know how it can be done? Can I extend the current cpnav_product_name.xml like: Code:
<navgroups product="xxxmates"> <navgroup phrase="xxxmates" permissions="canadminusers" displayorder="15"> ........Menu Options Here............ </navgroup> </navgroups> Thank you |
#2
|
||||
|
||||
Do this with a plugin, using the hook location mod_index_navigation
Code:
// Show The View Link construct_nav_option($vbphrase['ozzmodz_watch_list_navoption_view'], 'ozzmodz_watch_list.php?do=view'); // Show The Add Link construct_nav_option($vbphrase['ozzmodz_watch_list_navoption_add'], 'ozzmodz_watch_list.php?do=add'); // Create The Group construct_nav_group($vbphrase['ozzmodz_watch_list_navgroup']); //Lets Be Nice And Add A Spacer construct_nav_spacer(); |
Благодарность от: | ||
Black Snow |
#3
|
||||
|
||||
Quote:
|
#4
|
||||
|
||||
Not a problem.
|
#5
|
|||
|
|||
Thanks for this ozzy47! I was about to ask the same question if I didn't find it in a search.
Is there a way to collate all mods into one nav? For Example OzzModz Mods OzzModz Addon 1 > Addon 1 Settings OzzModz Addon 2 > Addon 2 Settings That way, everytime someone installs one of your mods, they can find all settings under one nav. |
#6
|
||||
|
||||
I don't have many mods in the modcp, but I do have this mod for the ACP, https://vborg.vbsupport.ru/showthread.php?t=305490
|
#7
|
|||
|
|||
I'll have a look at it! Thanks dude!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|