Spidean Forums


 < Last Thread   Next Thread >Ascending sortDescending sorting  New Topic  Post Reply
Author: Subject: AdSense workaround?

Newbie





Posts: 3
Registered: 12/31/2003
Status: Offline

  posted on 12/31/2003 at 10:01 AM
I understand that PostWrap uses IFRAMES and so does Adsense, which actually states in its FAQ that it is incompatible with other IFRAMES. In fact, though, the only thing that happens is that PostWrap-framed Adsense ads tend to be slow to show relevant content, and often show content related to the previous page viewed, which is not the end of the world. It would be nice to have the content and ads in sync, though, so I wondered if anyone knew a workaround. I know it is tremendously inefficient, but loading the same iframed page a second time does bring them into sync, so I thought a little JS script might be able to force that to happen - any ideas, or a more convincing solution?

John Ross

 
Reply With Quote Visit User's Homepage

Administrator




Posts: 4548
Registered: 10/7/2002
Status: Online

  posted on 12/31/2003 at 10:51 AM
There is no need to use PostWrap for AdSense. Look at the bottom of this page. I just went to Administration -> Blocks, created an HTML block and pasted the AdSense code into it. You can also just put the code directly into the HTML of your theme.

-Shawn

 
Reply With Quote

Newbie




Posts: 3
Registered: 12/31/2003
Status: Offline

  posted on 1/11/2004 at 05:58 PM
I haven't explained myself properly because I didn't want to bore, but if you have the stamina for this, here goes. I am using a links programme, WSN Links, because it is significantly better than the PostNuke Web Links module and I was already using it before I started delving into the fascinating world of CMS. I am wrapping it with PostWrap. Putting the AdSense script into PostNuke code which doesn't reload with the links page, e.g., an HTML block means AdSense's biggest virtue, targetting, is wasted, as the ad only loads with that particular code. Putting the script on the WSN Links page or in some part of the PostNuke code which reloads together with the page has the drawback I mentioned that there is a kind of 'lag', the AdSense script apparently detecting the previous page. It seems to be the PostWrap iframes causing a kind of fog, and means that when someone looks at, say, France, then goes to Paris, the ads will be France-related, not the end of the world, but if that person changes to Egypt, he will be seeing Paris ads, less than ideal. In addition, I am trying to keep my ads within the AdSense terms of service, which only allow you to put them on content-filled pages, prohibiting them on, e.g., search, log-out, admin pages, etc. PostWrap allows me to keep the ads on the WSN Links pages, which helps, and frees me of the arduous labour of moving all my WSN Links data to PostNuke database tables, at least for the moment. I started to write a links module without the limitations of PostNuke's Web Links, but I have only got as far as initialisation and deletion - I am not a programmer and I don't think I will be able to finish it before PostNuke 0.8 comes out (I expect this to have a decent links module anyway, and if it doesn't I will probably switch to Xaraya 1.0, the release of which is also imminent). Anyway, to cut it short, I was looking for a patch.

The site in question is far from ready for public viewing but can be seen at http://www.mediterraneanblue.com/index.php.

 
Reply With Quote

Newbie




Posts: 2
Registered: 4/17/2006
Status: Offline

  posted on 4/17/2006 at 08:21 PM
I have tried to just add block html and adsense still will not work.
http://www.ammotroops.com

What im I doing wrong? Now if I do fresh install of postnuke and use their theme and not install autotheme it works. other site
http://www.computer-lan.com

 
Reply With Quote

Newbie




Posts: 2
Registered: 4/17/2006
Status: Offline

  posted on 4/18/2006 at 04:39 PM
I have now add autotheme to both site one works with adsense other does not. When I print out source of web page the only thing i find different on ammotroops.com page which does not work is this
<!--
************************ AutoTheme 0.87 *************************
-->

<!-- Head from system -->
<link rel="stylesheet" href="modules/Admin/pnstyle/navtabs.css" type="text/css">

<!--
*****************************************************************


where is that coming from and how can I get rid of it? and is that's the problem?
thanks

 
Reply With Quote
New Topic    Post Reply


Powered by the AutoTheme HTML Theme System
Page created in 0.122356 Seconds