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 - Navigation Manager Enhancements (https://vborg.vbsupport.ru/showthread.php?t=283123)

Andreas 05-17-2012 10:00 PM

Navigation Manager Enhancements
 
1 Attachment(s)
This Add-on enhances the functionality of the Navigation Manager (vBulletin 4.2.0 Alpha 1 or higher) in various ways.

Planned Features
These features are planned for a later release
  • Code Cleanup & Refactoring
  • Documentation (!)
  • Dynamic content items
  • Inputs to directly change translations when editing an item

thecore762 05-18-2012 11:18 AM

Thank you Andreas!
Installed & voted!

Hornstar 05-18-2012 09:02 PM

I wish Andreas was working along side Paul as a senior vb dev. Another great release.

djbaxter 05-19-2012 11:37 AM

Quote:

vB Version: 4.1.11
Quote:

This Add-on enhances the functionality of the Navigation Manager (vBulletin 4.2.0 Alpha 1 or higher) in various ways.
???

So which is it? 4.1.11 and up? or 4.2.0 and up?

Andreas 05-19-2012 11:56 AM

This is obviously for vBulletin 4.2.0 Alpha 1 or higher, as vBulletin 4.1.X does not have a Navigation Manager ;)

But as vBulletin.org does not (yet) allow to select 4.2.0 as vBulletin version so 4.1.11 is being displayed.

djbaxter 05-19-2012 12:16 PM

Thanks. Wasn't sure what "Navigation Manager" actually meant. :)

Sage Knight 05-19-2012 12:33 PM

Would this addon make it possible to have totally different sections for the CMS besides the (default) one and only?

Andreas 05-19-2012 01:20 PM

Sorry, but I don't understand your question :(

The vBulletin CMS does allow you to create any sections you want.

Alfa1 05-19-2012 11:55 PM

Oh wow. This is great. Again!

Shouldn't this be added to vbulletin core?

AusPhotography 05-20-2012 07:30 AM

Quote:

Originally Posted by Alfa1 (Post 2330841)
Shouldn't this be added to vbulletin core?

Put it in Jira ? :D :D :D

Kym

Andreas 05-22-2012 05:20 PM

Here comes Beta 3 :)

Changes since Beta 2 include

AusPhotography 05-22-2012 09:38 PM

Excellent work as usual!!

Thanks!
Kym

Hippy 05-22-2012 09:41 PM

Andreas thanks you !!

I have yet to test
My head is still spinning
from the other day of testing and reading all whats going on and the forum and the Jira

thanks for your help / effort / and everything else to make this as easy for everyone

Hippy 05-23-2012 12:54 AM

@ Andreas
navbar_tabs_enhanced template
is not cached
thanks again for your efforts / help

Andreas 05-23-2012 04:28 AM

I've updated the ZIP to include the missing Plug-in.

joyboy2001 05-23-2012 11:40 AM

Quote:

Originally Posted by Andreas (Post 2331809)
I've updated the ZIP to include the missing Plug-in.

So does that mean that I don't need to install this plugin if I have downloaded 4.20 a few minutes ago?

Boofo 05-23-2012 05:39 PM

How do you add a Heading in the menu with this?

tbworld 05-23-2012 06:13 PM

Awesome! You saved me a ton of time. I was able to replace my tab system, (template coding) -- based off of a usergroup/function permission system -- and drop yours in with a slight tweak! I owe you!

Thanks again!

dsantana 05-23-2012 06:24 PM

So with this mod how do I make a drop down menu?
I'm not seeing it...

bjarne2 05-23-2012 06:59 PM

How do I make Dropdown-Menu from a Tab ??????

Andreas 05-23-2012 09:02 PM

1 Attachment(s)
Quote:

Originally Posted by Boofo (Post 2332008)
How do you add a Heading in the menu with this?

Select Add Heading from the Controls Menu:
Attachment 138606

Quote:

So with this mod how do I make a drop down menu?
I'm not seeing it...
Edit the tab and select one of its menus as Tab Menu:
Attachment 138607

Papa Bear 05-23-2012 09:15 PM

There is no selection for ADD HEADING for some of us even with the update you did.

tbworld 05-23-2012 09:17 PM

Andreas, weirdness here (or it's me). When you select more then one includegroups it negates its inclusion. In the database it shows the proper included and excluded groups but the results being applied are incorrect. If you just apply a single usergroup it works as designed.

-- I am looking into the code now and will report back. Either I will fix it or I will find out that I am doing something incorrectly. Current tests were performed on a clean vb4.2 and no mods.

Hopefully, I am not wasting your time here :).

Andreas 05-23-2012 09:20 PM

Quote:

Originally Posted by Papa Bear (Post 2332096)
There is no selection for ADD HEADING for some of us even with the update you did.

Then your PHP installation does have problems with output buffering - fix that and it should work.

Boofo 05-23-2012 09:26 PM

1 Attachment(s)
Quote:

Originally Posted by Andreas (Post 2332092)
Select Add Heading from the Controls Menu:
Attachment 138606

I'm not seeing that in my options at all.

Boofo 05-23-2012 09:27 PM

Quote:

Originally Posted by Andreas (Post 2332102)
Then your PHP installation does have problems with output buffering - fix that and it should work.

