coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 PHPnuke/Postnuke Support => Topic started by: tkx on November 28, 2003, 08:30:52 PM

Title: [blocks] Selecting photos/thumbnails
Post by: tkx on November 28, 2003, 08:30:52 PM
Ermm...  when showing the last uploaded images, etc... it shows all pictures... I haven't checked with the random image, but can you please change the select statements to include "WHERE approved='YES'"??..  and also I haven't tried with the private galleries, but I would hope that it wouldn't show thumbnails of private galleries.
Title: [blocks] Selecting photos/thumbnails
Post by: gtroll on November 28, 2003, 08:41:43 PM
None show if your not logged in as admin...
Title: [blocks] Selecting photos/thumbnails
Post by: tkx on November 28, 2003, 08:55:50 PM
Is this new in RC4?   One of the blocks showed them all.. I verified as a regular and anonymous user... it was missing the "approved='YES'"

Quote from: "gtroll"None show if your not logged in as admin...
Title: [blocks] Selecting photos/thumbnails
Post by: gtroll on November 28, 2003, 09:02:58 PM
are these the block with CPG- in the file name, if yes I must have missed that one just add after $ALBUMSET
AND approved='YES'