vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Adding Ads Conflicts with Menu (https://vborg.vbsupport.ru/showthread.php?t=81209)

GCA-Shawn 05-09-2005 07:42 PM

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:

sully02 10-27-2005 02:24 AM

I'd like to bump this. I am having the same issue on my forums.

In need 01-01-2006 08:33 PM

me too, please help


All times are GMT. The time now is 02:28 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.01640 seconds
  • Memory Usage 1,725KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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