Aussiemike Posted February 12, 2016 Report Share Posted February 12, 2016 Hi Guys,Used Openx some years back and a little rusty.I have two domains active.When I click on one it gives me an two invocation codes.One for the head and one where I want the banner in the html.Then in the zone section I get another code.Can someone simplify what is to go where at at waht time.Sorry boys. Getting old.CheersMike Quote Link to comment Share on other sites More sharing options...
Erik Geurts Posted February 12, 2016 Report Share Posted February 12, 2016 Welcome to Revive Adserver, good to have you back :)I would recommend using just the async codes generated for the zones, they're the most modern and the fastest implementation. Quote Link to comment Share on other sites More sharing options...
Aussiemike Posted February 12, 2016 Author Report Share Posted February 12, 2016 Wow that was quick. Thanks Erik.You mean ignore all the others?Just that one longer code in the body?One more question if you don't mind.Is there a delay on when I generate the code and publish?Seems I put it up but is not showing for some time.Control F5 and all.Cheers from KenyaAussiemike Quote Link to comment Share on other sites More sharing options...
Erik Geurts Posted February 12, 2016 Report Share Posted February 12, 2016 The async code for the body is actually very short (just 2 lines if I'm not mistaken). Quote Link to comment Share on other sites More sharing options...
Aussiemike Posted February 12, 2016 Author Report Share Posted February 12, 2016 Codes 1/ &1a are generated from the domain zoneCode 2/ is from the banner generation.How do I differentiate? Thanks again for you time Erik.CheersMike=================1/THIS IS THE ONE I AM TOLD TO PLACE IN THE HEAD<!-- Generated by OpenX 2.8.1 --><script type='text/javascript' src='http://example.com/adserver/www/delivery/spcjs.php?id=2'></script> 1a/TOGETHER WITH THIS ONE TO BE PUT IN THE BODY<script type='text/javascript'><!--// <![CDATA[ /* [id2] Aussiemike domain - Intro */ OA_show(2);// ]]> --></script>======================2/THE OTHER IS THIS ONE THAT IS GENERATED FOR A BANNER<script type='text/javascript'><!--//<![CDATA[ var m3_u = (location.protocol=='https:'?'https://example.com/adserver/www/delivery/ajs.php':'http://dianibeach.net/adserver/www/delivery/ajs.php'); 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=4"); document.write ('&cb=' + m3_r); if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used); document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : '')); document.write ("&loc=" + escape(window.location)); if (document.referrer) document.write ("&referer=" + escape(document.referrer)); if (document.context) document.write ("&context=" + escape(document.context)); if (document.mmm_fo) document.write ("&mmm_fo=1"); document.write ("'><\/scr"+"ipt>");//]]>--></script>====================== Quote Link to comment Share on other sites More sharing options...
Erik Geurts Posted February 12, 2016 Report Share Posted February 12, 2016 This is an extremely old version of OpenX Source, likely to be hacked at any time (especially after you posted your actual domain, which I removed).I recommend upgrading to the latest version of Revive Adserver as soon as possible. Quote Link to comment Share on other sites More sharing options...
Aussiemike Posted February 13, 2016 Author Report Share Posted February 13, 2016 Thanks for the heads up Erik.In the middle of upgrading now.Taking ages from here in Kenya.When reading the upgrade notes I found many language mistakes.Where would you suggest I send corrections? Make it easier for others following.Thanks againMike Quote Link to comment Share on other sites More sharing options...
andrewatfornax Posted February 15, 2016 Report Share Posted February 15, 2016 Hi @Aussiemike,Please see https://www.revive-adserver.com/blog/translations-for-revive-adserver/ re: helping out with translations.Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.