Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-18-2006, 10:30 PM
lem's Avatar
lem lem is offline
 
Join Date: May 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:12 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.03529 seconds
  • Memory Usage 2,180KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_html
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete