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: Random Block - Select Album  (Read 24073 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.
Random Block - Select Album
« on: May 17, 2006, 07:11:29 am »

As suggested in this thread, 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.

Note: Do NOT request support or additional features in this thread.  Start a new thread on the main plugins board and reference this thread when requesting support.

v1.0 - Fiddlesticks.  I was too hasty in releasing this plugin.  The one person who downloaded it before I pulled it should be warned that it affects the "Last Additions" block as well, which is not what I intended. 

v1.01 - First working version.   :)
« Last Edit: May 17, 2006, 04:29:54 pm by Paver »
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 20 queries.