Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Specific Popups Addon  (Read 2252 times)

0 Members and 1 Guest are viewing this topic.

opulence

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 46
Specific Popups Addon
« on: April 09, 2005, 11:05:48 pm »

I'd like to be able to ad code of somesort so that a popup appears after every 5th click on an actual gallery image.

So if someone were just browsing between pages, and the main page, etc - the popup would not occur, and the popup would only occur if a surfer was browsing between actual gallery images on every 5th click.

I believe this would mean adding some sort of popup code to displayimage.php

I'm wondering if anyone could help me by letting me know if that would work (if adding popup code to displayimage.php would make it so that a popup would only occur if someone were to click on an actual gallery image as opposed to just browsing) - and possibly, what code and where to put it?

Thanks,
opulence
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 15 queries.