No announcement yet.

How to Add a Custom Menu Group to AdminCP

  • Filter
  • Time
  • Show
Clear All
new posts

  • How to Add a Custom Menu Group to AdminCP

    What: If there are items within the AdminCP which you utilize often and wish to have quick access to, you can create a custom Menu Group which contains items of your choosing.

    Example: AdminCP functions that you use frequently are the Style Manager, Forum Manager, Forum Permissions, Search for User, and Usergroup Manager. Instead of having to navigate to the 'Styles & Templates', the 'Forums & Moderators', the 'Users', or the 'Usergroup' menu groups where the specific functions are located, you can create a custom Menu Group which contains the functions grouped together in one easy to get to location.

    How-to: Paste the below text into an html editor, save as cpnav_my_links.xml and upload to forum/includes/xml. If you are currently viewing your AdminCP, close and restart the browser, login to your Admin CP, and you will see the 'My Links' menu block in the left menu.

    <?xml version="1.0" encoding="ISO-8859-1"?>
    <navgroups product="vbulletin">
    	<navgroup text="My Links" permissions="canadminsettings" hr="true" displayorder="1">
    		<navoption displayorder="1">
    		<navoption displayorder="2">
    		<navoption displayorder="3">
    		<navoption displayorder="4">
    		<navoption displayorder="5">
    The above contains the items mentioned in the example above - for other items, open cpnav_vbulletin.xml (located at forum/includes/xml) and cut and paste the items you prefer. Additionally, if you would like to add your own links, simple replace phrase with text. Example:

    		<navoption displayorder="5">
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.