News:

CRITICAL UPGRADE CPG RELEASE 1.6.30
Version 1.6.30 removes a serious security issue that could allow unauthorized access to modify your site. Upgrade as soon as possible.

Main Menu

[blocks] Selecting photos/thumbnails

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

Previous topic - Next topic

0 Members and 2 Guests 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'