Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Navigation Manager Enhancements Details »»
Navigation Manager Enhancements
Version: 1.0.0b4, by Andreas Andreas is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.2.0 Rating:
Released: 05-17-2012 Last Update: 05-29-2012 Installs: 362
DB Changes Uses Plugins
Is in Beta Stage  
No support by the author.

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

Download Now

File Type: xml product-navmanager_enhancements.xml (17.8 KB, 1356 views)
File Type: zip navmanager_enhancements-1_0_0-Beta_3.zip (8.1 KB, 276 views)
File Type: zip navmanager_enhancements_1-0-0_Beta_4.zip (11.5 KB, 1860 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #132  
Old 06-10-2012, 08:16 PM
CLaNZeR CLaNZeR is offline
 
Join Date: Oct 2004
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Andreas

Thanks for a great Add-on works well.

Is there anyway we can wrap the buttons when it get to a certain amount so we get a double navigation bar. Or specify how many rows they are displayed across?

I am merging my website into my forums with custom pages and would like a double row of buttons to accomodate all the pages.

Cheers

Sean.
Reply With Quote
  #133  
Old 06-10-2012, 09:54 PM
wilford brimley wilford brimley is offline
 
Join Date: Apr 2012
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can i make the highlight stay on for more than a few scripts? it erases them after i type it in. I have five custom pages that are "channels"

I enter it like stream1.stream2.stream3.stream4.stream5 but it cuts off the last two scripts. the tab mod from before didnt do this.

EDIT. it works if you append the parent id to url and then do the same on all the links. it doenst seem to be as smooth as when it just uses the php scripts though. it works if you click from the menu bar but if you link directly to the php it does not. if you use the script it will light up regardless of how you get to it, thats why its better. now you have to add the tab id to every link to a php page if you want it to light up. that sucks.

Using the allow/not allow for usergroups doesnt actually protect the page does it? just who can view the menu item, correct? so if they know the url they can still see it. I add this on my custom php pages:

if (!$vbulletin->userinfo['userid'])
{
print_no_permission();
}

if (!is_member_of($vbulletin->userinfo, 6, 18)) {
// no permission if you aren't a member of usergroupid 6, 18
print_no_permission();
}

just change user id to whatever the group is.
Reply With Quote
  #134  
Old 06-10-2012, 10:39 PM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Wilford - yes Navigation Manager only hide/reveals menu items - it does nothing to control page access (nor should it).

Your code snippets are one approach to the permission problem.

If you make your custom page a plugin product, you can parameterise the member usergroups (or anything) that applies to the security you want to implement.

Kym
Reply With Quote
  #135  
Old 06-11-2012, 08:25 AM
CLaNZeR CLaNZeR is offline
 
Join Date: Oct 2004
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wilford brimley View Post
how can i make the highlight stay on for more than a few scripts? it erases them after i type it in. I have five custom pages that are "channels"
In each of my custom .PHP pages I place

Code:
define('THIS_SCRIPT', 'xxx');
Where xxx is the reference I want to use.
Then in Navigation specify xxx in the Tab Script's box

Any sub links I then also use the same reference and it stays highlighted.

Quote:

Using the allow/not allow for usergroups doesnt actually protect the page does it? just who can view the menu item, correct? so if they know the url they can still see it. I add this on my custom php pages:

if (!$vbulletin->userinfo['userid'])
{
print_no_permission();
}

if (!is_member_of($vbulletin->userinfo, 6, 18)) {
// no permission if you aren't a member of usergroupid 6, 18
print_no_permission();
}

just change user id to whatever the group is.
I use this in the templates rather than the PHP scripts, that also works.

Code:
<if condition="is_member_of($bbuserinfo, 6) or is_member_of($bbuserinfo, 5) or is_member_of($bbuserinfo, 7)">

<else />

</if>
Cheers

Sean.
Reply With Quote
  #136  
Old 06-12-2012, 01:40 PM
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Location: DFW, Texas
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get this error when I try to upgrade from beta 3 to beta 4:
Quote:
Fatal error: Class 'NavmanEnhancements_Admin' not found in /.../includes/adminfunctions_plugin.php(1174) : eval()'d code on line 3

EDIT: I'm an idiot, I uploaded the files to the wrong site... it works now
Reply With Quote
  #137  
Old 06-12-2012, 09:09 PM
Falcon Capt Falcon Capt is offline
 
Join Date: May 2006
Location: U.S.
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do you use HTML to change the font color of a menu item. When I put this in the Title of a menu item:

Code:
<span style="color:green;font-weight:bold;">Renew/Extend Your Membership</span>
I get the following error:
Quote:
Invalid Navigation Title
I am also now getting the following error on nearly all of my menu items:
Quote:
Invalid Navigation Id
I'm also running into a problem where after several edits of a menu item, I can no longer make changes to it (the changes appear to save, but when you go back and look, they didn't save).
Reply With Quote
  #138  
Old 06-12-2012, 11:55 PM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Andreas is @Forumcon in the USA -- there are a few issues with this tool -- I'm sure he will attend to them when he returns

The title is too long which is why you get the error.
For HTML it needs to have a short title
Reply With Quote
  #139  
Old 06-13-2012, 12:47 AM
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Location: DFW, Texas
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Falcon Capt View Post
How do you use HTML to change the font color of a menu item. When I put this in the Title of a menu item:

Code:
<span style="color:green;font-weight:bold;">Renew/Extend Your Membership</span>
I get the following error:

I am also now getting the following error on nearly all of my menu items:

I'm also running into a problem where after several edits of a menu item, I can no longer make changes to it (the changes appear to save, but when you go back and look, they didn't save).
Use this instead
Code:
<font color="green"><b>Renew/Extend Your Membership</b></font>
Reply With Quote
  #140  
Old 06-13-2012, 02:14 AM
Falcon Capt Falcon Capt is offline
 
Join Date: May 2006
Location: U.S.
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still getting this error:
Quote:
Invalid Navigation Id
Reply With Quote
  #141  
Old 06-13-2012, 02:20 AM
popmyzit popmyzit is offline
 
Join Date: Jun 2006
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Two issues still can't figure out:

1) when one hovers over the menu it doesn't drop down automatically for the user - they have to click on it

2) when I have the tab parent set as a link when you click on it nothing happens - would be nice to allow the link to be active.

Any ideas how to fix the above? thanks good extension
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 12:27 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04746 seconds
  • Memory Usage 2,371KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (23)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete