TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 15, 2024, 09:02:06 PM

Login with username, password and session length
Members
  • Total Members: 3,886
  • Latest: Grendor
Stats
  • Total Posts: 195,189
  • Total Topics: 21,220
  • Online today: 183
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 64
  • Total: 65
  • @rjen

google banners

Started by peterstannard, February 18, 2005, 06:08:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

peterstannard

is it possible to "post" google adsense banners in the html block?

Bjørn

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.

IchBin

I was hoping you were going to do the php block option Bloc.  :)

peterstannard

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?

IchBin

Doesn't work on mine either.

Bjørn

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.