TinyPortal

Development => Feedback => Topic started by: peterstannard on February 18, 2005, 06:08:53 PM

Title: google banners
Post by: peterstannard on February 18, 2005, 06:08:53 PM
is it possible to "post" google adsense banners in the html block?
Title: Re: google banners
Post by: Bjørn on February 18, 2005, 10:16:20 PM
if it is html/javascript - yes. if it is php code - no. But I will add another blocktype to make room for php code as well.
Title: Re: google banners
Post by: IchBin on February 18, 2005, 10:17:02 PM
I was hoping you were going to do the php block option Bloc.  :)
Title: Re: google banners
Post by: peterstannard on February 18, 2005, 10:20:55 PM
this is the code i tried to use;

<script type="text/javascript"><!--
google_ad_client = "pub-4648161079001370";
google_alternate_color = "E1E1E1";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_channel ="9065215760";
google_color_border = "E1E1E1";
google_color_bg = "E1E1E1";
google_color_link = "6B8EAE";
google_color_url = "000000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


but nothing appeared.

is it just me?
Title: Re: google banners
Post by: IchBin on February 18, 2005, 10:23:26 PM
Doesn't work on mine either.
Title: Re: google banners
Post by: Bjørn on February 18, 2005, 10:30:46 PM
uhm...ok, seems i have to redraw the javascript bit. The function for adding smilies filters out javascript...

I will change it to just do the smilies, and not translate BBC codes - it would take HTMl instead so thats not really needed.