forum.coppermine-gallery.net
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
-
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
-
Did you search the forums for adsense?
-
Yes, but not specifically for this version. I go to investigate.
Thanks for your attention.
Regards
Luis
-
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
-
you should upgrade at least to cpg1.3.5 anyway, your version has security flaws
-
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.
-
Sorry, things of a newbbie.
Thanks and regards
Luis
-
Thanks for helping me. I found the solution. Everything is ok now.
Regards
Luis
-
I am using Coppermine via my server. It is possible to upload?
With adsense my problem is solved.
Thanks
Luis
-
I have no idea what you mean - of course coppermine runs on your server, where else? Adsense it not related at all to upgrading.
-
merged your identical threads. Don't double-post, it only creates extra modification efforts.