Member Log In
Site Navigation
Latest Modifications
- [vB 3.6.x] StopSpam
By: flappi282 - [vB 3.8.x] vBulletin Chat Addon for...
By: 123flashchat - [vB 3.5.x] 404 Page Redirect To...
By: Ak Worm - [vB 3.8.x] 404 Page Redirect To...
By: Ak Worm - [vB 4.0.x] 404 Page Redirect To...
By: Ak Worm
Latest Template Mods
- [vB 3.8.4] Images PassWordBox...
By: cRs!MP - [vB 3.8.4] Footer Follow Ups
By: Ak Worm - [vB 3.7.2] Worldofwarcraft blue...
By: Mikeyodesigns - [vB 3.7.0] My Links
By: blind-eddie - [vB 3.7.0] Pop-Up Warning Before...
By: Thelonius Beck
Latest Styles
- [vB 3.8.4] CompletevB - Skylight
By: DreadKnight - [vB 3.8.3] [vB 3.8.4] Barcelona...
By: hoiquantinhoc.com - [vB 3.8.3] Natures Walk by vBSkin...
By: Chri5 - [vB 3.8.3] Green Theme
By: Robdog - [vB 3.8.2] Unreal T 3 - vB3.8.x
By: Butcher
Latest Graphics
- [vB ] [anim.]Team Ranks
By: cRs!MP - [vB ] Abstract Circles (3...
By: cRs!MP - [vB ] PlayStation Rank Images
By: cRs!MP - [vB 3.6.12] Heavy Stroked Button...
By: Shelley - [vB ] Minature Ranks.
By: Shelley
vBulletin Modifications »
General vBulletin Section »
vBulletin Modification Tutorials »
[How to] Add navigation groups to your admincp left panel
![]() |
| |
#1 |
| |
Status: Offline This tutorial will teach how easy it is to add new groups to your admincp left panel. Have you ever installed a plugin, and refreshed the admincp to find some new group added under the vBulletin options, or a new link under a default option? Here is how to do that. Adding a new group This first think you will need to do is turn on debug mode. This isn't absolutely necessary but it's a good habit to get into when your making your products, and we're going to use some features that require debug on to be on. To turn on debug mode add the following line anywhere in your config.php file. PHP Code: Code: <?xml version="1.0" encoding="ISO-8859-1"?>
<navgroups product="">
<navgroup phrase="" hr="" displayorder="" permissions="">
<navoption displayorder="">
<phrase></phrase>
<link></link>
</navoption>
</navgroup>
</navgroups>
Code: Here is a little guide that will help you understand alittle.
navgroups attributes
product = The name of your product.
navgroup attributes
phrase = The phrase to look for to print the groups title text
hr = Whether or not to add a horizontal reference. (<hr />)
displayorder = The display order for this group
permissions = What permissions to look for.
Example: permissions="canadminsettings" will only let admins that have permissions to edit settings see this group
navoption attributes
displayorder = The display order of the link
<phrase> = The phrase to look for to print the links title text
<link> = The link location to send the user
Nothing helps you understand better then doing it yourself! Lets start by starting our own product. Login to your admincp panel. Under the Plugin System you should click the Plugin Manager's link. From there you should see [Add/Import Product]. Click on that and under the Add New Product group add the following information. Product ID: tutorial_test Title: Tutorial Test Version: 1.0 Description: This is a test 1.gif After saving this, we can now add our XML code to display our custom nav group. create a file called cpnav_tutorialtest.xml with the following code. Code: <?xml version="1.0" encoding="ISO-8859-1"?>
<navgroups product="tutorial_test">
<navgroup phrase="test_title" hr="true" displayorder="10">
<navoption displayorder="10">
<phrase>my_test_link</phrase>
<link>mylink.php</link>
</navoption>
</navgroup>
</navgroups>
+ Notice the product attribute is the same as the Product ID. + The phrase attribute will look for that phrase. You will need to create this phrase in the phrase manager for this to show up. + Notice the permissions attribute is missing. We won't be using it, since custom admin permissions will be a future tutorial of mine. Upload that file to your /includes/xml/ directory. Now go ahead and refresh your admincp. If your seeing blank options. Like this: 2.gif Then you need to add the phrases titled: test_title & my_test_link the phrase type called: Control Panel Global. Adding the Phrases Under Languages & Phrases look for Phrase Manager. Click the Add New Phrase button. You will need to do this twice. Here is the first set. Phrase Type: Control Panel Global Product: Tutorial Test Varname: test_title Text: Tutorial Test 3.gif Phrase Type: Control Panel Global Product: Tutorial Test Varname: my_test_link Text: My Test Link 4.gif Now you should see this. 5.gif Your Done! ![]() Copyright ©2004-2006 vBHackers.com All Rights Reserved. This tutorial may not be redistributed in whole or significant part. Ken Iovino / Escalate Media |
|
| | #2 |
| |
Status: Offline Greatly appreciated, I will post up a downloads hack once I have it ready. I'd appreciate it if you didn't do it before me as this will be my first one. I already built a Merit system... but it's for clans and I don't know how useful it will be to others. ^.^ <3 Kiko |
|
| | #3 |
| |
Status: Offline Don't worry. I'm far to busy with my own work to release hacks right now. |
|
| | #4 |
| |
Status: Offline Thanks for this mate, certainly very useful. |
|
| | #5 | |||||||||
Location: Anaheim Age: 21 ![]() |
Status: Offline muc happreciated. thanks bro Support will only be offered through forums Michael Biddle / vBHackers.comvBSEO 3.3.0 Gold Released with New "Virtual HTML Display" Feature Available for download now vBSEO Google Sitemap Generator - Version 2.5 Released Crawlability Network: vBulletin SEO | vBulletin Hackers | |||||||||
|
| | #6 |
| | Thank you so very much for this. It's one of the best tutes on this subject that we've ever seen. However there are two additional areas that you seem to have left out; Product URL and Version Check URL. Could you please post some information on how to best use those two areas? Thanks you so much LiveWire |
|
| | #7 |
| |
Status: Offline What exactly does Debug mode do? I just turned it on, and it confused me as to its purpose. So I turned it back it off. |
|
| | #8 |
| |
Status: Offline thanks for the tut i willing to lean anything |
|
| | #9 | |||||||||
Location: Anaheim Age: 21 ![]() |
Status: Offline wow long response, but debug is for developers, it enables cvertain features with vbulletin, that the general people would not use. Support will only be offered through forums Michael Biddle / vBHackers.comvBSEO 3.3.0 Gold Released with New "Virtual HTML Display" Feature Available for download now vBSEO Google Sitemap Generator - Version 2.5 Released Crawlability Network: vBulletin SEO | vBulletin Hackers | |||||||||
|
![]() |
« [How To] Add Options per forum
|
[How-To] - Set username 'Colour/Font/Style' etc... Based on usergroup »
LinkBacks (?)
LinkBack to this Thread: http://www.vbhackers.com/f80/how-add-navigation-groups-your-admincp-left-panel-3297/ | ||||
| Posted By | For | Type | Date | |
| Getting Started Modding VBulletin? - vBulletin Setup Optimization | This thread | Pingback | 03-13-2007 06:44 AM | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [How To] Run a Query | Ken Iovino | vBulletin Modification Tutorials | 9 | 07-30-2008 05:29 AM |
| [How To] Add Options per forum | Ken Iovino | vBulletin Modification Tutorials | 10 | 03-03-2007 06:25 PM |
All times are GMT. The time now is 07:12 AM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

































