vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Enhanced ACP Nav (https://vborg.vbsupport.ru/showthread.php?t=95679)

Andreas 09-04-2005 10:00 PM

Enhanced ACP Nav
 
1 Attachment(s)
<font size="3">Enhanced ACP Navigation</font>

Description
Many Hacks add their own Groups to ACP Navigation, so the Frame might get overloaded and
thus more difficult to be used if you have several Hacks installed.
This Hack enables you to switch between Standard and Custom Navigation - Standard Navigation
will only show Standard Groups, Custom Navigation only custom Groups.
However, custom Entries added to default Groups will show up in Standard Navigation.

Details
1 Product XML with 1 Plugin and 2 Phrases

History
1.0.0
Initial Version

1.0.1
Added Code to prevent an Error being shown when clicking "Show Custom Navigation" and there are no custom Groups.
This is just a a cosmetic change.

1.0.2
Fixed Preferences not working properly

Compatibility
This modification is compatible with vBulletin 3.5.X, 3.6.X, 3.7.X, 3.8.X, 4.0.X and 4.1.X

Yorixz 09-05-2005 05:48 AM

Thanks a lot, it's really welcome :)

uae 09-05-2005 07:35 AM

Thanks for sharing Kirby,

Getting this when clicking on Show Custom Navigation link:

Code:


Warning: First argument to array_keys() should be an array in /includes/adminfunctions_navpanel.php on line 147

Warning: Bad arguments to implode() in /includes/adminfunctions_navpanel.php on line 147

Warning: Invalid argument supplied for foreach() in /includes/adminfunctions_navpanel.php on line 150


Andreas 09-05-2005 08:05 AM

Well ... could it be that you don't have custom Groups? ;)
Haven't thought of such a case, but i'll add Code so it does not show errors then.

Guest190829 09-05-2005 09:21 AM

This is very useful to me!

[high]* Guest190829 clicks install. :)[/high]

Revan 09-05-2005 09:25 AM

I don't understand the description, and some screenshots would help.

Oblivion Knight 09-05-2005 09:49 AM

1 Attachment(s)
Jeez, you're on a roll Kirby.! This is perfect.. :D

Thank you for sharing your work with us, it is very much appreciated.


[high]Edit (For Revan):[/high] Screenshots attached

Guest190829 09-05-2005 10:55 AM

It really makes the AdminCp much more organized. Thanks Again Kirby, and it works great. :)

Andreas 09-05-2005 11:43 AM

@uae
ZIP updated.
However, as said this is just a cosmetic change, so it's not really necessary to update.

Revan 09-05-2005 12:03 PM

Quote:

Originally Posted by Oblivion Knight
[high]Edit (For Revan):[/high] Screenshots attached

Thank you sir :)

KuRi 09-05-2005 12:36 PM

this is fantastic!! thankyou

uae 09-05-2005 01:56 PM

Perrrrrrfect, thank you :)

eXtremeTim 09-06-2005 05:40 PM

This breaks the save prefs feature. It will only save it for the frame you are on and the other one becuase all collapsed.

Andreas 09-06-2005 06:00 PM

Right. Never used save Prefs so far :)
I'll take a look to see if there is anything that could be done to not break it.

eXtremeTim 09-07-2005 08:39 PM

Thanks. I just hate coming in and starting with everythng collapsed. I like to come in and have my common things open ;)

Boofo 09-08-2005 06:40 AM

I just found this and this is great, Kirby! Thank you, sir. ;)

Andreas 09-08-2005 08:23 AM

Prefs should work now.

peterska2 09-08-2005 01:24 PM

/me clicks install

Oblivion Knight 09-10-2005 09:46 AM

This doesn't appear to be working for RC3.

Nothing is listed on the Custom Navigation anymore.. :(

Andreas 09-10-2005 10:03 AM

Check if your cpnav_xxx.xml Files are attached to installed Products, otherwise RC3 will hide their contents - previous Versions always showed them.

Boofo 09-10-2005 10:55 AM

Mine is working fine. ;)

