vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   End-User Options - Navbar Forumjump- Adds a DHTML "Forum Jump" menu to your Navbar (https://vborg.vbsupport.ru/showthread.php?t=157353)

Smoothie 09-18-2007 01:23 AM

quick question. when set to "Show Link to Last Post in Forum", hovering over the link gives me a $vbphrase[go_to_last_post]

Smoothie 09-18-2007 01:24 AM

Quote:

Originally Posted by Analogpoint (Post 1341377)

EDIT2: Also be sure and add the vertical bar divider between the forum jump menu and the Register link :)

Thanks, forgot about that.

Smoothie 09-18-2007 01:33 AM

Any word on why this is happening:
https://vborg.vbsupport.ru/showpost....&postcount=101

yoyoyoyo 09-18-2007 02:15 AM

Quote:

Originally Posted by Analogpoint (Post 1340987)
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.

Analogpoint 09-18-2007 04:43 AM

Quote:

Originally Posted by Smoothie (Post 1341384)
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 (Post 1341404)
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 (Post 1341404)
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. :)

michaelsilvia 09-18-2007 04:52 AM

Always fun getting ignored. :(

yoyoyoyo 09-18-2007 04:53 AM

Quote:

Originally Posted by Analogpoint (Post 1341445)
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.

yoyoyoyo 09-18-2007 04:59 AM

WOOT! I just installed 1.0.7 and it is all fixed - thanks much!

Analogpoint 09-18-2007 06:00 AM

Quote:

Originally Posted by michaelsilvia (Post 1341447)
Always fun getting ignored. :(

Sorry, it wasn't on purpose. :(

Quote:

Originally Posted by michaelsilvia (Post 1339872)
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.

Analogpoint 09-18-2007 06:12 AM

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 (Post 1341448)
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. :)


All times are GMT. The time now is 05:10 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.01331 seconds
  • Memory Usage 1,751KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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