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

Reply
 
Thread Tools
Navbar Forumjump- Adds a DHTML "Forum Jump" menu to your Navbar Details »»
Navbar Forumjump- Adds a DHTML "Forum Jump" menu to your Navbar
Version: 1.0.8, by Analogpoint Analogpoint is offline
Developer Last Online: Dec 2007 Show Printable Version Email this Page

Category: End-User Options - Version: 3.6.x Rating:
Released: 09-07-2007 Last Update: 10-12-2007 Installs: 193
Uses Plugins Template Edits
 
No support by the author.

Navbar Forumjump


This mod adds a popup menu to the navbar with quick links to all your forums.



If you like this, you can show your support by Rating it, Marking it as installed, Nominating for MOTM, and/or Donating to the author. Thanks, you rock.


Why would you want to install this?
  1. Increases usability for your members.
  2. Decreases server resources/usage.
How does this increase usability?

In forums I often find myself clicking on the "forum home" link to see the list of forums and then choose one to visit. With this mod, you simply click the "Forum Jump" menu, and down drops a dynamic menu with all your forums (represented in correct hierarchy of parents/children, and organized by category). The user can more easily visualize the structure of your forums, and can get to where they want to go quicker. And this is a lot prettier and better placed than the forum jump at the bottom of the pages.

How does this reduce server resources?

With this mod installed, the users will go directly to the next forum they want to visit without first going to the forum home. This saves the HTTP requests associated with a pageload, as well as the database queries required to generate the page.

All Features.
  • Installation is a snap, just import the XML file
  • The popup menu looks identical to the other built-in vB popup menus.
  • Automatically generates the menu, if you add or remove forums, that's automatically reflected in the menu.
  • The menu can optionally display a small icon that links to the last post next to the forum name.
  • Respects forum permissions, hidden forums, etc. If the user is not permitted to view the forum, it won't show up, just like on the forum home page.
  • No template edits needed.
  • Admin control panel that explains everything, and offers many configuration options:
    • Enable / disable the mod
    • Show menu to everyone or only to logged-in members.
    • Optionally specify forums to exclude from the menu.
    • Choose to display the forumjump popup on the left or the right side of the navbar.
    • Choose to display the menu as one column, or separate each category (with its sub-forums) into its own column. You may also specify how many categories to display per column.
    • You define the characters to prepend to the forum titles to show the indented hierarchy of forums
    • Options to configure CSS styles and sizes for the menu. This allows you to shrink the menu if you have many forums by reducing the font size and the cell padding in the menu.
    • You may optionally style the currently selected forum differently than the rest (with CSS).
  • The mod is fully phrased, including the ACP options and descriptions.
Changes it makes

Adds one plugin and a control panel options section (and its associated phrases). The menu is attached to the navbar using a template hook.

Installation
  1. Download and uncompress the zip file.
  2. Import the XML product file in the Admin Control panel.
  3. Visit the Options page and see if you want to change any of the default settings. (If you're using less than vB 3.6.8 you'll need to visit the options and see how to manually insert the menu into your templates.)
Changelog/History

