View Single Post
  #1  
Old 05-09-2005, 07:42 PM
GCA-Shawn GCA-Shawn is offline
 
Join Date: Oct 2004
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Adding Ads Conflicts with Menu

Hey gang, got an annoying little bug that I'm not sure how to tackle. We need to put some ads on our forums due to a new contract and some of these ads are of the flash variety. Well, first off, here is our forum

http://forums.advancedmn.com/index.php?

The ads are removed for now, but we use a third party ad posting client so the code for entering this stuff is

Code:
<!-- BEGIN: AdSolution-Tag 4.1: Global-Code [PLACE IN HTML-HEAD-AREA!] -->
<script type="text/javascript" language="javascript" src="http://a.as-us.falkag.net/dat/dlv/aslmain.js"></script>
<script type="text/javascript" language="javascript" src="http://a.as-us.falkag.net/dat/dlv/aslsubs111.js"></script>
<!-- END: AdSolution-Tag 4.1: Global-Code -->
in the header and

Code:
<!-- BEGIN: AdSolution-Website-Tag 4.1 : advancedmn.com / Home_Exp_Leader_728x90_468x60 -->
<script language="javascript" type="text/javascript">
Ads_kid=0;Ads_bid=0;Ads_xl=0;Ads_yl=0;Ads_xp='';Ads_yp='';Ads_opt=0;Ads_wrd='[KeyWord]';Ads_prf='';Ads_par='';Ads_cnturl='';Ads_sec=0;Ads_channels='_GNM_18+,_GNM_Casino,_GNM_Dating,_GNM_Games,_GNM_QLook,_GNM_QPlus,_GNM_RON_CPC,_GNM_RON_J,_GNM_RON_Q';
</script>
<script type="text/javascript" language="javascript" src="http://a.as-us.falkag.net/dat/njf/41/advancedmn.com/home_exp_leader_728x90_468x60.js"></script>
<!-- END:AdSolution-Tag 4.1 -->
for where the banner goes.

Nothing special. I popped these into the templates for FORUMDISPLAY, FORUMHOME, etc etc wherever I need them.

If you click on the Menu button, then a little pop down menu appears and gives you more options. Well, whenever a flash ad appears on the site (cycled randomly) this drop down menu goes behind the ad, not in front of it. If it's a normal gif or jpeg ad, then everything is just dandy.

Here's how I coded it:

Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<meta name="description" content="$foruminfo[description]" />
<title>$vboptions[bbtitle] - $foruminfo[title]</title>
$headinclude
<!-- BEGIN: AdSolution-Tag 4.1: Global-Code [PLACE IN HTML-HEAD-AREA!] -->
<script type="text/javascript" language="javascript" src="http://a.as-us.falkag.net/dat/dlv/aslmain.js"></script>
<script type="text/javascript" language="javascript" src="http://a.as-us.falkag.net/dat/dlv/aslsubs111.js"></script>
<!-- END: AdSolution-Tag 4.1: Global-Code -->
</head>
<body>
$header
<!-- BEGIN: AdSolution-Website-Tag 4.1 : advancedmn.com / Home_Exp_Leader_728x90_468x60 -->
<script language="javascript" type="text/javascript">
Ads_kid=0;Ads_bid=0;Ads_xl=0;Ads_yl=0;Ads_xp='';Ads_yp='';Ads_opt=0;Ads_wrd='[KeyWord]';Ads_prf='';Ads_par='';Ads_cnturl='';Ads_sec=0;Ads_channels='_GNM_18+,_GNM_Casino,_GNM_Dating,_GNM_Games,_GNM_QLook,_GNM_QPlus,_GNM_RON_CPC,_GNM_RON_J,_GNM_RON_Q';
</script>
<script type="text/javascript" language="javascript" src="http://a.as-us.falkag.net/dat/njf/41/advancedmn.com/home_exp_leader_728x90_468x60.js"></script>
<!-- END:AdSolution-Tag 4.1 -->
$navbar


<if condition="$show['forumslist']">
 <!-- top category table setup -->
<table width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="140" height="27" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_ls.gif" width="140" height="27" alt=" " border="0" /></td>
    <td width="100%" class="tcat"

Thanks in advance for any ideas! :up:
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02290 seconds
  • Memory Usage 1,786KB
  • 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
  • (3)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