View Full Version : Administrative and Maintenance Tools - cpSuperMenu v1.2.1
hambil
04-09-2006, 10:00 PM
Note: This product is now being supported at www.catnine.net
Keywords: admincp, menu, order, displayorder, submenu, supermenu
Description:
Completely customize the grouping and order of display for admincp menu items - including creating your own 'Super Menus'. See the attached screen shots and it will all be clear. :)
Features:
Fully Phrased.
Create, delete and edit your own 'Super Menus'.
Uses the active admincp skin colors.
Change the order of menu items.Install
Download the cpSuperMenu_1.0.zip file.
Unzip and upload the files in the upload directory to your forum root.
Import the product file in your admincp.
Create and Edit Super Menus as desired.Version Info:
1.2.1
Added option to disable super menus
Added option to change super menu style (remove border, etc.)1.2
Moved common code into a class
Now works with Expand All | Collapse All | Save Prefs | Revert Prefs1.1
Fixed problems with duplicate display orders.
Moved large plugin to external file for easier management.1.0
Original ReleaseUpgrade to 1.2:
Download the cpSuperMenu_1.2.zip file.
Unzip and upload ALL files in the upload directory to your forum root (note there are new files).
Import the product file in your admincp. making sure "Allow Overwrite" is "yes".
All previous Super Menus and settings should remain intact.
hambil
04-09-2006, 11:10 PM
First post reserved
Mastar
04-09-2006, 11:19 PM
Right Behind Yah!!
Love it!!
Is there anyway to keep the default menu open when I refresh or login?
this should be standard from VB...awesome job
hambil
04-09-2006, 11:35 PM
Is there anyway to keep the default menu open when I refresh or login?
It uses the same routines as the normal cb menus. You'll notice they don't stay open on a refresh either. It's an interesting idea though. I may look into it :)
ThePimp
04-09-2006, 11:39 PM
Warning: Invalid argument supplied for foreach() in /admincp/cpsupermenu.php on line 459
I get this when opening "Manage Super Menus".
It shows up at the top of the page.
ThePimp
04-09-2006, 11:42 PM
459: foreach($group_keys AS $group_key)
hambil
04-09-2006, 11:43 PM
Warning: Invalid argument supplied for foreach() in /admincp/cpsupermenu.php on line 459
I get this when opening "Manage Super Menus".
It shows up at the top of the page.
Are you upgraded to vb 3.5.4?
ThePimp
04-09-2006, 11:45 PM
Are you upgraded to vb 3.5.4?
Yes, vb3.5.4
hambil
04-09-2006, 11:46 PM
Hmmm. Can you give me a screen shot of your admincp menu?
ThePimp
04-09-2006, 11:56 PM
Screenie:
hambil
04-09-2006, 11:58 PM
Screenie:
I should have been more specific. I want to see what hacks you have installed, so I can try them on my test board and see if I can reproduce the problem, thus perhaps uncovering the bug :)
ThePimp
04-10-2006, 12:02 AM
I should have been more specific. I want to see what hacks you have installed, so I can try them on my test board and see if I can reproduce the problem, thus perhaps uncovering the bug :)
Toplist, Forumhome: Gallery Images, Profile Comment System, Friends on Profile, SR Classifieds, Userprofile Changed Date, You got Slapped!
hambil
04-10-2006, 12:05 AM
Toplist, Forumhome: Gallery Images, Profile Comment System, Friends on Profile, SR Classifieds, Userprofile Changed Date, You got Slapped!
Thanks. I'll get to work on testing it.
RMS-Chef
04-10-2006, 12:49 AM
Warning: Invalid argument supplied for foreach() in /xxxxxx/cpsupermenu.php on line 459
I get this as well.
I do have quite a few plugins installed but none of the ones ThePimp does.
None of my installed plugins effect the admin_index_navigation hook location but I have a few that have their own XML's for added ACP nav function as well as a couple custom ones.
EDIT:
Also, if I add a custom SuperMenu, the error is displayed twice.
I have that same error.
Does it affect the way supermenu works anwyays?
I can only use 1 custom menu...
hambil
04-10-2006, 02:05 AM
I can only use 1 custom menu...
You're giving them all the same order, so they hide each other. Edit one and give it a smaller or larger number.
hambil
04-10-2006, 02:43 AM
I have that same error.
Does it affect the way supermenu works anwyays?
Okay, I think I fixed it. Try getting the zip and installing again (make sure allow overwrite is checked).
My guess is it had something to do with different php versions.
RMS-Chef
04-10-2006, 03:16 AM
Okay, I think I fixed it. Try getting the zip and installing again (make sure allow overwrite is checked).
My guess is it had something to do with different php versions.
Still the same. I did an overwrite as well as uninstalling then reimporting the XML from the zip.
I am running PHP v4.4.1
hambil
04-10-2006, 03:29 AM
Still the same. I did an overwrite as well as uninstalling then reimporting the XML from the zip.
I am running PHP v4.4.1
Can you replace cpsupermenu.php in your admincp directory with the attached file, then click on Manage Super Menus, and send me the resulting log file (called supermenu.log)? It should be created in your forum directory.
bashy
04-10-2006, 05:24 AM
Wahooo...this is what ive been after...will try it when i get home...cheers :)
bashy
04-10-2006, 03:32 PM
Maybe not :( I have had a wee play but had to take it out again :(
I do have a lot of hacks installed and this just makes a compete mess of things with regards to the menus, I created a menu added the GARS and it took a load of others with it, This dont even show half the stuff that i do have in the menus....
Tis a shame mind as i need sommat like this so i can sort it all :(
Thanks anyway
hambil
04-10-2006, 03:34 PM
Maybe not :( I have had a wee play but had to take it out again :(
I do have a lot of hacks installed and this just makes a compete mess of things with regards to the menus, I created a menu added the GARS and it took a load of others with it, This dont even show half the stuff that i do have in the menus....
Tis a shame mind as i need sommat like this so i can sort it all :(
Thanks anyway
The problem is that many menu items have the same order (e.g. they are all set to 10 or something). I'm working on changing the code to handle this. Check back for a 1.5 release soon.
bashy
04-10-2006, 03:36 PM
Ok m8 cheers, will do....
Clicking install and waiting, thanks :)
That was fixed, but there are still a lot of bugs...
When you create a new menu without changing the order, it wont appear if there was a menu with that same order number before it. For example, if I create a new menu with display order 10, and the "Default" menu was already on 10, it wont appear, but it still exists.
There are also many other database errors, etc....
Ill just disable the plugin for now, I hope these problems are fixed.
Snake
04-10-2006, 06:36 PM
Truly a nice hack!
Thanks! :)
eNforce
04-10-2006, 09:51 PM
sorting the options is sketchy... some of them won't move into categories
vBulletin Options is in 'custom plugins' but i didn't put it there, and i can't move it cause it's not being displayed.
see attachment, vbulletin options is on the left, but not in your hack
Freeneter
04-10-2006, 09:59 PM
Works for me fine!
Thanks
"click install, and give a good rating"
hambil
04-10-2006, 11:22 PM
vBulletin cp menus are a mess to deal with - real byzantine. I've been slaving at it all day, and making some very good progress. I will have all the grungy details of menus with the same display order worked out soon enough. Stay tuned.
Yukino_AE
04-11-2006, 06:16 AM
this is a very handy hack! ^_^ i would like it though if the menus (like the default menu) would be auto open and not have to click that arrow to drop it down. but very good. (2 thumbs up)
Mastar
04-11-2006, 12:54 PM
I had one or two hacks that didn't wanna move in the new menu, what I did I opened the hack and removed the displayorder="*" in them.
I really love this hack, it should be part of vb next version, maybe with alittle more control for display order. 3 stars
hambil
04-11-2006, 12:57 PM
I had one or two hacks that didn't wanna move in the new menu, what I did I opened the hack and removed the displayorder="*" in them.
I really love this hack, it should be part of vb next version, maybe with alittle more control for display order. 3 stars
displayorder = "*"? That's a new one on me :) I'm get on that right away. Thanks.
Mastar
04-11-2006, 03:45 PM
displayorder = "*"? That's a new one on me :) I'm get on that right away. Thanks.
Yeah! One of the hacks were custom links, I deleted the displayorder="60" from cpnav_custom_links that is located in the xml dir.
bashy
04-11-2006, 03:51 PM
Much better thanks alot m8 :)
A deafault open sections would be a bonus if at all possible?
Mastar
04-11-2006, 09:01 PM
Hey the new upgrade isn't working now,
Uninstall old and install new.
Add new menu and nothing changes.
Any Ideas!?
hambil
04-11-2006, 09:16 PM
Hey the new upgrade isn't working now,
Uninstall old and install new.
Add new menu and nothing changes.
Any Ideas!?
The plugin got moved into a seperate file in the 'plugins' directory. Make sure you have uploaded it.
obsidian
04-11-2006, 10:28 PM
I just installed on 3.5.2 and it works without issue. Outstanding hack. I agree this should be built into VB. It really goes a long way towards organizing the admincp.
I like it.
Installed :)
Heres a tip : Add 4 links at the bottom.
Expand All | Collapse All
Save Prefs | Revert Prefs
for the super menus :)
It requires adding cookie commands, I believe.
hambil
04-12-2006, 01:52 AM
I like it.
Installed :)
Heres a tip : Add 4 links at the bottom.
Expand All | Collapse All
Save Prefs | Revert Prefs
for the super menus :)
It requires adding cookie commands, I believe.
Funny you should mention that. I went one better and made it work with the ones already there ;)
Thats good, but I personaly would prefer separate ones :P
But most people probably prefer your way :)
I don't mind much, it works great for me either way.
Thanks for the update!
P.S. Is it possible not to have a border around the regular menus? And just to have the title of the super menu?
i.e.
--------------
| sumermenu |
--------------
menu
menu
menu
as opposed to:
--------------
| sumermenu |
--------------
| menu |
| menu |
| menu |
--------------
Mastar
04-12-2006, 06:42 PM
The plugin got moved into a seperate file in the 'plugins' directory. Make sure you have uploaded it.
Well to know it was another hack that was interferring with this one and another one on my site.
All's well
eNforce
04-12-2006, 09:19 PM
I second getting rid of the border, it kind of bothers me.
But the newest version is working great no more problems for me, thanks!
I second getting rid of the border, it kind of bothers me.
But the newest version is working great no more problems for me, thanks!
Thanks :)
I hope the next version will remove the border, its kind of useless to be honest.
hambil
04-15-2006, 04:39 AM
Updated to 1.2.1, see notes in first post.
Allan
04-16-2006, 07:33 AM
Great your hack, Click Install ;)
But, i'm a little problem, look the screen please :p
Allan
04-16-2006, 07:46 AM
ok, there is a not compatible with this hack: "Change the ACP Display Order of Side Groups (https://vborg.vbsupport.ru/showthread.php?t=101387&highlight=acp+order)
Work now ;)
hambil
04-16-2006, 09:59 AM
ok, there is a not compatible with this hack: "Change the ACP Display Order of Side Groups (https://vborg.vbsupport.ru/showthread.php?t=101387&highlight=acp+order)
Work now ;)
Him... I'll contact the author about working together on a solution.
Him... I'll contact the author about working together on a solution.
But since this hack already has order change included, the other one (the one linked in this thread) isn't really needed.
hambil
04-16-2006, 10:25 PM
But since this hack already has order change included, the other one (the one linked in this thread) isn't really needed.
Hey, you're right :)
eNforce
04-16-2006, 11:51 PM
Neat way to deal with borders :)
Hack is pretty much perfect now, great work, one of my top favorite mods for sure!
Allan
04-17-2006, 08:19 AM
File Attach, French language ;)
Tralala
04-17-2006, 09:28 AM
Works great! I appreciate this one. Thanks!
EasyTarget
05-16-2006, 09:56 PM
wow, how'd I miss this? Installing now.
username12
05-23-2006, 12:03 AM
Don't know if it's possible, but I'd like to see a way to make each supermenu (or menu) only visible to specific users.
loonytune15
06-02-2006, 03:07 AM
Great hack, been looking everywhere for something like this :D
Should be a standard feature of vbulletin.
Is there a way of adding in spaces between the lines?
And is there a way to take setting out of the menus? eg alot of hacks put the options in VBuletin options. I'd like to create a seperate menu for all of them.
P.S. I have nominated you for HOTM.
melefire
06-02-2006, 11:15 PM
wow, thanks so much, i was looking for somthing like this
hambil
06-03-2006, 01:59 AM
Don't know if it's possible, but I'd like to see a way to make each supermenu (or menu) only visible to specific users.
How is this different than the already existing ability of the 'super admin' to restrict what other admins can do?
hambil
06-03-2006, 02:01 AM
Is there a way of adding in spaces between the lines?
Not inbetween super menus, but you can add a seperate between any two items on a super menu. It's a checkbox on the menu creation screen.
And is there a way to take setting out of the menus? eg alot of hacks put the options in VBuletin options. I'd like to create a seperate menu for all of them.
Hmmm. It doesn't deal with the stuff under vBulletin options, it only deals with the main menu items.
P.S. I have nominated you for HOTM.
Thank you! :banana:
Work also on 3.6...... well :up:
Thank you
wacodep
09-15-2006, 03:45 PM
*Clicks Install* (along with the cpSuperSort).
Great work, hambil.
loonytune15
10-13-2006, 05:23 AM
Good to see this work for 3.6
Will reinstall..
Harley D
10-22-2006, 03:55 PM
VB 3.5.4
I am unable to edit #1 Super Menu : Buy & Sell Mods in the Change Super Menu Settings, After clicking on EDIT, it says Super Menu Not Found. and if I try to DELETE it to reinstall the Menu under a different number "other than 1" I get a MySQL error Database error in vBulletin 3.5.4:
Invalid SQL:
UPDATE srtcalib_cpsupermenu_items
SET supergroupid = 1
WHERE supergroupid =;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
Error Number : 1064
Date : Sunday, October 22nd 2006 @ 12:51:24 PM
Script : http://www.srtcaliber.com/forum/admincp/cpsupermenu.php?do=delete&supergroup=Buy%20&%20Sell%20Mods
Referrer : http://www.srtcaliber.com/forum/admincp/cpsupermenu.php?do=modify
IP Address : 000.00.00.0
Username : High Octane
Classname : vb_database
The reason I want to edit this is, I want DEFAULT to be #1 not #10.
EasyTarget
10-24-2006, 07:27 PM
is there a way to add permissions to this so you can choose which super menus can be accessed by which admins?
Bounce
01-05-2007, 03:29 AM
works a treat on 3.6.4 ,,, thanks recommended by loonytune15 here (https://vborg.vbsupport.ru/showthread.php?t=134476) thanks
Bounce
01-05-2007, 07:47 PM
Can DEFAULT name be changed to your own custom one ?
Also I have the Show Profile fields in Postbits (https://vborg.vbsupport.ru/showthread.php?t=123619&highlight=Show+Profile+fields+in+Postbits) hack installed and its not showing when I "Manage Super Menus"
any idea why ?
DevinM
02-03-2007, 04:16 AM
is there a way to add permissions to this so you can choose which super menus can be accessed by which admins?
Was wanting to know the same.
wpeloquin
03-28-2007, 02:58 AM
is there a way to do this permanently, without the need for a product/plugin? i.e. editing a file or a table in the database?
see https://vborg.vbsupport.ru/showthread.php?p=1215211
wpeloquin
04-02-2007, 03:51 PM
bump
a PM would work too.
hambil
04-02-2007, 03:57 PM
Can DEFAULT name be changed to your own custom one ?
Sure, just make one named whatever you want and move everything from DEFAULT into it. Empty super menus don't display.
Also I have the Show Profile fields in Postbits (https://vborg.vbsupport.ru/showthread.php?t=123619&highlight=Show+Profile+fields+in+Postbits) hack installed and its not showing when I "Manage Super Menus"
any idea why ?
The menu for it in the admincp isn't showing, or the profile fields aren't showing in the postbit?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.