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

Author Topic: Problem with Category Random Images and Latest Images  (Read 21453 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.