MyBB Community Forums

Full Version: Ads in post - Adkontekst
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
can i put ads (java s) similar to adsense?

<script type="text/javascript"><!--
if  (document.getElementById('adKontekst_0')==null) {
var adKontekst_pola=new Array;
document.write('<scr'+'ipt type="text/javascript" '+
 'src="http://adsearch.wp.pl/akon/spliter?prid=300&caid=69740&ns='
+(new Date()).getTime()+'"></scri'+'pt>');
}
var adc_i=adKontekst_pola.length;
 document.write("<div id='adKontekst_"+adc_i+"'>   </div>");
 adKontekst_pola[adc_i]=new Object();
 adKontekst_pola[adc_i].nazwa="adKontekst_"+adc_i;
adKontekst_pola[adc_i].typ=2;
adKontekst_pola[adc_i].r=1;
adKontekst_pola[adc_i].c=1;
adKontekst_pola[adc_i].x=234;
adKontekst_pola[adc_i].y=70;
adKontekst_pola[adc_i].paleta=new Object();
adKontekst_pola[adc_i].paleta.kolor_tlo="#005B70";
adKontekst_pola[adc_i].paleta.kolor_tytul="#FAA523";
adKontekst_pola[adc_i].paleta.kolor_opis="#FFFFFF";
adKontekst_pola[adc_i].paleta.kolor_url="#D7D7D7";
adKontekst_pola[adc_i].paleta.kolor_naglowek="#758B99";
adKontekst_pola[adc_i].nform=8;
//--></script>

this code on forum with html enabled doesnt show any ads - why?
You should put it in one of the forum templates. I suggest either the header or the footer.
no,
i want show few ads examples - i have hosting and want to people put my ads on their websites.

But, i can show how ads looksSad
Do you mean you want to show the examples in an actual post? If so, it won't work. HTML might be enabled, but what you have there is "Javascript", which doesn't work in posts.
ok, so i just put there link in html with ads examples, thx fo assistance