All can see membership list All can see membership list
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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...