forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: wdz on November 12, 2005, 10:16:45 pm

Title: 2 quick questions
Post by: wdz on November 12, 2005, 10:16:45 pm
Is it passable to lock the board down, so that anyone can see thumbnails but only registered users can enlarge the picture? A second of all... is it passable to include the last uploaded picture in a home page outside of coppermine?
Title: Re: 2 quick questions
Post by: Nibbler on November 12, 2005, 10:34:45 pm
FAQ: How can I let unregistered users see the thumbnails only, but not the actual pictures? (http://coppermine.sourceforge.net/faq.php#viewThumbnailsOnly)
Title: Re: 2 quick questions
Post by: wdz on November 13, 2005, 10:21:58 am
ok, I guess the better question is... i can let only a certain user group ... say "picturepeople" or some such group see full size, and everyone else thumbnails?
Title: Re: 2 quick questions
Post by: Stramm on November 13, 2005, 12:19:45 pm
if (USER_GROUP != "Administrators") cpg_die(ERROR, 'You need to be in the admin group to access this page', __FILE__, __LINE__);
Title: Re: 2 quick questions
Post by: OmegaGOD on November 14, 2005, 01:18:58 am
In your specific case,


if (USER_GROUP != "picturepeople") cpg_die(ERROR, 'You need to be in the admin group to access this page', __FILE__, __LINE__);
Title: Re: 2 quick questions
Post by: Joachim Müller on November 14, 2005, 07:29:13 am
is it passable to include the last uploaded picture in a home page outside of coppermine?
http://forum.coppermine-gallery.net/index.php?board=57.0
In the future, respect the "one question per thread" policy. You agreed to do so when signing up, and common sense says so as well.
Title: Re: 2 quick questions
Post by: wdz on November 15, 2005, 05:43:01 pm
Very sorry to offend you, duely noted and it won't happen again. Thanks to those who were more then willing to help!