Adsense plugin Adsense plugin
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Adsense plugin

Started by lordprodigy, February 22, 2006, 07:00:58 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

lordprodigy

Hello, I would like to suggest a plugin which deals with some advertising issues. Everyone is welcome to share their ideas for its development. The way I see it is:

- you can add/modify multiple ad instances by pasting different codes provided by google, which would create {AD01}, {AD02} and so on...
- ability to place  these tokens in any place in theme.php (intermediate image display, slideshow, etc...)
- ability to place these tokens in anycontent/catlist/AD01/alblist/AD02/random,2/lastup,2

What do you guys think?

hieddie

I think that is a wonderful idea? Has anyone done this yet? 

Sami

Try copper_ad and use last banner.php

use HTML option of plugin with multi location
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

Adsense is just static HTML with some JavaScript - there's no need to make it dynamic using PHP. So what's wrong with adding AdSense adds into themes/yourtheme/template.html ?

Sami

Quote from: lordprodigy on February 22, 2006, 07:00:58 AM
- ability to place these tokens in anycontent/catlist/AD01/alblist/AD02/random,2/lastup,2
Plugin can show multiple ad ...
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

This would be adding different Adsense block in different places. It would equal adding two AdSense blocks in different sections of template.html. If you want a AdSense rotation script, the "content of the main page" would not be the proper place to configure rotation.
If you want two Adsense blocks on your page within the block that are being represented by the {GALLERY}-token, then you will have to modify theme.php accordingly.