Author Topic: How can I add Google Adsense Ads to each page of 4images ?  (Read 14732 times)

0 Members and 1 Guest are viewing this topic.

Offline hotvins11

  • Newbie
  • *
  • Posts: 17
    • View Profile
How can I add Google Adsense Ads to each page of 4images ?
« on: March 29, 2005, 03:39:11 PM »
Hi

I want to know how can I add the Google Adsense Ad Banners on all my pages automatically.

I dont know php very well and just a starter in it.

Please Help me out !!

My 4imaqges gallery is located at http://dhost.info/hvg4u/content/ and my site is http://www.hotvins.tk/

Regards,
Hotvins11

Offline RoadDogg

  • Sr. Member
  • ****
  • Posts: 488
    • View Profile
    • Düsipixel
Re: How can I add Google Adsense Ads to each page of 4images ?
« Reply #1 on: March 29, 2005, 08:54:30 PM »
the template footer.html is on every page. But if it looks so good... ?
For support requests please don´t forget link to your Gallery/to phpinfo.php
Code: [Select]
<?
phpinfo()
?>
safe_mode must turned OFF
Please check Error Messages

Offline hotvins11

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: How can I add Google Adsense Ads to each page of 4images ?
« Reply #2 on: March 30, 2005, 06:44:56 AM »
I didn't get you :(

What do you mean ?

Which file is to be edited and what code should be inserted / deleted ?

I want these ads right on top of the page. :)

Please help me.

Offline RoadDogg

  • Sr. Member
  • ****
  • Posts: 488
    • View Profile
    • Düsipixel
Re: How can I add Google Adsense Ads to each page of 4images ?
« Reply #3 on: March 30, 2005, 10:30:19 AM »
It´s important wich desgin your Adsens have? Upright or horizontal? Your galerie doesn´t work by now.
For support requests please don´t forget link to your Gallery/to phpinfo.php
Code: [Select]
<?
phpinfo()
?>
safe_mode must turned OFF
Please check Error Messages

Offline hotvins11

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: How can I add Google Adsense Ads to each page of 4images ?
« Reply #4 on: March 30, 2005, 10:35:11 AM »
Well...

I have horizontal ads there. Now How do I add those to the top of the page ?

My gallery working fine now and I have fixed the problem.

http://dhost.info/hvg4u/content/

Offline RoadDogg

  • Sr. Member
  • ****
  • Posts: 488
    • View Profile
    • Düsipixel
Re: How can I add Google Adsense Ads to each page of 4images ?
« Reply #5 on: March 30, 2005, 12:02:50 PM »
You can try this

Search in home.html
Code: [Select]
<table width="636" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td><img src="{template_url}/images/spacer.gif" width="4" height="4" alt="" />{clickstream}</td>

Paste After
Code: [Select]
<table width="636" border="0" cellspacing="0" cellpadding="0">this new code
Code: [Select]
<tr><td colspan="2"><-- CODE FOR ADSENSE  --->
                  </td>
                  </tr>

We´re just added a new line in table in which Adsensecode can be added. It will be shown on mainpage (if you use default templates).
In other styles header (banner & searchfield on top)  and other templates are seperated and you only have to change header.html. Using default templates you have to change many templates to show Adsense on every site.

backup your file bevor test it, I couldn´t test how it works


For support requests please don´t forget link to your Gallery/to phpinfo.php
Code: [Select]
<?
phpinfo()
?>
safe_mode must turned OFF
Please check Error Messages

Offline hotvins11

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: How can I add Google Adsense Ads to each page of 4images ?
« Reply #6 on: June 09, 2005, 07:20:34 AM »
Thanks A Lot RoadDogg Bro for your help !!

It worked really Well !!

Offline torment

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: How can I add Google Adsense Ads to each page of 4images ?
« Reply #7 on: November 28, 2005, 02:28:03 PM »
Hi,

I use "4light_grey" template, and i have try at 3 days go the adsense code in my site but i can't it. If have always this error"You are not authorized to view this page" . i put the code latest in my categorie.html.

Please can anybody help me....

Thanks...

Offline ucubz

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: How can I add Google Adsense Ads to each page of 4images ?
« Reply #8 on: July 29, 2006, 04:29:07 AM »
here default template with adsense code ready on it, try it,

default_adsense

br,

Offline hotvins

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: How can I add Google Adsense Ads to each page of 4images ?
« Reply #9 on: February 07, 2009, 12:09:41 PM »
here default template with adsense code ready on it, try it,

default_adsense

br,

can u or anyone else repost this ?

Offline kanuharis

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: How can I add Google Adsense Ads to each page of 4images ?
« Reply #10 on: June 26, 2009, 01:22:33 PM »
please re upload the file, thanks

Offline gallery407

  • Pre-Newbie
  • Posts: 1
    • View Profile
How can I add Google Adsense to 4images ?
« Reply #11 on: May 24, 2010, 12:31:24 PM »
Plz guys help to add google adsense code to xxx: xxx: foetor. net/4images...
is there any tutorial?