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: array of album ids from meta albums  (Read 2814 times)

0 Members and 1 Guest are viewing this topic.

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
array of album ids from meta albums
« on: May 07, 2006, 07:49:46 pm »

Is it possible to get the album ids of the pictures in meta albums, like lastalb or lastcom? I've looked in thumbnails.php, tried using $meta_album_set, $META_ALBUM_SET, $ALBUM_SET, $album_set_array, $ALBUM_SET. The functions, get_meta_album_set and get_meta_album_set_data had potential, but then they required cat info.

My goal is to show only the pertinent items in the map below the thumbnails, like here: http://takethu.com/thumbnails.php?album=lastup instead of all the gallery items with coordinate values. Preferably, it would show the markers for items on the page, but if the best is for all items in the meta album, that's fine, too.

Thanks.
« Last Edit: May 30, 2006, 06:52:50 pm by TranzNDance »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: array of album ids from meta albums
« Reply #1 on: May 07, 2006, 10:17:45 pm »

By the way, I'm using the unwanted metas plugin, and it seems to do something with $META_ALBUM_SET and $ALBUM_SET. I echoed their values but got blanks. I'll see what happens if I disable the plugin.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: array of album ids from meta albums
« Reply #2 on: May 07, 2006, 10:23:46 pm »

That didn't help. The variables were still empty.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: array of album ids from meta albums
« Reply #3 on: May 30, 2006, 06:52:36 pm »

Nevermind. I ended up just adapting the queries from the cases for the meta albums in functions.inc.php. The "solution" shows all results for the meta album, rather than those on the page, but that's fine for now.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.