vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How do I include this above the header? (https://vborg.vbsupport.ru/showthread.php?t=105674)

lem 01-18-2006 10:30 PM

How do I include this above the header?
 
I'm trying to use 3.5's plugin manager to include a navigation bar on my forum. However, when I do this it makes my forum way too wide and gives it a horizontal scroll bar.

Go to www.duramaxforum.com The thing I'm trying to include is that little bar at the top that says "Diesel Network". On 3.0.x there were never any problems. Anyways, I have this as the Plugin PHP Code:


PHP Code:

{
include 
'http://www.dieselnetwork.com/header2.html';


Hook Location: global_complete.

I've tried several hook locations and they all seem to have the same result. As far as the forum resulting in having a horizontal navbar and not being able to see everything on the screen.

Here is the code for the include file (header2.html)

HTML Code:

<style>
html, body {
 margin:0;
}
#networkMenu {
 position:fixed;
 z-index:10000;
 margin-top: 0px;
 left: 0px;
 width:100%;
 background-image: url(http://www.dieselnetwork.com/images/dn_topper_bg3.jpg);
 text-align:right;
}
#networkMenu form {
 display:inline;
}
#networkMenu img {
 float:left;
}
</style>
 
 <div id="networkMenu">
 <a href="http://www.dieselnetwork.com" target="_blank">
  <img src="http://www.dieselnetwork.com/images/dn_topper3.jpg" border="0">
 </a>
 <!----- start drop down - links open in new window ----->
 <form method="post" action="" name="">
 <select name="select14" onChange="window.open(this.options[this.selectedIndex].value,'_blank')">
 <option selected>Diesel Network</option>
 <option>---------------------</option>
 
 <option value="http://www.dieselnetwork.com">About Diesel Network</option>
 <option value="http://www.dieselnetwork.com">Advertising</option>
 <option value="http://www.dieselnetwork.com">Diesel Thunder</option>
 <option value="http://www.dodgedieseldatabase.com/market_place.htm">Market Place</option>
 </select>
 </form>
 <!----- end drop down new window ----->
 
 <!----- start drop down - links open in new window ----->
 <form method="post" action="" name="">
 <select name="select15" onChange="window.open(this.options[this.selectedIndex].value,'_blank')">
 <option selected>Select a Database</option>
 <option>---------------------</option>
 <option value="/">Powerstroke Database</option>
 <option value="http://www.dodgedieseldatabase.com">Cummins Database</option>
 <option value="/">Duramax Database</option>
 </select>
 </form>
 <!----- end drop down new window ----->
 
 <!----- start drop down - links open in new window ----->
 <form method="post" action="" name="">
 <select name="select16" onChange="window.open(this.options[this.selectedIndex].value,'_blank')">
 <option selected>Select a Forum</option>
 <option>---------------------</option>
 <option value="http://www.powerstrokeforum.com">Powerstroke Forum</option>
 <option value="http://www.cumminsforum.com">Cummins Forum</option>
 <option value="http://www.duramaxforum.com">Duramax Forum</option>
 <option value="http://www.nissantitanforum.com">Nissan Titan Forum</option>
 </select>
 </form>
 <!----- end drop down new window ----->
 
</div>

Any ideas on how to fix this? What hook should I use for this location?

Thanks,

Lem

Anyone?

Help Anyone?


All times are GMT. The time now is 09:29 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.01072 seconds
  • Memory Usage 1,731KB
  • 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_html_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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