Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: 2 quick questions  (Read 5569 times)

0 Members and 1 Guest are viewing this topic.

wdz

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
2 quick questions
« 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?
« Last Edit: November 16, 2005, 12:03:07 am by GauGau »
Logged

Nibbler

  • Guest
Logged

wdz

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: 2 quick questions
« Reply #2 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?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: 2 quick questions
« Reply #3 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__);

OmegaGOD

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • I approve.
Re: 2 quick questions
« Reply #4 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__);
Logged
Please do not PM me with support questions. Please read the manual and then if posting questions please place them in the proper sub-boards.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 2 quick questions
« Reply #5 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.
Logged

wdz

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: 2 quick questions
« Reply #6 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!
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.