View Full Version : Can anyone suggest a fix for this?
cleck673
12-08-2004, 03:24 AM
http://sknight.aximsite.com/overlap.gif
I can not get this to stop happening.
cleck673
12-08-2004, 03:25 AM
Also, does anyone know the code to show something on all pages except one using if statements. something like, IF X does not equal XXXX, then...
Boofo
12-08-2004, 03:52 AM
You can try this template conditional:
if (THIS_SCRIPT != "index")
code here
</if>
and change index to whatever file you don't want it to show in. ;)
cleck673
12-08-2004, 04:11 AM
Thanks !!! Any ideas about the menus?
cleck673
12-08-2004, 02:49 PM
Boofo - Worked great. Thanks!!!
Boofo
12-08-2004, 02:54 PM
Boofo - Worked great. Thanks!!!
Glad I could help. ;)
I don't have any ideas on the menu problem, though. Sorry. :(
cleck673
12-15-2004, 11:58 PM
Has anyone not found a fix for these menus? If there is one and someone has found a thread discussing it, please share? I cannot find.
amykhar
12-16-2004, 12:00 AM
Yeah, I had the same problem a while back. Don't place the code at the bottom of the navbar template. Place it above the code for the dropdown menus. You'll have to poke around a bit to find the right place.
cleck673
12-16-2004, 12:20 AM
Amy, hey! Thanks for the help. I do not follow you though. PLace the Ad code somewhere else?
amykhar
12-16-2004, 12:23 AM
Look for this: <!-- / NAVBAR POPUP MENUS -->
</if> in the navbar template and put it right below that.
cleck673
12-16-2004, 12:44 AM
Thanks, that is in effect where I had it. ( I am adding $50 get a fix )
amykhar
12-16-2004, 12:51 AM
paste the code from your template here. use the code tags so it'll show right.
cleck673
12-16-2004, 01:51 AM
OK. I have the menus in my header now. I will list them both:
HEADER
<!-- logo -->
<center><table width="100%" border="0" cellpadding="0" cellspacing="0" background="http://www.ipaqhq.com/forums/grey/gree_06.jpg">
<tr>
<TD width="250"><a href="http://www.ipaqhq.com"><img src="http://www.ipaqhq.com/forums/grey/topleftlogo.jpg" border=0 width="250" height="107" /></a>
</TD>
<TD width="100%" valign="middle" align="right">
<script language='JavaScript' type='text/javascript'>
<!--
if (!document.phpAds_used) document.phpAds_used = ',';
document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
document.write ("http://aximsite.com/ads/adjs.php?n=a299ba21");
document.write ("&what=zone:57");
document.write ("&exclude=" + document.phpAds_used);
if (document.referer)
document.write ("&referer=" + escape(document.referer));
document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://aximsite.com/ads/adclick.php?n=a299ba21' target='_blank'><img src='http://aximsite.com/ads/adview.php?what=zone:57&n=a299ba21' border='0' alt=''></a></noscript>
</TD>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="http://www.ipaqhq.com/forums/grey/abovenavleft.jpg" width="26" height="48"></td>
<td background="http://www.ipaqhq.com/forums/grey/abovenavmid.jpg" width="100%" valign="top">
<!-- nav buttons bar -->
<div align="center">
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr align="center">
<td class="vbmenu_top"><a href="http://www.ipaqhq.com">Home</a></td>
<if condition="$show['registerbutton']">
<td class="vbmenu_top"><a href="http://www.ipaqhq.com/forums/register.php?$session[sessionurl]">$vbphrase[register]</a></td>
</if>
<td id="forums" class="vbmenu_top"><a href="#link">Forums</a> <script type="text/javascript"> vbmenu_register("forums"); </script></td>
<td id="resources" class="vbmenu_top"><a href="#link">Resources</a> <script type="text/javascript"> vbmenu_register("resources"); </script></td>
<td id="shopping" class="vbmenu_top"><a href="#link">Shopping</a> <script type="text/javascript"> vbmenu_register("shopping"); </script></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<td id="navbar_search" class="vbmenu_top"><a href="search.php?$session[sessionurl]">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
</if>
<if condition="$bbuserinfo['userid']">
<td id="usercptools" class="vbmenu_top"><a href="#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td class="vbmenu_top"><a href="search.php?$session[sessionurl]">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="vbmenu_top"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_top"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="vbmenu_top"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td>
<if condition="$bbuserinfo['userid']">
<td class="vbmenu_top"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
<td id="admin" class="vbmenu_top"><a href="#link">Admin</a> <script type="text/javascript"> vbmenu_register("admin"); </script></td>
<if condition="$bbuserinfo['userid']">
<td class="vbmenu_top"><a href="login.php?$session[sessionurl]do=logout" onclick="return log_out()">$vbphrase[log_out]</a></td>
</if>
<td align=right><a href="http://www.ipaqhq.com/forums/external.php"><img src="http://www.ipaqhq.com/xml.gif" border=0"></a></td>
</tr>
</table></div>
<!-- / nav buttons bar -->
<br />
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<!-- / Forums menu -->
<div class="vbmenu_popup" id="forums_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">Forums Menu</td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums">Forums Home</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/search.php?$session[sessionurl]do=getnew">View New Posts</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/search.php?$session[sessionurl]do=getdaily">Todays Posts</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/faq.php?faq=vb_faq">Forum FAQs</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/memberlist.php?$session[sessionurl]">$vbphrase[members_list]</a></td></tr>
<tr><td class="thead">Forum Categories</td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/forumdisplay.php?f=3">General Forums</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/forumdisplay.php?f=4">Device Forums</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/forumdisplay.php?f=35">Hardware Forums</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/forumdisplay.php?f=5">Software Forums</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/forumdisplay.php?f=1">Admin Forums</a></td></tr>
</table>
</div>
<!-- / Forums menu -->
<!-- / Resources menu -->
<div class="vbmenu_popup" id="resources_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">Ipaq Resources</td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/articles/index.php?action=displaycat&catid=3">Reviews</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/links/index.php">Links</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/articles/index.php?action=displaycat&catid=1">Tutorials</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/articles/index.php?action=displaycat&catid=2">Support FAQs</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/index.php?page=models">Current Models</a></td></tr>
</table>
</div>
<!-- / Resources menu -->
<!-- / Shopping menu -->
<div class="vbmenu_popup" id="shopping_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">Shopping Menu</td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/forumdisplay.php?f=39">Classifieds</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.buygpsnow.com/affiliate.aspx?affid=4&siteid=cb_ipaqhq">Hardware</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.handango.com/ampp/store/PlatformHome.jsp?siteId=1120&platformId=2">Software</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/forumdisplay.php?f=31">Discounts</a></td></tr>
</table>
</div>
<!-- / Shopping menu -->
<!-- / Admin menu -->
<div class="vbmenu_popup" id="admin_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">Administration</td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/sendmessage.php">Contact Us</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.leckmedia.com/advertising/ipaqhqadvertising.html">Advertising</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.leckmedia.com/cgi-bin/dada/mail.cgi?f=list&l=iPaqHQ">Newsletter</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/index.php?page=aboutus">About Us</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/sendmessage.php">Submit News</a></td></tr>
</table>
</div>
<!-- / Admin menu -->
<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="http://www.ipaqhq.com/forums/search.php" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="text" class="bginput" name="query" size="20" />$gobutton<br />
</form>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/search.php?$session[sessionurl]">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</div>
<!-- / header quick search form -->
</if>
<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
<tr><td class="thead"><a href="http://www.ipaqhq.com/forums/usercp.php?">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/vbgarage.php?do=editgarage">Edit MyPDA</a></td></tr>
<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/subscription.php?$session[sessionurl]">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="http://www.ipaqhq.com/forums/online.php?$session[sessionurl]">$vbphrase[whos_online]</a></td></tr></if>
</table>
</div>
<!-- / user cp tools menu -->
</if>
<!-- / NAVBAR POPUP MENUS -->
</if>
</td>
<td><img src="http://www.ipaqhq.com/forums/grey/abovenavright.jpg" width="26" height="48" /></td>
</tr>
</table>
<!--
NEW HEADER & NAVBAR
Now that the nav buttons are in the
navbar template, you can stick whatever
you like into this space.
This makes it much easier for novice
admins to customize their header
template without affecting important
navigation elements.
-->
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
cleck673
12-16-2004, 01:52 AM
NAVBAR
<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grays cale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>
<center>
<script type="text/javascript"><!--
google_ad_client = "pub-8295243452228673";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="";
google_ad_type = "text_image";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_url = "FF3300";
google_color_text = "003399";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="http://www.ipaqhq.com/forums/grey/gree_28.jpg" width="142" height="4"></td>
<td background="http://www.ipaqhq.com/forums/grey/gree_29.jpg" width="100%"></td>
<td><img src="http://www.ipaqhq.com/forums/grey/gree_30.jpg"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="http://www.ipaqhq.com/forums/grey/gree_32.jpg" width="142" height="21"></td>
<td class="alt5" background="http://www.ipaqhq.com/forums/grey/gree_33.jpg" width="100%"><font color="#FFFFFF"><center><b>Navigation</b></center></font></td>
<td><img src="http://www.ipaqhq.com/forums/grey/gree_34.jpg"></td>
</tr>
</table>
<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1)"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td> </td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php?$session[sessionurl]">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a> <strong>$navbits[lastelement]</strong></td>
</tr>
</table>
<else />
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
</if>
</td>
<if condition="$bbuserinfo['userid']">
<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<!--<span style="float:$stylevar[right]">[<a href="login.php?$session[sessionurl]do=logout" onclick="return log_out()">$vbphrase[log_out]</a>]</span>-->
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a>: $vbphrase[unread_nav] <if condition="$bbuserinfo['pmunread']"><strong>$bbuserinfo[pmunread]</strong><else />$bbuserinfo[pmunread]</if>, $vbphrase[total] $bbuserinfo[pmtotal].</if>
</div>
</td>
<else />
<td class="alt2" nowrap="nowrap" style="padding:0px">
<!-- login form -->
<form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)">
<script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont">$vbphrase[username]</td>
<td><input type="text" class="button" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont">$vbphrase[password]</td>
<td><input type="password" class="button" name="vb_login_password" size="10" accesskey="p" tabindex="2" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="4" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="forceredirect" value="1" />
<input type="hidden" name="vb_login_md5password" />
</form>
<!-- / login form -->
</td>
</if>
</tr>
</table>
<!-- / breadcrumb, login, pm info -->
</if>
<BR>
SVTBlackLight01
12-16-2004, 02:16 AM
Try adding the Adsense code under
<!-- / nav buttons bar -->
in your header template.
cleck673
12-18-2004, 12:39 AM
Same thing. :(
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.