All can see membership list All can see membership list
 

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

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