1
I have been trying out some updates to my site -
http://www.reachtogether.co.uk and the way it works with Google adds. I wanted to stop the adds being displayed when I am using/updating the site as this distorts the Adsense statistics (especially important since I haven't got that much traffic yet). I'm fine with the side-bar adverts that are in their own blocks - these can be switched on for anonymous and off for registered/webmaster groups.
The problem is with adverts that I have embedded in the AMS Article and Index templates - these I have tried to switch off using some basic PHP code (checking to see if the user is admin). If the cache is switched on this approach works for the ads at the end of the article, but not for the ones in the Index. The index either continues to display the adds or not depending on what was saved in the cache.
Is there a way round this, how can I tell the XOOPS system not to use the cache for this template? I am aware that I can switch it off for the whole module but I do not want to do that.
Many thanks
Neil