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

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

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 2 Guests 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.