vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Forum Jump in Navbar (https://vborg.vbsupport.ru/showthread.php?t=62493)

sv1cec 09-21-2004 06:37 AM

Nice hack, just installed it.

However, I noticed that it does not evaluate the permissions of the user, in order to show the proper forums. I have a forum which is viewable only by the admin and the mods and it does not show up in the list.

Of course, neither does the normal Forum Jump, but do you have any idea where that forums list is constructed to see if I can alter it to include admin/mod only forums, depending on the user?

Tnx and congrats
---------
John

Lionel 09-25-2004 04:21 PM

For those of us who have vbadvanced, how do you hardcode the various forums?

cnczone 11-18-2004 03:53 AM

Where do I place to code in the navbar template????

firstimecaller 12-09-2005 11:55 AM

any chance of getting this ported to 3.5.x as a plugin?

prettyboi 01-30-2006 09:57 AM

OMG this is what I have been waiting for. Okay, I understand about the jump forum but is there anyways I can make it to where it just say FORUM instead of Jump Forum?

firstimecaller 01-30-2006 01:10 PM

just change the link text

edit: to do this, change the
Code:

$vbphrase[forum_jump]
with whatever you want it to say

firstimecaller 04-10-2006 08:48 PM

Quote:

Originally Posted by firstimecaller
any chance of getting this ported to 3.5.x as a plugin?

seriously, this is the best implementation of this type of hack I've yet seen. can we get it working for 3.5.x ?

firstimecaller 04-14-2006 08:56 AM

OK, if you are running 3.5.x, seems this works fine if you use the plugin system to put the phpinclude_start part into a global start hook. This template doesn't exist for 3.5.x

enjoy!

nelto 04-21-2006 09:14 PM

Quote:

Originally Posted by firstimecaller
OK, if you are running 3.5.x, seems this works fine if you use the plugin system to put the phpinclude_start part into a global start hook.

Care to explain this a bit more detailed?

Thank you.

firstimecaller 04-21-2006 09:39 PM

Quote:

Originally Posted by nelto
Care to explain this a bit more detailed?

Thank you.

I'll try.

The part that is supposed to go into the phpinclude_start template is:
PHP Code:

$donavjump true;
construct_forum_jump();
$navjump $forumjump;
unset(
$donavjump$forumjump$jumpforumbits$optionselected$usecategories$jumpforumid$jumpforumtitle$curforumid$daysprune$defaultselected); 

so you take that part and make a new plugin

AdminCP>PluginSystem>Plugin Manager
hit link at bottom of page to add new plugin
Leave product as vBulletin
hook location is global_start
give it a title you can remember, like forum menu
then put all the above code in the code box. the rest of the mod you do just like the rest of the instructions.

This change is necessary because the new plugin system in 3.5.x has removed the php_include templates.

Hope that helps


All times are GMT. The time now is 10:53 AM.

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.00969 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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