Version 1.0.8 Bug fix (Oct. 13, 2007)
Fixed bug when using the forumjump with vBa. (See post #145)
Version 1.0.7 Bug fixes and workarounds (Sept. 18, 2007)
Integrated fix for Smoothie's problems (Post #76 and on)
Fixed display bug from post #101
Workaround for logging out display problem (post #104)
Completely separated the auto-insert code from the manual template inserting.
Version 1.0.6 New Features (Sept. 17, 2007)
Workaround for menu display problem in Opera
New option to add a relative URL to prepend to links (helps when using vBa)
New option to not auto-display menu via template hooks. Provides better compatibility for vB < 3.6.8 and when not displaying menu in the navbar template.
Version 1.0.5 Internal Development - Not released

Version 1.0.4 New features (Sept. 12, 2007)
Added optional link (icon) to the latest post in each forum
Added admin options panel help system.
Added compatibility with vB 3.6.0 to 3.6.8
Version 1.0.3 New features (Sept. 11, 2007)
All error messages output as HTML comments (better end user experience)
You may now specify how many categories are displayed per column
Version 1.0.2 Bug fix (Sept. 10, 2007)
Fixed bug introduced in Version 1.0.1
Added more error checking
Added useful error messages for debugging.
Version 1.0.1 Bug Fixes and Enhancements (Sept. 10, 2007)
Fixed a bug when URLs have session IDs in them.
Added Option to disable the menu for non-logged-in visitors
Added Option to exclude forums
Version 1.0.0 Initial Release


Screenshots



Menu with the icon link to last post enabled.


Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
nCODE

Comments
  #2  
Old 09-08-2007, 08:34 PM
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
Posts: 656
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

reserved?
Reply With Quote
  #3  
Old 09-08-2007, 08:38 PM
m002.p's Avatar
m002.p m002.p is offline
 
Join Date: Jan 2007
Location: Worcester
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks awesome mate, will try it later. Good work!

Oh and first post
Reply With Quote
  #4  
Old 09-08-2007, 08:42 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed! Groovy!
Reply With Quote
  #5  
Old 09-08-2007, 09:34 PM
howiulf howiulf is offline
 
Join Date: Jul 2007
Location: Germany, NRW
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work, installed in a second!

It's very helpful at about a hundred forums...

thx a lot.

Installed 'n' lots of stars
Reply With Quote
  #6  
Old 09-08-2007, 10:42 PM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, this was released here a while ago I believe, but yours looks very good. thanks for sharing.
Reply With Quote
  #7  
Old 09-08-2007, 10:59 PM
yahoooh yahoooh is offline
 
Join Date: Oct 2002
Posts: 567
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #8  
Old 09-09-2007, 12:39 AM
JTS2005 JTS2005 is offline
 
Join Date: Aug 2007
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

my skin unfortunately doesn't use that navigation bar as it was converted to image buttons. what code can i use to link to an image?
thx
Reply With Quote
  #9  
Old 09-09-2007, 03:55 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BOO!!! NOT COMPATIBLE WITH OLDER VERSIONS OF VB!!!

SHAME SHAME!

Can We make it work with 3.6.4???
Reply With Quote
  #10  
Old 09-09-2007, 06:19 AM
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
Posts: 656
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hornstar1337 View Post
Thanks, this was released here a while ago I believe, but yours looks very good. thanks for sharing.

The only two mods I could find that were somewhat similar, turn out to be nothing like this.

1. [name]Michelle[/name]'s Move forumjump to the navbar with javascript Is just what the title says. It's a couple of template edits and a few lines of Javascript to move the existing (ugly) forumjump drop-down menu up to the navbar. It only displays on pages that already had the forumjump drop-down on them. My mod uses vB's DHTML popup menus and also displays on all pages.

2. [name]Floris[/name] did a bit better with navbar forumjump dropdown. But it has quite a few problems.
  • Template edits
  • Not phrased
  • No product/XML file for easy installation
  • Directly queries the database instead of using vB's cached forum info (waste of resources)
  • Does not respect forum permissions and displays links to forums that you're not allowed to see
  • Not supported
  • Only shows child forums one level deep
So in conclusion, from the way I see it, this hasn't been released here before. Or was there some other mod that I couldn't find by searching?

EDIT: I just found another forum jump mod by [name]P1erce[/name], which is better than Floris' version. It's actually quite similar to this mod, but it's not as easy to install, and it doesn't have all the admin formatting options etc.


Quote:
Originally Posted by JTS2005 View Post
my skin unfortunately doesn't use that navigation bar as it was converted to image buttons. what code can i use to link to an image?
thx

Do you have it installed and working, but you want to change the text "Forum Jump" to an image? If that's the case, just edit the plugin (or in the product's XML file, then re-upload) and find this:

Code:
'.$vbphrase['forum_jump'].'
and replace with an image tag, like:

Code:
<img src="image.gif" alt="" />

Quote:
Originally Posted by yotsume View Post
BOO!!! NOT COMPATIBLE WITH OLDER VERSIONS OF VB!!!

SHAME SHAME!

Can We make it work with 3.6.4???
Hmmmm. 3.6.4 doesn't have template hooks or the global_setup_complete hook that this relies on. But, if you're willing to make some changes, it should work. This is not guaranteed or tested, it's just off the top of my head. Try it on a test forum installation first!

Instructions updated to work with version 1.0.3

1. Make some edits to the XML file
----------------------------------
:::: Find:
Code:
		<dependency dependencytype="vbulletin" minversion="3.6.8" maxversion="" />
:::: Change to:
Code:
		<dependency dependencytype="vbulletin" minversion="3.6.4" maxversion="3.6.4" />
----------------------------------
:::: Find:
Code:
			<hookname>global_setup_complete</hookname>
			<phpcode><![CDATA[if ($vbulletin->options['navbar_forumjump_enable'] && $show['popups'] && (($vbulletin->options['navbar_forumjump_showusersonly'] && $vbulletin->userinfo['userid']) || !$vbulletin->options['navbar_forumjump_showusersonly']))
:::: Change to:
Code:
			<hookname>parse_templates</hookname>
			<phpcode><![CDATA[if (!isset ($template_hook))
{
	$template_hook = array();
	$template_hook['navbar_buttons_left'] = $template_hook['navbar_buttons_right'] = '';
}
if ($vbulletin->options['navbar_forumjump_enable'] && $show['popups'] && (($vbulletin->options['navbar_forumjump_showusersonly'] && $vbulletin->userinfo['userid']) || !$vbulletin->options['navbar_forumjump_showusersonly']))
----------------------------------


2. Make some edits to your navbar template
----------------------------------
:::: Find:
Code:
	<if condition="$show['registerbutton']">
		<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
	</if>
:::: Add this after it:
Code:
	$template_hook[navbar_buttons_left]
----------------------------------
:::: Find:
Code:
	<if condition="$show['member']">
		<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
	</if>
:::: Add this before it:
Code:
	$template_hook[navbar_buttons_right]
----------------------------------

Upload and install the modified XML file, and hope it works.
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 07:09 PM.


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.05779 seconds
  • Memory Usage 2,325KB
  • Queries Executed 24 (?)
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
  • (10)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete