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
  #102  
Old 09-18-2007, 01:23 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

quick question. when set to "Show Link to Last Post in Forum", hovering over the link gives me a $vbphrase[go_to_last_post]
Reply With Quote
  #103  
Old 09-18-2007, 01:24 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Analogpoint View Post

EDIT2: Also be sure and add the vertical bar divider between the forum jump menu and the Register link
Thanks, forgot about that.
Reply With Quote
  #104  
Old 09-18-2007, 01:33 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any word on why this is happening:
https://vborg.vbsupport.ru/showpost....&postcount=101
Reply With Quote
  #105  
Old 09-18-2007, 02:15 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Analogpoint View Post
This is a problem with the vB core. The forum jump menu is showing for the same reason that the 'register' link is not showing and the 'search' dropdown is showing instead of just a link to the search page. If, after logging out, you go to the forum home page, you will get the register link, as well as just the 'search' link instead of a drop-down.

But in any case, this is *not* a problem, since the *only* way to get to that page and view the forumjump dropdown, is to actually have the privileges and then log out.

There's not much I can do about it, since at that point the vB core code tells me that the user is still a member-- ie the $show[member] variable still evaluates to true.
since the problem seems to be viewing the forum jump menu after a user logs out, and is sent to the login.php page automatically, can't you just add this conditional around the code?
Quote:
<if condition="THIS_SCRIPT !== 'login'">plugin code goes here</if>
and it actually IS a problem, because as I pointed out, guests can view the moderator only forums - that pic I posted was a registered user account, not my admin account, and as you can see the moderator forums are visible to guests - I do not want that.
Reply With Quote
  #106  
Old 09-18-2007, 04:43 AM
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
Posts: 656
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Smoothie View Post
quick question. when set to "Show Link to Last Post in Forum", hovering over the link gives me a $vbphrase[go_to_last_post]
Fixed in 1.0.7 (also includes the fixes from the strawberry smoothie 'release')

Quote:
Originally Posted by yoyoyoyo View Post
since the problem seems to be viewing the forum jump menu after a user logs out, and is sent to the login.php page automatically, can't you just add this conditional around the code?
added

Quote:
Originally Posted by yoyoyoyo View Post
and it actually IS a problem, because as I pointed out, guests can view the moderator only forums - that pic I posted was a registered user account, not my admin account, and as you can see the moderator forums are visible to guests - I do not want that.
Hmmm, how are you only displaying the menu to your mods? The plugin only has a setting for displaying to logged in members or to everybody.

That being said there is still no problem, since each user will only see the forums that they have permission to see (just like when viewing the forum home page). And even with out the conditional I added, no user could see any forums they didn't already have permission to see, since the user (with proper permissions) would have to be logged in first, then log out to see the page from your screenshot. Unless of course a moderator logged out, left their browser window open, and then a regular user sat down at the same computer and look at the menu. And even in that case, they could only see the forum titles, and wouldn't be able to enter the forums.

In conclusion, guests can't see your moderator forums.
Reply With Quote
  #107  
Old 09-18-2007, 04:52 AM
michaelsilvia michaelsilvia is offline
 
Join Date: Jul 2005
Location: South Korea
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Always fun getting ignored.
Reply With Quote
  #108  
Old 09-18-2007, 04:53 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Analogpoint View Post
In conclusion, guests can't see your moderator forums.
Well, that is the problem - I think you are misunderstanding me - I did not create an option to only show this to guest or to mods, etc. - the menu displays forums that the guests shouldn't see - the moderator forums - upon logout in the "Forum Jump" menu on the "login.php" page, which is what I have been saying all along. I guess I am the only one having this problem, so I will drop it.
Reply With Quote
  #109  
Old 09-18-2007, 04:59 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WOOT! I just installed 1.0.7 and it is all fixed - thanks much!
Reply With Quote
  #110  
Old 09-18-2007, 06:00 AM
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
Posts: 656
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by michaelsilvia View Post
Always fun getting ignored.
Sorry, it wasn't on purpose.

Quote:
Originally Posted by michaelsilvia View Post
Installed it again, but nothing shows up.

http://www.sportscardforum.com

I searched and found:

$template_hook[navbar_buttons_left]

In my navigation bar. I checked and it is turned on. Any idea?
If you're running vB 3.6.8 and import/overwrite the product with version 1.0.7 it should show up by default.

It looks like you have some other mods that quite possibly use the same template hook $template_hook[navbar_buttons_left] probably one of those is overwriting the contents of the template hook instead of adding to it.

I looked at your source code and the hidden menu is actually there, just the link that is attached to the navbar is missing.

Try one of these options:
1. Fix the offending mod(s).
2. Try putting the forumjump menu on the right side of your navbar (in the options)
3. Try manually adding the $forumjumpmenu and $forumjumphidden variables to your templates
4. Change the execution order of the plugins that muck with the $template_hook[navbar_buttons_left] variable and put the forumjump menu plugin last (give it a high execution number), so that if another plugin is overwriting the variable, the forumjump will be added last.
Reply With Quote
  #111  
Old 09-18-2007, 06:12 AM
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
Posts: 656
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NOTE: This issue is cleared up in version 1.0.7, with a workaround for the fact that vB doesn't update the logged in status for the logout page before the plugin code is called.

Quote:
Originally Posted by yoyoyoyo View Post
the menu displays forums that the guests shouldn't see - the moderator forums - upon logout in the "Forum Jump" menu on the "login.php" page
Yes, you are correct, forums that guests shouldn't see are (were in v. 1.0.6) displayed on the forumjump menu when a moderator logs out. BUT, if a guest browsed to the login.php page, they would NOT see the forumjump menu. The only way someone could see it would be to actually log in, and then log out. After you log out, if you hit refresh to re-load the login.php page, the forumjump menu would disappear. So, guests never were able to see forums they didn't have permission to see. I just wanted to clear that up.
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 10:14 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.05142 seconds
  • Memory Usage 2,340KB
  • Queries Executed 28 (?)
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_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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)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
  • (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_postinfo_query
  • fetch_postinfo
  • 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