Random Block - Select Album 

This plugin lets you select the album or albums to use for the Random block.  If you only want to set one album, there is a nice web-based configuration panel to choose that one album.  If you want to set more than one album, you must manually set those albums in codebase.php.  There are two configuration options in codebase.php that you must set to use multiple albums.  You can find the album IDs (AIDs) in the URL when viewing the album or in the albums MySQL table.  At some point, I'll probably write up a web-based tool for selecting multiple albums.  For now, you'll have to set them manually.

This selection sets the Random block for all pages.  Normally, the Random block chooses photos from the category you are viewing (on the main page, it chooses from all categories).  This plugin fixes the Random block to use your selected album or albums on all pages.


There is a web-based configuration panel with a button link on the admin toolbar
that lets you choose one album to use for the Random block.

If you want to use more than one album, you have to manually set the albums in
codebase.php.  There are two configuration options that you must set.


http://coppermine-gallery.net/forum/index.php?topic=31592.0