The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Advertising leader board and skyscraper on every page

2 posters

Go down

Advertising leader board and skyscraper on every page Empty Advertising leader board and skyscraper on every page

Post by thunderball99 October 2nd 2009, 2:38 am

I've been trying to get this working for days and just can't figure it out. I need to place ads on every page of the message board. One preferably above message board banner and the other to the right or left of the message board. The ad program that I am using (OpenX) has generated the code that I need to insert.

Leader Board Ad code

<!--/* OpenX Javascript Tag v2.8.1 */-->

<!--/*
* The backup image section of this tag has been generated for use on a
* non-SSL page. If this tag is to be placed on an SSL page, change the
* 'http://www.xxxxx.com/openx/www/delivery/...'
* to
* 'https://www.xxxxx.com/openx/www/delivery/...'
*
* This noscript section of this tag only shows image banners. There
* is no width or height in these banners, so if you want these tags to
* allocate space for the ad before it shows, you will need to add this
* information to the <img> tag.
*
* If you do not want to deal with the intricities of the noscript
* section, delete the tag (from <noscript>... to </noscript>). On
* average, the noscript tag is called from less than 1% of internet
* users.
*/-->

<script type='text/javascript'><!--//<![CDATA[
var m3_u = (location.protocol=='https:'?'https://www.xxxxx.com/openx/www/delivery/ajs.php':'http://www.xxxxx.com/openx/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=1");
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='http://www.xxxxx.com/openx/www/delivery/ck.php?n=a3eae916&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://www.xxxxx.com/openx/www/delivery/avw.php?zoneid=1&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a3eae916' border='0' alt='' /></a></noscript>



Skyscraper code

<!--/* OpenX Javascript Tag v2.8.1 */-->

<!--/*
* The backup image section of this tag has been generated for use on a
* non-SSL page. If this tag is to be placed on an SSL page, change the
* 'http://www.xxxxx.com/openx/www/delivery/...'
* to
* 'https://www.xxxxx.com/openx/www/delivery/...'
*
* This noscript section of this tag only shows image banners. There
* is no width or height in these banners, so if you want these tags to
* allocate space for the ad before it shows, you will need to add this
* information to the <img> tag.
*
* If you do not want to deal with the intricities of the noscript
* section, delete the tag (from <noscript>... to </noscript>). On
* average, the noscript tag is called from less than 1% of internet
* users.
*/-->

<script type='text/javascript'><!--//<![CDATA[
var m3_u = (location.protocol=='https:'?'https://www.xxxxx.com/openx/www/delivery/ajs.php':'http://www.xxxxx.com/openx/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=1");
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='http://www.xxxxx.com/openx/www/delivery/ck.php?n=a3eae916&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://www.xxxxx.com/openx/www/delivery/avw.php?zoneid=1&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a3eae916' border='0' alt='' /></a></noscript>
avatar
thunderball99
New Member

Posts : 3
Reputation : 0
Language : english

Back to top Go down

Advertising leader board and skyscraper on every page Empty Re: Advertising leader board and skyscraper on every page

Post by rnikhan October 2nd 2009, 5:43 pm

For placing leader board just go to your admin panel>general>announcements. then add a new announcement and copy code there.
For skyscrapper add go to your admin panel>modules>Forum widget management, click on new widget and add ad code there. I m placing codes in this manner. Hope it work for you also. Very Happy
avatar
rnikhan
Forumember

Male Posts : 74
Reputation : 0
Language : english
Location : bhopal

http://paid2post.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum