Jump to content

Recommended Posts

Posted

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.

Cheers

Mike

Posted

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 Kenya

Aussiemike

Posted

Codes 1/ &1a are generated from the domain zone

Code 2/ is from the banner generation.

How do I differentiate?

 

Thanks again for you time Erik.

Cheers

Mike

=================

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 ('&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>

======================

Posted

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.

Posted

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 again

Mike

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...