I eidted this a bit to make it also work within threads when you click the "IP: Logged" link.
Open the template threads_displayip
Replace the entire contents of that template with:
Code:
The IP Address is: $postinfo[ipaddress]. The host name is: $postinfo[hostaddress]. If you would like more information on this IP Address click <a href="http://www.networldmap.com/TryIt.htm?GetLocation&Template=demo.htm&ipaddress=$postinfo[ipaddress]" target="_blank">here</a>. Or, click <a href="showthread.php?s=$session[sessionhash]&threadid=$threadid">here</a> to return to the thread.