View Single Post
  #125  
Old 07-26-2006, 12:08 PM
BiReL41r BiReL41r is offline
 
Join Date: Nov 2005
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi! I'm having some issues putting the iTrade dropdown on my navbar...

For some reason, it's show up like it should, except there's no background like the rest of the buttons. Do you have a possible diagnosis?

Here's some more info;

The current template I have, stores the navbar info in the headerpostbit

Here's my header, with your script bolded;

Code:
<!-- logo -->
<if condition="$bbuserinfo['pmunread']">
<div id="infobar"><a href="http://www.yourforums.com/private.php"><p>You have an Unread Private Message, Click here to view. . .</p></a></div>
</if>
<a name="top"></a>
<div style="width: $stylevar[outertablewidth]px; margin: 0 auto;">
<div class="topnav">
<ul>
<li><a href="$vboptions[forumhome].php?$session[sessionurl]" title="$vboptions[bbtitle]">$vboptions[bbtitle]</a></li>
<li><a href="advertising.php?$session[sessionurl]" title="Advertising Information">Advertising Information</a></li>
<li><a href="$vboptions[contactuslink]" title="$vbphrase[contact_us]">$vbphrase[contact_us]</a></li>
</ul>
</div>

<a href="http://www.site5.com/affiliates/idevaffiliate.php?id=740" title="Web Hosting"><img src="http://www.site5.com/affiliates/banners/site5-468x60c.gif" border="0" alt="Web Hosting" style="float: right; padding: 7px;" title="Web Hosting" /></a>

<a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>

<!-- nav buttons bar -->
<div align="center">
	<table class="navigation" cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
	<tr align="center">	
		<!--<td><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>-->
		
		<if condition="$show['member']">
			<td><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
		</if>
		<if condition="$show['registerbutton']">
			<td><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
		</if>
		<td><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
		<td><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
		<td><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<!-- iTrader Extension Navbar -->
		<if condition="$show['popups']">
			<td id="itrader_ext" class="vbmenu_control"><a href="#itrader_ext">$vbphrase[itrader]</a><script type="text/javascript"> vbmenu_register("itrader_ext");</script></td>
		<else />
			<td id="itrader_ext" class="vbmenu_control"><a href="itrader_main.php?$session[sessionurl]">$vbphrase[itrader]</a></td>
		</if>
		<!-- End iTrader Extension Navbar -->
		<if condition="$show['popups']">		
			<if condition="$show['searchbuttons']">
				<if condition="$show['member']">
				<td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
				<else />
				<td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
				</if>
				<td id="navbar_search"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
			</if>
			<if condition="$bbuserinfo['userid']">
				<td id="usercptools"><a href="#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>		
			</if>
		<else />		
			<if condition="$show['searchbuttons']">
				<td><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[search]</a></td>
				<if condition="$show['member']">
				<td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
				<else />
				<td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
				</if>
			</if>
			<td><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td>
			<if condition="$bbuserinfo['userid']">			
				<td><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>			
			</if>			
		</if>
		<if condition="$show['member']">
			<td><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
		</if>
	</tr>
	</table>
</div>
<!-- / nav buttons bar -->
</div>
<!-- /logo -->
<center><script type="text/javascript"><!--
google_ad_client = "pub-0224615960946416";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "566B79";
google_color_bg = "E7EBED";
google_color_link = "374248";
google_color_text = "000000";
google_color_url = "303A41";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center>
<!-- content table -->
$spacer_open

$_phpinclude_output

Here's my forum homepage;

http://thebuyselltradeforum.com/usercp.php

As you can see, it works, but the visuals are messed up. A diagnosis would surely make my day!
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01100 seconds
  • Memory Usage 1,791KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)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 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete