News: Welcome to the TinyPortal Support site.

Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

April 02, 2020, 12:26:08 PM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 189572
  • Total Topics: 20808
  • Online Today: 625
  • Online Ever: 917
  • (January 21, 2020, 09:02:26 AM)
Users Online
Users: 2
Guests: 56
Total: 58

Author Topic: google banners  (Read 4262 times)

0 Members and 1 Guest are viewing this topic.

peterstannard

  • Guest
google banners
« on: February 18, 2005, 11:08:53 AM »
is it possible to "post" google adsense banners in the html block?

Bjørn

  • Guest
Re: google banners
« Reply #1 on: February 18, 2005, 03: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.

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: google banners
« Reply #2 on: February 18, 2005, 03:17:02 PM »
I was hoping you were going to do the php block option Bloc.  :)

peterstannard

  • Guest
Re: google banners
« Reply #3 on: February 18, 2005, 03:20:55 PM »
this is the code i tried to use;

Code: [Select]
<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?

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: google banners
« Reply #4 on: February 18, 2005, 03:23:26 PM »
Doesn't work on mine either.

Bjørn

  • Guest
Re: google banners
« Reply #5 on: February 18, 2005, 03: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.