The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
i'd like to see a sample guide available on how to create cpnav_productname
within the helpguide for custom MODs i've been trying for ages and there isnt a guide available with step by step with example |
|
#2
|
||||
|
||||
|
This is very, very basic - cpnav_productname.xml:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<navgroups product="product_id" master="true">
<navgroup phrase="default" permissions="canadminstyles" displayorder="15">
<navoption displayorder="10">
<phrase>added_phase1</phrase>
<link>link.php?do=something</link>
</navoption>
<navoption displayorder="20">
<phrase>added_phase2</phrase>
<link>link.php?do=something2</link>
</navoption>
</navgroup>
</navgroups>
product_id - is the product id from your product default - these are phrases. I think they need to be global phrases canadminstyles - your permissions for who can see this 15 - the display order - you can see what the default ones for vbulletin are in the cpnav_vbulletin.xml file |
| 2 благодарности(ей) от: | ||
| TheLastSuperman, TheSupportForum | ||
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|