How to view IP address directly from posts - Printable Version +- howtothings.co.uk (https://www.howtothings.co.uk) +-- Forum: Computing (https://www.howtothings.co.uk/forumdisplay.php?fid=4) +--- Forum: Website Development, Implementation and General Webmaster Support (https://www.howtothings.co.uk/forumdisplay.php?fid=9) +--- Thread: How to view IP address directly from posts (/showthread.php?tid=447) |
How to view IP address directly from posts - Mark - 19-10-2010 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: 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] |