vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Plugins can't add new links to navbar/quick links (https://vborg.vbsupport.ru/showthread.php?t=321118)

bfdzio 12-17-2015 12:55 PM

Plugins can't add new links to navbar/quick links
 
I had recently installed a plugin and noticed that the links weren't showing up where it said they should. I assumed this was a bug with the plugin and carried on with a plan to just manually insert them. However I noticed another plugin that I had previously disabled but I needed to use again didn't put the links where they should be either. I uninstalled and then re-installed it with the updated version even and it still didn't do it.

So does anyone have any idea on this or solutions for me? Could manually having added links before messed this up?

squidsk 12-17-2015 02:18 PM

You've upgraded to your forum 4.2.x. As of 4.2 navigation items are controlled through the navigation manager in admincp and not through plugins.

The navigation manager is found at admincp->settings->navigation manager.

Dragonsys 12-17-2015 02:35 PM

If the plugin was written prior to v4.2 then it will not add Nav Tabs properly. The code for adding tabs changed in v4.2.

What plugin are you trying to use?

Quote:

Originally Posted by squidsk (Post 2560679)
As of 4.2 navigation items are controlled through the navigation manager in admincp and not through plugins.

Correct, however, plugins can still add tabs during install

squidsk 12-17-2015 04:32 PM

Quote:

Originally Posted by Dragonsys (Post 2560683)
If the plugin was written prior to v4.2 then it will not add Nav Tabs properly. The code for adding tabs changed in v4.2.

What plugin are you trying to use?



Correct, however, plugins can still add tabs during install

If the plugin has not been updated to do so then no it won't. Many plugins, even one of mine, have not been updated to add the navlink. Just because a plugin can do something does not mean that it does.

Dragonsys 12-17-2015 05:59 PM

Quote:

Originally Posted by squidsk (Post 2560694)
If the plugin has not been updated to do so then no it won't. Many plugins, even one of mine, have not been updated to add the navlink. Just because a plugin can do something does not mean that it does.

that is what I said...

Quote:

Originally Posted by Dragonsys (Post 2560683)
If the plugin was written prior to v4.2 then it will not add Nav Tabs properly. The code for adding tabs changed in v4.2.


bfdzio 12-17-2015 07:08 PM

Ahh, makes sense. Yeah I am aware of the nav manager and whatnot and use it but I didn't know that older plugins wouldn't work with it. Makes sense. Thanks everyone, was worried I was gonna be hunting for some piece of edited code I did awhile ago that is causing a problem.


All times are GMT. The time now is 08:37 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.00959 seconds
  • Memory Usage 1,722KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete