No announcement yet.

issue with ad_header_logo

  • Filter
  • Time
  • Show
Clear All
new posts

  • Ramjet
    started a topic issue with ad_header_logo

    issue with ad_header_logo

    Hello. Am experimenting with using the ad location templates rather than having to always manually go through different templates. Just been using a non-active style of course for testing purposes.

    Anyways, having a bit of a problem.

    I'm placing some banner invocation code from OpenX into the ad_header_logo template and it is causing the area below the header and above the navbar to disappear. Banners display fine, but for some reason the area where your name, and a link to your notifications, last visited, etc is on the left, and the forum navigation on the right.. this whole box just disappears when using the openX code in the ad_header_logo template. I have the header, then the navbar (userCP, Community, Search, Calendar, etc) but, the info box between the two vanishes.

    not sure what is going on. I've tried just typing in some text in the ad_header_logo template just to see, and it does not have the same effect, so it appears that there is something going on with the openX invocation code causing this to happen, though I have no idea what.

    For reference, here is the banner invocation code that I am trying to place there (with actual url's replaced):

                  <!--/* OpenX Javascript Tag v2.6.4 */-->
    <script type='text/javascript'><!--//<![CDATA[
       var m3_u = (location.protocol=='https:'?'':'');
       var m3_r = Math.floor(Math.random()*99999999999);
       if (!document.MAX_used) document.MAX_used = ',';
       document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
       document.write ("?zoneid=1&amp;target=_blank");
       document.write ('&amp;cb=' + m3_r);
       if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
       document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
       document.write ("&amp;loc=" + escape(window.location));
       if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
       if (document.context) document.write ("&context=" + escape(document.context));
       if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
       document.write ("'><\\/scr"+"ipt>");
    //]]>--></script><noscript><a href=';cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src=';n=a5fd150e' border='0' alt='' /></a></noscript>
    Thanks for any insight.

Related Topics