[blocks] Selecting photos/thumbnails [blocks] Selecting photos/thumbnails
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

[blocks] Selecting photos/thumbnails

Started by tkx, November 28, 2003, 08:30:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tkx

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.


tkx

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

gtroll

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'