Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Serving album related ads  (Read 2698 times)

0 Members and 1 Guest are viewing this topic.

closer

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 6
Serving album related ads
« on: March 12, 2006, 08:28:00 pm »

Hi, I would like to serve visitors with more album-related specific ads.

Let's say for example my coppermine gallery is about animals

- I have a album called horses

In this album I want to be able to serve ads only about horses

- I have an album called dogs

In this album I want to serve ads only about dogs

 ??? I'm sure this could be done as each album has an album id but I checked thumbnails.php and index.php but could not find where the HTML is being parsed

Could someone help me point out the file / location where I can tweak this? I do not need the ad-serving code (already have it) just need to know where I have to put it.

Cheers!
Logged

closer

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 6
Re: Serving album related ads
« Reply #1 on: April 13, 2006, 01:16:31 am »

Maybe GauGau knows this?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Serving album related ads
« Reply #2 on: April 13, 2006, 09:04:19 am »

copy function theme_display_thumbnails from themes/sample/theme.php to the theme you're using and have a look at it. Also you probably have to modify a core file include/functiojns.inc.php -> function display_thumbnails
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 19 queries.