PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds How do I...?

Classifieds How do I...? Wondering how to do something in Classifieds?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old September 25th, 2008, 12:28 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2008
Posts: 9
Google AdSense Insertion

I have the Classified site up and running almost.

How do I insert my Google Adsense Code into the templates (.tmpl) ?

Google gives me

<script type="text/javascript">
<!-- google_ad_client = "pub-02688962xxxx"; /* 120x600, created 9/24/08 */ google_ad_slot = "5394xxxx"; google_ad_width = 120; google_ad_height = 600; //-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

This is the code in the template custom2pal.tmpl which is where I want the code to appear. I have cut and pasted the google code where is says, put the code here. The code appears in the source, that page takes a lot longer to load and nothing appears.

Any suggestions?

<?php
echo<<<PPPRINT
$ppopenside
<tr>
<td align="center" class="{$Style['menubar']}">
<span class="{$Style['medium']}"><b>Google Ads</b></span>
</td>
</tr>
<tr>
<td class="{$Style['tddetails']}" align="left">
<span class="{$Style['small']}">Put the code here.</span>
</td>
</tr>
$ppcloseside
PPPRINT;
?>
ColoradoGuy is offline   Reply With Quote
Old September 25th, 2008, 05:15 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,941
Code:
Content visible to verified customers only.
that should be fine
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 16th, 2008, 05:53 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2008
Posts: 9
Ok, I got it working finally. The real issue appears to be that the HOST file that I was using included 5 links to google related sites that are necessary to display google ads. Once I commented those lines out I was able to see the ads on my site.

Thank you for your help.
ColoradoGuy is offline   Reply With Quote
Old October 16th, 2008, 06:29 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,941
Not a problem glad you got it working
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google adsense Brian P General Discussion 5 May 18th, 2008 04:44 PM
Google Adsense Block MikeWarner ReviewPost How do I...? 3 March 20th, 2006 08:39 PM
Google Ad insertion, WELP! Peresh Photopost Pro How Do I...? 6 March 11th, 2006 11:40 PM
Google Adsense InterFX ReviewPost How do I...? 1 February 12th, 2006 11:39 AM
Google AdSense on pages lmongello Photopost Pro How Do I...? 14 December 8th, 2005 10:23 AM


All times are GMT -5. The time now is 10:39 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0