hi guys,
I tried this solution (http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#viewThumbnailsOnly) and did same as explained:
Edit displayimage.php and add
if (!USER_ID) cpg_die(ERROR, 'You need to register to access this page', __FILE__, __LINE__);
just before
/**************************************************************************
* Local functions definition
**************************************************************************/
but it didn't work
my site url is: http://www.sexiestbabygirl.net/sexiestgallery/index.php
help pls! :D
Quote from: sexiestbabygirl on June 07, 2009, 08:34:22 AM
but it didn't work
What should that mean? That's not a valid report.
hi,
that means, still unregistered users can't see thumbnail pics and nothing changed after i did the change on the code
here's the direct code from displayimage.php
if($CONFIG['read_exif_data'] ){
include("include/exif_php.inc.php");
}
if($CONFIG['read_iptc_data'] ){
include("include/iptc.inc.php");
}
if (!USER_ID) cpg_die(ERROR, 'You need to register to access this page', __FILE__, __LINE__);
/**
* Local functions definition
*/
so what's the problem and what can i do to enable thumbnails for unregistered users? :D
You have set "Allow unlogged users (guest or anonymous) access" to "no" for your page, so that code won't do anything usefull, as visitors who are not logged in will be sent to the login page anyway. What do you expect?
oh yes!!!!
thanks so much!!!! u're super!!!!!
i did it!!!!!!
thank u soooooo much!!!!!!!!! :D