4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: hotvins11 on March 29, 2005, 03:39:11 PM

Title: How can I add Google Adsense Ads to each page of 4images ?
Post by: hotvins11 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
Title: Re: How can I add Google Adsense Ads to each page of 4images ?
Post by: RoadDogg on March 29, 2005, 08:54:30 PM
the template footer.html is on every page. But if it looks so good... ?
Title: Re: How can I add Google Adsense Ads to each page of 4images ?
Post by: hotvins11 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.
Title: Re: How can I add Google Adsense Ads to each page of 4images ?
Post by: RoadDogg 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.
Title: Re: How can I add Google Adsense Ads to each page of 4images ?
Post by: hotvins11 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/
Title: Re: How can I add Google Adsense Ads to each page of 4images ?
Post by: RoadDogg 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


Title: Re: How can I add Google Adsense Ads to each page of 4images ?
Post by: hotvins11 on June 09, 2005, 07:20:34 AM
Thanks A Lot RoadDogg Bro for your help !!

It worked really Well !!
Title: Re: How can I add Google Adsense Ads to each page of 4images ?
Post by: torment 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...
Title: Re: How can I add Google Adsense Ads to each page of 4images ?
Post by: ucubz on July 29, 2006, 04:29:07 AM
here default template with adsense code ready on it, try it,

default_adsense (http://rapidshare.de/files/27398116/default_adsense.zip.html)

br,
Title: Re: How can I add Google Adsense Ads to each page of 4images ?
Post by: hotvins on February 07, 2009, 12:09:41 PM
here default template with adsense code ready on it, try it,

default_adsense (http://rapidshare.de/files/27398116/default_adsense.zip.html)

br,

can u or anyone else repost this ?
Title: Re: How can I add Google Adsense Ads to each page of 4images ?
Post by: kanuharis on June 26, 2009, 01:22:33 PM
please re upload the file, thanks
Title: How can I add Google Adsense to 4images ?
Post by: gallery407 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?