array of album ids from meta albums array of album ids from meta albums
 

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]

Main Menu

array of album ids from meta albums

Started by Tranz, May 07, 2006, 07:49:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tranz

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.

Tranz

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.

Tranz

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

Tranz

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.