vBulletin Modifications

[How to] Add navigation groups to your admincp left panel

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support > vBulletin Modification Tutorials

Reply
 
LinkBack (1) Thread Tools
Old 05-10-2006, 05:56 PM   1 links from elsewhere to this Post. Click to view. #1
Ken Iovino
Founder
Ken Iovino's Avatar
Join Date: Mar 2004
Real Name: Ken Iovino
Location: Miami, Florida
Ken Iovino is on a distinguished road

Default [How to] Add navigation groups to your admincp left panel

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.
You must first be a registered member to view any code.
Okay, now we're ready to add a new nav group. Here is the following code that will let you add a new group. This code is XML and should be pretty easy to understand.

You must first be a registered member to view any code.
You must first be a registered member to view any code.
Create the product
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.
You must first be a registered member to view any code.
Notes:
+ 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.
__________________
Earnersforum.com - Learn how to make money online! New Look!

Ken Iovino / vBHackers.com
vBSEO 3.1 GOLD Released vB Blogs Compatible | Non-Encrypted | Branding Removal Option | Sitemaps 2.1 | Language Packs

Crawlability Network: vBulletin SEO | vBulletin Hackers




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 05-10-2006, 07:45 PM   #2
Junior Member
Kiko's Avatar
Join Date: May 2006
Kiko is on a distinguished road

Default

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




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-10-2006, 11:24 PM   #3
Ken Iovino
Founder
Ken Iovino's Avatar
Join Date: Mar 2004
Real Name: Ken Iovino
Location: Miami, Florida
Ken Iovino is on a distinguished road

Default

Don't worry. I'm far to busy with my own work to release hacks right now. ;)
__________________
Earnersforum.com - Learn how to make money online! New Look!

Ken Iovino / vBHackers.com
vBSEO 3.1 GOLD Released vB Blogs Compatible | Non-Encrypted | Branding Removal Option | Sitemaps 2.1 | Language Packs

Crawlability Network: vBulletin SEO | vBulletin Hackers




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-11-2006, 05:14 AM   #4
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

Thanks for this mate, certainly very useful.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-11-2006, 10:06 PM   #5
Michael Biddle
Administrator
Michael Biddle's Avatar
Join Date: Feb 2005
Real Name: Michael Biddle
Location: Anaheim
Michael Biddle is on a distinguished road

Default

muc happreciated. thanks bro
__________________
Support will ONLY be offered through forums


Michael Biddle / vBHackers.com
vBSEO 3.1 GOLD Released vB Blogs Compatible | Non-Encrypted | Branding Removal Option | Sitemaps 2.1 | Language Packs

Crawlability Network: vBulletin SEO | vBulletin Hackers
Affiliates: vBulletinSetup
Are you interested in a Recipe mod for vBulletin
Free Modifications: Latest X Posts on Forumhome | Default Signature | Default Signature Per Usergroup




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-11-2006, 03:27 PM   #6
Colonel Ingus
Master Coder
Colonel Ingus's Avatar
Join Date: Jun 2006
Real Name: The Wizard of Oz
Location: ...in a van, down by the river.
Colonel Ingus is on a distinguished road

Thumbs up

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




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-08-2006, 11:04 PM   #7
vB User
HDRebel88's Avatar
Join Date: Jul 2006
Location: New Jersey, U.S.A.
HDRebel88 is on a distinguished road

Default

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.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-04-2006, 07:29 AM   #8
vB User
ninjamaster's Avatar
Join Date: Nov 2006
ninjamaster is on a distinguished road

Default

thanks for the tut i willing to lean anything




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-03-2007, 03:20 PM   #9
Michael Biddle
Administrator
Michael Biddle's Avatar
Join Date: Feb 2005
Real Name: Michael Biddle
Location: Anaheim
Michael Biddle is on a distinguished road

Default

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.com
vBSEO 3.1 GOLD Released vB Blogs Compatible | Non-Encrypted | Branding Removal Option | Sitemaps 2.1 | Language Packs

Crawlability Network: vBulletin SEO | vBulletin Hackers
Affiliates: vBulletinSetup
Are you interested in a Recipe mod for vBulletin
Free Modifications: Latest X Posts on Forumhome | Default Signature | Default Signature Per Usergroup




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-04-2007, 10:01 AM   #10
Coder
Magnumutz's Avatar
Join Date: Sep 2006
Real Name: Alex Smen
Location: Romania
Magnumutz is on a distinguished road

Default

Thanks a lot, this works like a charm ;)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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 03:44 AM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[How To] Run a Query Ken Iovino vBulletin Modification Tutorials 6 08-29-2007 02:23 PM
[How To] Add Options per forum Ken Iovino vBulletin Modification Tutorials 10 03-03-2007 03:25 PM
[How To] How to in AdminCP Kiko General vBulletin Support 7 05-11-2006 05:14 AM


All times are GMT -3. The time now is 04:14 AM.


SEO by vBSEO 3.1.0 ©2007, Crawlability, Inc. (Patent Pending)