OK, sorry, so it's not a bug. But I just don't want to allow the guest to view the whole userlist without loggin in.
2 2005-04-14 20:39
Topic: User list menu item (8 replies, posted in PunBB 1.2 troubleshooting)
Hello,
The opiton Use search Yes/No in groups administration doesn't work
in userlist.php there's:
if ($pun_user['g_read_board'] == '0')
message($lang_common['No view']);
and should be:
if ($pun_user['g_read_board'] == '0')
message($lang_common['No view']);
else if ($pun_user['g_search_users'] == '0')
message($lang_search['No search permission']);
also in functions.php function generate_navlinks()
i've added:
if ($pun_user['g_search_users'] == '1') $links[] = '<li id="navuserlist"><a href="userlist.php">'.$lang_common['User list'].'</a>';
It works for me
greetings !