Topic: how to remove user list

how to remove user list
i searched it but failed to find please help

Re: how to remove user list

Define remove wink
Do you want it hidden for just guests or completely removed?

Re: how to remove user list

only moderator and admin can see it
pls help

Re: how to remove user list

include/functions.php
FIND

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

REPLACE WITH

if ($pun_user['g_id'] <= PUN_MOD)
    $links[] = '<li id="navuserlist"><a href="userlist.php">'.$lang_common['User list'].'</a>';

userlist.php
FIND

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

AFTER, ADD

if ($pun_user['g_id'] > PUN_MOD)
    message($lang_common['No permission']);

Re: how to remove user list

thanks a lot

6 (edited by quaker 2008-01-26 15:28)

Re: how to remove user list

here you go!

http://wiki.punres.org/How_to_hide_userlist

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!