// Show the IP to this user for this post - because you can moderate? if ($context['can_moderate_forum'] && !empty($message['member']['ip'])) echo ' ', $message['member']['ip'], ' (?)'; // Or, should we show it because this is you? elseif ($message['can_see_ip']) echo ' ', $message['member']['ip'], ''; // Okay, are you at least logged in? Then we can show something about why IPs are logged... elseif (!$context['user']['is_guest']) echo ' ', $txt[511], ''; // Otherwise, you see NOTHING! else echo ' IP Logged';