TinyPortal

Development => Support => Topic started by: raffo on October 14, 2006, 10:24:30 PM

Title: html block - adbrite/adsense
Post 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?
Title: Re: html block - adbrite/adsense
Post by: Lesmond on October 14, 2006, 11:09:12 PM
I use a script block for my adsence, works for me
Title: Re: html block - adbrite/adsense
Post by: navjotjsingh on February 23, 2007, 08:16:51 PM
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?
Title: Re: html block - adbrite/adsense
Post by: Lesmond on February 23, 2007, 08:25:50 PM
can you show me the code you are using and I will test it on one of my sites for you :)
Title: Re: html block - adbrite/adsense
Post by: navjotjsingh on February 23, 2007, 08:51:49 PM


<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.
Title: Re: html block - adbrite/adsense
Post by: Lesmond on February 23, 2007, 09:15:23 PM
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
Title: Re: html block - adbrite/adsense
Post by: navjotjsingh on February 23, 2007, 09:24:54 PM
Its strange. Which block type you used where it is working?
Title: Re: html block - adbrite/adsense
Post by: Lesmond on February 23, 2007, 10:00:17 PM
both script blocks