vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   ACP Navigation Organization (https://vborg.vbsupport.ru/showthread.php?t=319630)

KGodel 07-26-2015 07:59 PM

ACP Navigation Organization
 
It would be great if there was a mod that allowed you to easily reorder/sort the navigation for your ACP. Obviously you could go in and manually edit every single XML file to get it how you wanted, but a mod would be nifty. :D

KGodel 08-06-2015 03:27 AM

Bump maybe? Anyone have an idea of how to do this so I might work on it?

kh99 08-06-2015 08:18 AM

Are you talking about the menus on the left? If you look at admincp/index.php, the section that starts with comment NAVIGATION FRAME, you'll see it looks for cpnav xml files in includes/xml and parses them to create the menus. Then it sorts the menus and options by display order (an attribute in the xml files). There's a hook before the sort, admin_index_navigation, where you could adjust the display orders if you want. I have no idea what interface you'd use to allow a user to arrange them.

KGodel 08-06-2015 10:20 PM

Yes, the menus on the left. I have edited some, but when a new version comes out, overwritten, so some system to get them in an order would be great. I'll keep trying.


All times are GMT. The time now is 07:27 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.00954 seconds
  • Memory Usage 1,706KB
  • 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
  • (4)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