FIND in userlist.php:
if ($pun_user['g_read_board'] == '0') message($lang_common['No view']);ADD AFTER:
//begin hide userlist from guests hack by visiblesoul
if ($pun_user['g_id'] == PUN_GUEST)
//message($lang_common['No view']);
message('You do not have permission to view the userlist.');
//end hide userlist hack
FIND in profile.php:if ($pun_user['g_read_board'] == '0' && ($action != 'change_pass' || !isset($_GET['key']))) message($lang_common['No view']);ADD AFTER:
//begin hide profiles from guests hack
if ($pun_user['g_id'] == PUN_GUEST)
//message($lang_common['No view']);
message('You do not have permission to view profiles.');
//end hide profiles hack
Of course you can also put the error text in the language file if you prefer.-=DKC=-














