Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: All can see membership list  (Read 2450 times)

0 Members and 1 Guest are viewing this topic.

fabian86

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
All can see membership list
« on: May 21, 2007, 08:08:36 pm »

Hello, i have installed the Coppermine Photo Gallery(a very good Gallery, Gratulation!)

I miss a setting(cant find) in admin controlpanel
I will setting can all see the Membership list! in admin Control panel can i only set that see Member yes or no and not see Guest Yes or no...
Wo most i midificate the php file that all guest see the Membership List?

Thanks and sorry for my very bad english!

Fabian
« Last Edit: May 23, 2007, 07:16:57 am by GauGau »
Logged

Nibbler

  • Guest
Re: All can see membership list
« Reply #1 on: May 21, 2007, 10:38:25 pm »

usermgr.php, find

Code: [Select]
if (USER_ID !='') {
 if (GALLERY_ADMIN_MODE) {
  $lim_user = 0;
  $number_of_columns = 9;
 }
 elseif ($CONFIG['allow_memberlist']) {
  $lim_user = 1;
  $number_of_columns = 7;
  show_memberlist;
 }
 else {
  $lim_user = 2;
  cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
 }
}
else {
 $lim_user = 3;
 cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
}

change to

Code: [Select]
if (GALLERY_ADMIN_MODE) {
$lim_user = 0;
$number_of_columns = 9;
} else {
$lim_user = 1;
$number_of_columns = 7;
show_memberlist;
}
Logged

fabian86

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: All can see membership list
« Reply #2 on: May 22, 2007, 10:33:12 pm »

NICE! Thanks!
I must only set the Link to startpage...
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.