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: Have random display choose from a predefined selection of pictures?  (Read 2808 times)

0 Members and 1 Guest are viewing this topic.

rap.nospam

  • Coppermine newbie
  • Offline Offline
  • Posts: 8

Hi again guys,

I have a second question, that is that I would like to have the random feature on my main page but would like it not choose from all pictures in the gallery but from a predefined set. E.g. by giving a special keyword to pictures that would be eligible for random display.

Any ideas if this can be realized and where to start?

Thanks and regards, Robert
« Last Edit: July 26, 2007, 09:52:44 am by GauGau »
Logged

Nibbler

  • Guest
Re: Have random display choose from a predefined selection of pictures?
« Reply #1 on: July 26, 2007, 08:47:48 am »

I think there is a mod or plugin for this; search the board.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Have random display choose from a predefined selection of pictures?
« Reply #2 on: July 26, 2007, 09:01:22 am »

unwanted_metas 2.1 prevents certain albums from displaying in the meta albums. is the thread Nibbler refered to. This plugin goes unsupported here. If you need support for it, refer to the forum that donnoman refers to in the announcement thread.
Logged

rap.nospam

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Have random display choose from a predefined selection of pictures?
« Reply #3 on: July 26, 2007, 09:46:20 am »

Hi Guys,

Thanks again for the prompt reply. I wanted to have that on a per-picture base and after Nibblers advice for changing functions.inc.php regarding my last question I also did the same here and added a check for a keyword "Random" in the SELECT that chooses the random pictures there. Works fine. :-)

Regards, Robert
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.