Topic: prevent moderators to see ip?
How do I prevent my moderators to se the users ip?
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → prevent moderators to see ip?
How do I prevent my moderators to se the users ip?
In viewtopic.php, find:
if ($pun_user['g_id'] < PUN_GUEST || $pun_user['g_global_moderation'])
(There should be two instances)
Change both to:
if ($pun_user['g_id'] < "2"
Quick browse through, but I think that should do it :S
I think Craig has the right idea, but 'g_global_moderation' is not in the standard viewtopic.php file?
Open: viewtopic.php
Find:
if ($pun_user['g_id'] < PUN_GUEST)
{
$user_info[] = '<dd>IP: <a href="moderate.php?get_host='.$cur_post['id'].'">'.$cur_post['poster_ip'].'</a>';
Replace with:
if ($pun_user['g_id'] == PUN_ADMIN)
{
$user_info[] = '<dd>IP: <a href="moderate.php?get_host='.$cur_post['id'].'">'.$cur_post['poster_ip'].'</a>';
Edit: Like Craig said, this appears twice; Just above and below this comment:
// If the poster is a guest (or a user that has been deleted)
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → prevent moderators to see ip?
Powered by PunBB, supported by Informer Technologies, Inc.