TinyPortal
Development => Support => Topic started by: raffo on October 14, 2006, 10:24:30 PM
i'd like to put in a html block the code for ads given to me by AdBrite...
but it doesn't work...
so i made a php block, i used " echo 'code'; " and i tworked...
wht doesn't iw work with html blocks?
I use a script block for my adsence, works for me
Check this forum: http://www.portal4webhost.com/index.php?action=forum
With Scriptbox it gives the error in sidebar ads block. And with php using echo tag or HTML block ads do not show up still.
Can anybody tell me where's the problem?
can you show me the code you are using and I will test it on one of my sites for you :)
<script type="text/javascript"><!--
google_ad_client = "pub-8199425945802991";
google_alternate_color = "0000FF";
google_ad_width = 200;
google_ad_height = 90;
google_ad_format = "200x90_0ads_al_s";
//2007-02-22: Portal4WebHost.com
google_ad_channel = "0519878035";
google_color_border = "000000";
google_color_bg = "F0F0F0";
google_color_link = "000000";
google_color_text = "000000";
google_color_url = "FFFFFF";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
in a scriptbox.
Ok I got it to work on my test site in a side block, a bit wide but it works ok, http://www.lesmonds.co.uk/smf2/index.php?action=forum
but on my main site nothing shows up just blank! http://www.lesmonds.co.uk/smf/index.php in the left block under Donations
Its strange. Which block type you used where it is working?
both script blocks