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)
-   -   Miscellaneous Hacks - navbar forumjump dropdown (https://vborg.vbsupport.ru/showthread.php?t=134482)

teeech 12-31-2006 03:56 AM

Any update on getting it to work on an cmps index page or what I should change in the plugin?

Very useful feature, but not so helful unless it works on my portal page. Any help is appreciated.

Also, what section of the code would be changed/repeated in the instance of multiple parent forums?

4x4 Mecca 03-12-2007 06:01 PM

Can't you make it list all forums? There may already be a hack for that, I'm not sure.

MelH 04-03-2007 01:57 AM

Quote:

Originally Posted by teeech (Post 1147877)
Any update on getting it to work on an cmps index page or what I should change in the plugin?

Very useful feature, but not so helful unless it works on my portal page. Any help is appreciated.

Also, what section of the code would be changed/repeated in the instance of multiple parent forums?

I agree, it?s a great hack but it needs to work on vBadvanced CMPS pages and show all forums, not just those in one category.

Usually with vBa CMPS the fix is to put the full url somewhere in the navbar code additions but I cant see where to do that.

Can anyone help?

MelH 04-03-2007 02:28 AM

Woo hoo!

I was digging around in the vBa CMPS forums and found the solution to the problem of this menu not working from their pages.

Go to Admin CP => vBa CMPS => Default Settings => Portal Output Global Variables

Add the word 'navbarforum' (without the quotes) to that setting. That just gets the drop down working.

Then, to make the links work -

In the plug in you created find the two instances of 'forumdisplay.php' and add the full url before.

This means change this:

$navbarforum .= "<tr><td class=\"vbmenu_option\"><a href=\"forumdisplay.php?f=".$navforumid."\" rel=\"nofollow\">".$navforumtitle."</a></td></tr>";

to this in two places.

$navbarforum .= "<tr><td class=\"vbmenu_option\"><a href=\"http://yourwebsite/forum/forumdisplay.php?f=".$navforumid."\" rel=\"nofollow\">".$navforumtitle."</a></td></tr>";

MelH 04-03-2007 12:29 PM

Just edited the fix for vBadvanced CMPS in the previous post of mine. The drop down works fine now.


All times are GMT. The time now is 06:56 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.01025 seconds
  • Memory Usage 1,725KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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