howtothings.co.uk

Full Version: How to view IP address directly from posts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to view IP address directly from posts

This is a simple tutorial on how to view IP addresses directly from threads / posts rather than having to trail through the moderator control panel.

Steps

Go to:
  • Admin CP
  • Templates & Style
  • Templates
  • *your theme*
  • Post Bit Templates
  • postbit_iplogged_hiden

Replace everything with this:

Code:
<p class="smalltext">{$lang->postbit_ipaddress} <a href="moderation.php?action=getip&amp;pid={$post['pid']}">{$post['ipaddress']}</a></p>

Where it'd normally say IP Address: Logged, it will now show the IP Address, IP Address: 123.45.67.89, (example).

This is just for Administrators / Moderators. Normal members and guests cannot see the IP.

Example

[spoiler]
[Image: mybbtut-show-ip.png]
[/spoiler]