Oblivion Knight 09-10-2005 12:32 PM

That sorted it, thanks.. As shown in my screenshot, I'm currently only using 1 product with an additional cpnav and it was attached to vBulletin instead of it's own product.

Xplorer4x4 09-19-2005 06:39 PM

*Installed* Thanks Kirby!

The Wise One 09-25-2005 05:07 PM

nice one. thanks.

*installed

Xplorer4x4 10-27-2005 09:21 AM

Kirby is there by chance a way to bypass one or 2 particular custom nav groups? More spefically this one?
https://vborg.vbsupport.ru/showthread.php?t=99279

Andreas 10-27-2005 09:36 AM

No, not possible (without changing the plugin code).

Xplorer4x4 10-27-2005 10:06 AM

What might I have to change?

And if your still considering options for this what about some sort of setting to decide which tabs you see on the main page? :)

silurius 10-28-2005 04:36 AM

Beautiful! Installed.

Zachariah 10-30-2005 11:52 PM

What would it take to edit the plugin to say add a 3rd,4th, 5th page to only pull custom navgroups vs. any that are standard/not vbulletin.

EX: cpnav_foo.xml
<navgroups product="foobar">

index.php?do=nav&amp;custom=2,3,4,5

Also:
Expand All | Collapse All
Save Prefs | Revert Prefs

:)

Andreas 10-31-2005 12:21 AM

> What would it take to edit the plugin to say add a 3rd,4th, 5th page to only pull custom navgroups
A total rewrite.

Xplorer4x4 10-31-2005 01:37 AM

I assume it would involve a total rewrite in order to add just one custom navgroup to the main page.

Would it be possible to write a version that the user has a way to pick which navgroups appear on the main page?

Zachariah 10-31-2005 11:22 PM

Quote:

Originally Posted by Andreas
> What would it take to edit the plugin to say add a 3rd,4th, 5th page to only pull custom navgroups
A total rewrite.

Ok I'll play with the code to make it pull up only the group I want vs. all custom. Thank you sir for the work.

Guest190829 11-01-2005 12:19 AM

This is one of my favorite hacks of all time. It makes the AdminCp so much more organized. Thanks Again Andreas. :)

Xplorer4x4 11-01-2005 01:38 PM

Quote:

Originally Posted by Zachariah
Ok I'll play with the code to make it pull up only the group I want vs. all custom. Thank you sir for the work.

If you could post that or release that when your done, I could really use a flag enabled version. :)

The Wise One 11-13-2005 03:53 PM

is it possible to modify this to work with the modcp?

i am writing a plugin for the tech site i admin at that requires quite a few additional groups of menus. ive figured out how to add the menus to the navigation in modcp, but it would be really usefull to use your product so i can get those custom navs in their own nav page.

Andreas 11-13-2005 07:45 PM

Hmm it might be possible to do smth. for ModCP, but it is more difficult as ModCP navigation works differently.

The Wise One 11-13-2005 07:58 PM

Quote:

Originally Posted by Andreas
Hmm it might be possible to do smth. for ModCP, but it is more difficult as ModCP navigation works differently.

smth?

if you could manage it with a plugin...that would be killer. i managed to get it to work using parts of your plugin code...but it required edits to modcp/index.php to work completely. was hoping for a plugin.

PixelFx 11-25-2005 09:06 AM

thank you for making this :D

how do I change the order from ?

Show Custom Navigation
Control Panel Home
Expand All | Collapse All
Save Prefs | Revert Prefs

to

Control Panel Home
Expand All | Collapse All
Save Prefs | Revert Prefs
Show Custom Navigation <--

Andreas 11-25-2005 12:28 PM

Not possible (without using output-buffering and some tricky replaces).

Vizionz 11-26-2005 11:28 PM

awesome hack andreas thanks to zachariah for pointing it out :)


All times are GMT. The time now is 06:46 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01322 seconds
  • Memory Usage 1,782KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete