Topic: Invisible User List

Is there a way to make the User List invisible for unregistered users?

Re: Invisible User List

There will be in 1.3.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

3 (edited by hnstmn 2005-09-17 23:33)

Re: Invisible User List

If I can remember, In the include/functions.php - line 260, I just Commented Out that line. Then it should'nt be displayed on the guest page anymore.

LINE-260::

$links[] = '<li id="navuserlist"><a href="userlist.php">'.$lang_common['User list'].'</a>';


After that, you have to re-locate that line 260 to under line 277 ( if ($pun_user['g_id'] > PUN_MOD) ) for it to be re-displayed to the logged-in registered users.


This worked for me, but I am not a coder, i just dable with it a little.


Hope this helps.

Re: Invisible User List

here it is http://punbb.org/forums/viewtopic.php?id=9520