How do we fix that?

Papa Bear 05-23-2012 09:55 PM

Quote:

Originally Posted by Boofo (Post 2332104)
I'm not seeing that in my options at all.

me either..it does not even give me the choice to select it..cause its not there..all the other functions work fine..

Hippy 05-23-2012 09:56 PM

1 Attachment(s)
when you click a tab you made should be there
but mine is missing something
see sceenshot

https://vborg.vbsupport.ru/attachmen...1&d=1337813770

tbworld 05-23-2012 10:16 PM

Hippy, You have not selected a parent action. Do that in the main dropdown when you add a tab.

kapii 05-24-2012 01:58 AM

Quote:

Originally Posted by tbworld (Post 2332098)
Andreas, weirdness here (or it's me). When you select more then one includegroups it negates its inclusion. In the database it shows the proper included and excluded groups but the results being applied are incorrect. If you just apply a single usergroup it works as designed.

-- I am looking into the code now and will report back. Either I will fix it or I will find out that I am doing something incorrectly. Current tests were performed on a clean vb4.2 and no mods.

Hopefully, I am not wasting your time here :).

Confirmed, something is just not right with the permissions, if you choose more than 1 group for User is a member of ... the tab don't show for any groups selected. Same applies to the User is not a member of ... if you choose more than one group the tab shows for all groups.

Andreas 05-24-2012 03:37 PM

Quote:

Originally Posted by Hippy (Post 2332117)
when you click a tab you made should be there
but mine is missing something
see sceenshot

Seems link there ar no menus available in this tab?
You must first create a menu before you can select it as a tab menu.

The current build does no longer show this option if no menus are available.

Quote:

Originally Posted by kapii (Post 2332179)
Confirmed, something is just not right with the permissions, if you choose more than 1 group for User is a member of ... the tab don't show for any groups selected. Same applies to the User is not a member of ... if you choose more than one group the tab shows for all groups.

Congratulations you've found a bug :)

This should be fixed in the current build.

A new build of Beta 3 has been uploaded that should fix those two issues.

Boofo 05-24-2012 04:23 PM

Thanks for the update. The ADD Heading and Add HTML are showing up in the menu for me now, also.

Boofo 05-24-2012 04:27 PM

I spoke too soon. I get this db error when trying to add a heading:

Code:

Database error in vBulletin 4.2.0:

Invalid SQL:

                REPLACE INTO navigation
                (name, productid, navtype, exttype, html, state, displayorder, parent,
                scripts, showperm, url, version, username, dateline , includegroups, excludegroups, sections, parents)
                VALUES ('heading_nzg4_407','boofo_user_links','link','heading','',0 | 0,40,'menu_nzg0_544','','','','4.2.0','Boofo',1337880296,
        '',
        '',
        '',
        ''
);

MySQL Error  : Unknown column 'exttype' in 'field list'
Error Number  : 1054
Request Date  : Thursday, May 24th 2012 @ 01:24:56 PM
Error Date    : Thursday, May 24th 2012 @ 01:24:57 PM
Script        : http://www.iamgrumpy.com/forums/admincp/navigation.php?do=doaddcustom
Referrer      : http://www.iamgrumpy.com/forums/admincp/navigation.php?do=addcustom&type=heading&navid=78
IP Address    : 173.21.27.150
Username      : Boofo
Classname    : vB_Database
MySQL Version : 5.5.22-cll

Stack Trace:

#0 vB_Database->halt() called in [path]/includes/class_core.php on line 426
#1 vB_Database->execute_query() called in [path]/includes/class_core.php on line 444
#2 vB_Database->query_write() called in [path]/admincp/navigation.php(85) : eval()'d code on line 203
#3 eval() called in [path]/admincp/navigation.php on line 85


Andreas 05-24-2012 04:54 PM

Hmm ... you learn smth. new every day ... my Installcode Generator doesn't work properly with ENUM fields :D

[sql]
ALTER TABLE navigation ADD exttype ENUM ('heading', 'html') NULL
[/sql]

should take care of that.

Boofo 05-24-2012 05:05 PM

You are never too old to learn, buddy. ;)

Code:

Affected Rows: 82 (0.4281s)

Boofo 05-24-2012 05:06 PM

What is the format for the html? Like an example, I mean.

Andreas 05-24-2012 05:34 PM

Anything you want ...

HTML Code:

<img src="http://www.vbulletin.org/custompics/forum/avatars/avatar9948_4.gif" title="My Avatar at vBulletin.org" />

Boofo 05-24-2012 05:52 PM

But no way to do span styles or classes then? For like changing the link color of the menu or links titles?

tbworld 05-24-2012 07:01 PM

Bug: You cannot re-edit the html dialog box. Initial edit works fine.

(At least on my test system :))

PS: Looking good, thanks for the html selection!

tagman 05-24-2012 07:02 PM

Will this mod allow the dropdown menu tabs to open on hover? If not, is there a way to do this?My current tab manager does this and it's pretty slick.

Glad I found this mod. I've been afraid to upgrade to 4.2 and not have the tabs function the way have them set up currently.


All times are GMT. The time now is 06:30 PM.

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.01581 seconds
  • Memory Usage 1,829KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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