View Full Version : How to insert a custom ACP-plugin
NetSlider
05-26-2014, 09:31 AM
Hello,
i want to create an ACp-plugin with an own link on the left side. There should be to pages with lists and other settings. But i don't know how to program this. I think the normal xml-file only insert mods to the vBulletin-Settings area.
greetings
I'm not quite sure what you're saying, but by creating your own xml file in the includes/xml directory named cpnav_****.xml, you can add your own left side menus to the admin cp, or add items to the existing menus. Look at the existing file, like cpnav_vbcms.xml for example, which adds the vbulletin CMS menu.
NetSlider
05-26-2014, 01:44 PM
I want to insert a Link here:
https://vborg.vbsupport.ru/external/2014/05/1.php?fid=72397377
in order to get somthing like this:
https://vborg.vbsupport.ru/external/2014/05/1.php?fid=65537662
Right, so you would create an xml file, name it starting with cpnav_, and put it in includes/xml. Look at the existing cpnav_*.xml files to see the format. The text uses phrases so you also have to create phrases for the options.
The navgroup tag in the xml has a displayorder attribute that you can use to place it where you want. The vbulletin menu has a displayorder=10, so you'd want to choose one that's > 10 but less than whatever dbtech vbshout is using.
NetSlider
05-26-2014, 06:22 PM
Thank you,
should i observe anything while programming the php-file, which belong to it. ?
What about permissions and so on.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.