1 (edited by Gotipe 2008-05-11 07:17)

Topic: Userlist problem

Hello! I wonder, how do you make so that guests can not see the userlist even if they by options in the admin panel are allowed to read the board?
If it is any help, I've PunBB 1.2.16, tongue
I think I understand that some code has to be changed in a php-file, but I don't know which or what to be changed, hmm

Darth Vader will chase you away with his lightsaber!
GalacticEmpire.se Forum

Re: Userlist problem

No one who knows this? :S Just so they can't see the userlist. Of course not search on the userlist as well, but that have I turned off in options.

Darth Vader will chase you away with his lightsaber!
GalacticEmpire.se Forum

3 (edited by Lurker.boi 2008-05-11 14:59)

Re: Userlist problem

In userlist.php find (near the top about line 30):

if ($pun_user['g_read_board'] == '0')
    message($lang_common['No view']);

change to

if ($pun_user['g_read_board'] == '0' || $pun_user['is_guest'])
    message($lang_common['No view']);

or install this mod:

http://punbb.informer.com/forums/viewtopic.php?id=9520