All can see membership list All can see membership list
 

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]

Main Menu

All can see membership list

Started by fabian86, May 21, 2007, 08:08:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fabian86

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

Nibbler

usermgr.php, find


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


if (GALLERY_ADMIN_MODE) {
$lim_user = 0;
$number_of_columns = 9;
} else {
$lim_user = 1;
$number_of_columns = 7;
show_memberlist;
}

fabian86

NICE! Thanks!
I must only set the Link to startpage...