Advanced search  


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.

Pages: [1]   Go Down

Author Topic: New Copper-ad for CPG 1.5.x  (Read 10323 times)

0 Members and 1 Guest are viewing this topic.


  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 133
    • Galerie de photos
New Copper-ad for CPG 1.5.x
« on: October 22, 2011, 12:35:05 pm »


To answer to a recent post on adding ads, there is a plugin : Copper-ad but for the CPG 1.4.
I implemented this plugin for CPG 1.5.x

It includes the same features detailed here:, 33151.html
- It has 3 banner type (picture/flash/html)
- It's using iframe to put your banner on page
- It didn't use anycontent
- Position of banners is configurable (after sys menu,after sub menu,Multi banner)
- Iframe will use Height & width of banner, suggested by PYAP
- you can Enable/Disable banners,suggested by tfischer
- Several banners can be configured;

In this way, I changed some functions of the administration part of the plugin:

- The configuration button is in the plugin manager and not on the menu 'information';
- The script 'bannermgr.php is deleted and all functions are now implemented in the only administration script' advmgr.php '.

I tried different themes and some alignment problems of the banner is recognized on the subject employee. This problem was already known in the previous version for GC 1.4.
It seems that the best setting of the banner is the mode 'multi-location': the banner is centered horizontally on the page. All themes tested were correctly displayed frame.

Installation conditions remain unchanged.

A demo with 2 banners can be seen on my website until December 31, 2011.


  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: New Copper-ad for CPG 1.5.x
« Reply #1 on: October 22, 2011, 10:20:33 pm »

Thank you for your contribution! :)


  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4886
Re: New Copper-ad for CPG 1.5.x
« Reply #2 on: October 22, 2011, 11:09:23 pm »

Yep, many thanks for your work. I am sure users will love this.
It is a mistake to think you can solve any major problems just with potatoes.


  • Coppermine newbie
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6
Re: New Copper-ad for CPG 1.5.x
« Reply #3 on: December 04, 2012, 10:41:13 pm »

thanks for the update works great on 1.5


  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 100
    • Retina Gallery
Placing banner on pages other than homepage
« Reply #4 on: December 07, 2012, 06:09:31 pm »

I would like to place different advertisements on different category pages.  I have gone into the configuration for the plugin and tried to change the 'Link to (enter the target URL)' to pages other than 'index.php' and it reverts back to index.php and does not allow a change.  For example, I would like to place a banner advertisement on the category page:

My websits is:

When I put index.php?cat=55 as the 'Link to (enter the target URL)' and click 'create new banner', the field reverts to index. php.

Is there a way to place banner advertisements on category pages using this plugin?

Steven Cohen
Pages: [1]   Go Up

Page created in 0.019 seconds with 20 queries.