19-10-2010, 12:57 AM
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:
Replace everything with this:
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]
[/spoiler]
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&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]
[/spoiler]