Announcement

Collapse
No announcement yet.

How to Add a Custom Menu Group to AdminCP

Collapse
X
  • 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.

    Code:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    
    <navgroups product="vbulletin">
    
    	<navgroup text="My Links" permissions="canadminsettings" hr="true" displayorder="1">
    
    		<navoption displayorder="1">
    			<phrase>style_manager</phrase>
    			<link>template.php?do=modify</link>
    		</navoption>
    
    		<navoption displayorder="2">
    			<phrase>forum_manager</phrase>
    			<link>forum.php?do=modify</link>
    		</navoption>
    
    		<navoption displayorder="3">
    			<phrase>forum_permissions</phrase>
    			<link>forumpermission.php?do=modify</link>
    		</navoption>
    
    		<navoption displayorder="4">
    			<phrase>search_for_users</phrase>
    			<link>user.php?do=modify</link>
    		</navoption>
    
    		<navoption displayorder="5">
    			<phrase>usergroup_manager</phrase>
    			<link>usergroup.php?do=modify</link>
    		</navoption>
    
    	</navgroup>
    
    </navgroups>
    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:

    Code:
    		<navoption displayorder="5">
    			<text>Google</text>
    			<link>http://www.google.com</link>
    		</navoption>
    Enjoy!

Related Topics

Collapse

Working...
X