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 [2]   Go Down

Author Topic: Problem with Category Random Images and Latest Images  (Read 19279 times)

0 Members and 1 Guest are viewing this topic.

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: Problem with Category Random Images and Latest Images
« Reply #20 on: June 04, 2006, 10:31:53 pm »

IMPORTANT: The code fix I originally posted above is incorrect - it leaves in a bug mentioned in this thread.

Scroll up or click here for the new fix: http://forum.coppermine-gallery.net/index.php?topic=31856.msg148155#msg148155.

Essentially, you need to remove $cpg_show_private_album from the function get_meta_album_set() in functions.inc.php.  This is very important to keep your private photos from showing up in the random or latest images.
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: Problem with Category Random Images and Latest Images
« Reply #21 on: June 04, 2006, 11:25:56 pm »

Fix committed to stable & devel.  Will show up in the next version: 1.4.7.
Logged

Flaunt

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 56
    • http://flaunt.nu
Re: Problem with Category Random Images and Latest Images
« Reply #22 on: June 05, 2006, 03:30:37 am »

Fix applied, although I wasn't really having the problem that member is using :)  Still!   Thanks for the heads up

blabla

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Problem with Category Random Images and Latest Images
« Reply #23 on: June 05, 2006, 01:40:34 pm »

This worked wonders!

Thank you!
Logged

skidpics

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 223
Re: Problem with Category Random Images and Latest Images
« Reply #24 on: March 21, 2007, 04:17:23 pm »

Had the same problem, but fixed it.  Make sure for the rest of the users searching for a fix, that you do not have have Random Select v1.01 plugin installed, but not in use.  It will cause random pics to be shown under the categories from all albums, but will generate the The selected album/file does not exist ! error.. 

-- Skidpics

warning: skidpics.com contains adult content!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with Category Random Images and Latest Images
« Reply #25 on: March 21, 2007, 06:54:38 pm »

This is the bugs board. This issue has long been fixed. Locking.
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.02 seconds with 19 queries.