Advanced search  

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]

Pages: 1 [2]   Go Down

Author Topic: Setting the album thumbnails NOT to show in Random Files  (Read 20109 times)

0 Members and 1 Guest are viewing this topic.

arcus

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Setting the album thumbnails NOT to show in Random Files
« Reply #20 on: January 20, 2006, 10:51:12 pm »

The category number is associated with the containing album, not the pic itself. You'd need to add in a join to the albums table on aid=aid

hmmm... the categories are not contained within albums though.

but looking closer at the URLs... it doesn't seem to maintain a category/album structure... but that instead the categories are their own units that are independant of albums... yet albums still appear to be contained within... even though logically they are not. so i will have to block using album numbers? that will be difficult to maintain.

is there a way to block things from "Random" based on file type instead? like only show image files with a certain suffix? and NOT show like .mp3 .mov .ppt etc etc?
« Last Edit: January 21, 2006, 12:31:07 am by arcus »
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.014 seconds with 19 queries.