Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

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
  #62  
Old 05-25-2012, 02:50 AM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Andreas, Will this tool support product import export <navigation> with the extended features?

That would be really cool!

Kym

Edit: Or its own standalone import/export navigation function :up:
Reply With Quote
  #63  
Old 05-25-2012, 05:25 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Andreas, Will this tool support product import export <navigation> with the extended features?
I knew someone would ask

It's a bit tricky, but certainly doable!

I'll try to include this in Beta 4.
Reply With Quote
Благодарность от:
Hippy
  #64  
Old 05-25-2012, 09:33 AM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Andreas... your mod breaks javascript URLs...

Code:
			<url><![CDATA[javascript://window.open(getBaseUrl() + 'misc.php?{session.sessionurl}do=buddylist&focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;]]></url>
Eg. The Buddy pop up
Reply With Quote
  #65  
Old 05-25-2012, 09:08 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Andreas

I have the gameroom mod
on a few sites I manage

the button has a active users [3] in the button <example
here is the code from the plugin

Code:
$lastGameroomTime = time() - 30; 
$result = $vbulletin->db->query_read("SELECT COUNT(userID) AS c FROM " . TABLE_PREFIX . "session WHERE lastactivity > $lastGameroomTime AND location LIKE '%gameroom%'");
 $row = $vbulletin->db->fetch_array($result); 

$playersInGameroom = $row['c']; 

$tabselected = ''; 
$tablinks = ''; 
if (THIS_SCRIPT == 'gameroom') 
{ 
    $vbulletin->options['selectednavtab']='gameroom_tab'; 
    $tabselected = ' class="selected"'; 
    $tablinks = '                <ul class="floatcontainer"> 
                        <li><a href="Gameroom.php">Casino [' . $playersInGameroom . ']</a></li>
                 </ul> '; 

}  
$template_hook['navtab_end'] .= '<li'.$tabselected.'><a class="navtab" href="gameroom.php">Casino [' . $playersInGameroom . ']</a></li>' ;
How would I go about adding this

will your mod do this?

here is a screen shot


thanks for any help with this
Attached Images
File Type: jpg gameroom.jpg (4.6 KB, 0 views)
Reply With Quote
  #66  
Old 05-25-2012, 11:15 PM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@hippy I modify the text of the Tab on the fly for our photo competition system.

@hook: parse_templates (just convenient for me)
Code:
$vbphrase['vb_navigation_tab_YOURTABNAME_text'] = "New text";
Easy!
Reply With Quote
  #67  
Old 05-25-2012, 11:25 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

snoopytas thanks for the reply
but I am confused ..
Reply With Quote
  #68  
Old 05-26-2012, 01:33 AM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To alter the text of a tab you need to change the relevant $vbphrase
In my example YOURTABNAME will need to be the name of the tab which is displayed in the Navigation manager.

"New Text" can be anything you need.
Reply With Quote
  #69  
Old 05-26-2012, 04:02 AM
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Location: DFW, Texas
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

a small problem with the Append parent tab id if the link already has var in it (such as page.php?id=2) then the tab id breaks the page (ie: page.php?id=2?tabid=30) in this case it should append a & in place of a ? (ie: page.php?id=2&tabid=30)

awesome improvements to the nav manager!!
Reply With Quote
  #70  
Old 05-26-2012, 10:49 AM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dragonsys View Post
a small problem with the Append parent tab id if the link already has var in it (such as page.php?id=2) then the tab id breaks the page (ie: page.php?id=2?tabid=30) in this case it should append a & in place of a ? (ie: page.php?id=2&tabid=30)

awesome improvements to the nav manager!!
confirmed

thanks
snoopytas will see where my knowledge bring me ..
Reply With Quote
  #71  
Old 05-26-2012, 01:19 PM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you add the ability to show the Nav Bits on a per forum basis.

For example I host 2 forums. 1 for company X and the other for company Y. Company X would like some links added for their members but these links have nothing to do with company Y thus theoretically should not be shown.

Thanx for the consideration
Reply With Quote
Reply

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

Forum Jump


All times are GMT. The time now is 09:18 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.05603 seconds
  • Memory Usage 2,360KB
  • 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
  • (3)bbcode_code
  • (2)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
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (24)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)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