vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   How to insert a custom ACP-plugin (https://vborg.vbsupport.ru/showthread.php?t=311666)

NetSlider 05-26-2014 09:31 AM

How to insert a custom ACP-plugin
 
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

kh99 05-26-2014 11:34 AM

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/...p?fid=72397377

in order to get somthing like this:
https://vborg.vbsupport.ru/external/...p?fid=65537662

kh99 05-26-2014 04:23 PM

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.


All times are GMT. The time now is 07:04 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00962 seconds
  • Memory Usage 1,711KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete