vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Where to Put Plug-in... (https://vborg.vbsupport.ru/showthread.php?t=96669)

evenmonkeys 09-21-2005 06:25 PM

Where to Put Plug-in...
 
I'm trying to add a custom navbar directly under my logo using plug-ins. Where would I put it?


PHP Code:

 
________________________________ 
|                                |
|                                |
|                                |
|
________________________________|
|
___|___|___|___|________________| <-- I wanna make that.
________________________________
|_________regular navbar_________


evenmonkeys 09-22-2005 07:55 PM

*twiddles his thumbs*

Marco van Herwaarden 09-22-2005 08:03 PM

You would put it in the navbar template.

Zachery 09-22-2005 08:26 PM

Quote:

Originally Posted by xYarub
I'm trying to add a custom navbar directly under my logo using plug-ins. Where would I put it?


PHP Code:

 
________________________________ 
|                                |
|                                |
|                                |
|
________________________________|
|
___|___|___|___|________________| <-- I wanna make that.
________________________________
|_________regular navbar_________


1. you would'nt use a plugin, you'd edit a template
2. Marco replied to this already :)

evenmonkeys 09-22-2005 11:41 PM

My question was not answered. I need to put PHP in there and I am not able to put PHP in templates. So I need to use a plugin. My question is where would I insert the plugin to put it DIRECTLY after the logo?

fly 09-22-2005 11:58 PM

I'm no genius at this stuff, but if the navbar is gonna be everywhere, id put it in global_start

Paul M 09-23-2005 12:07 AM

Perhaps you should clarify what you actually want to do - putting php in the 'navbar' doesn't make much sense.

evenmonkeys 09-23-2005 04:39 AM

I'm not asking for help with the php. I'm asking where to put the plugin. "Add New Plug-in" Then the drop-down list gives a million locations. I want to put it directly after the logo. I want to keep the normal navbar.

This is what I am doing...
I have the main website with a navigation bar directly under the banner. I would like to put the very same navigation bar below the very same banner on my forums. I also want the regular navigation bar that comes with the forums to remain where it is. The reason I am doing this is because I do not want to edit two different navbars whenever I change something. I'd rather they both come from the same source.

Thus, I am trying to do it via plug-ins.


All times are GMT. The time now is 12:28 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.01098 seconds
  • Memory Usage 1,730KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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