coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: atlantico on January 18, 2006, 05:31:45 PM

Title: adsense in 1.3.2
Post by: atlantico on January 18, 2006, 05:31:45 PM
Hello
It is possible tu use google adsense with version 1.3.2? In case yes in what part is pasted the code?
Sorry and thank you.
Best regards
Luis
Title: Re: adsense in 1.3.2
Post by: Tranz on January 18, 2006, 07:04:48 PM
Did you search the forums for adsense?
Title: Re: adsense in 1.3.2
Post by: atlantico on January 18, 2006, 07:14:29 PM
Yes, but not specifically for this version. I go to investigate.
Thanks for your attention.
Regards
Luis
Title: Adsense in Coppermine 1.3.2 Hardwired theme
Post by: atlantico on January 19, 2006, 03:33:26 PM
Hi
I've added code to theme.php with no luck! Nothing happens!

<!-- BEGIN header -->
        <tr>
                <td class="tableh1" width="80%"><b>{CATEGORY}</b></td>
                <td class="tableh1" width="10%" align="center"><b>{ALBUMS}</b></td>
                <td class="tableh1" width="10%" align="center"><b>{PICTURES}</b></td>
     

if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
?>
<style>
div.GoogleAds {
position:absolute;
left:15px;
top:15px;
}
</style>
<div class="<script type="text/javascript"><!--
google_ad_client = "pub-0670777530975631";
google_alternate_ad_url = "http://www.weballweb.com/aviationphotos/index.php";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "666666";
google_color_bg = "666666";
google_color_link = "FFFFFF";
google_color_url = "FFFFFF";
google_color_text = "FFFFFF";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>">GoogleAds</div>
  </tr>
<!-- END header -->


Will you please help me?
Thanks
Luis
Title: Re: adsense in 1.3.2
Post by: Joachim Müller on January 19, 2006, 05:06:31 PM
you should upgrade at least to cpg1.3.5 anyway, your version has security flaws
Title: Re: Adsense in Coppermine 1.3.2 Hardwired theme
Post by: Joachim Müller on January 19, 2006, 05:24:18 PM
Adsense code is suppossed to go into themes/yourtheme/template.html.
Searching the board for "adsense" would have told you so; in the future, please search before posting.
Title: Re: Adsense in Coppermine 1.3.2 Hardwired theme
Post by: atlantico on January 19, 2006, 05:43:47 PM
Sorry, things of a newbbie.
Thanks and regards
Luis
Title: Re: Adsense in Coppermine 1.3.2 Hardwired theme
Post by: atlantico on January 19, 2006, 07:00:22 PM
Thanks for helping me. I found the solution. Everything is ok now.
Regards
Luis
Title: Re: adsense in 1.3.2
Post by: atlantico on January 19, 2006, 07:03:35 PM
I am using Coppermine via my server. It is possible to upload?
With adsense my problem is solved.
Thanks
Luis
Title: Re: adsense in 1.3.2
Post by: Joachim Müller on January 20, 2006, 07:06:17 AM
I have no idea what you mean - of course coppermine runs on your server, where else? Adsense it not related at all to upgrading.
Title: Re: adsense in 1.3.2
Post by: Joachim Müller on January 20, 2006, 07:16:20 AM
merged your identical threads. Don't double-post, it only creates extra modification efforts.