To achieve a similar result without hacking, just do this:
Replace the template "threads_displayip" with this content:
Code:
The IP Address is: $postinfo[ipaddress]. The host name is: $postinfo[hostaddress]. Please click <a href="showthread.php?s=$session[sessionhash]&threadid=$threadid">here</a> to return to the thread.<br><br><b><a href="http://www.networldmap.com/TryIt.htm?GetLocation&Template=demo.htm&ipaddress=$postinfo[ipaddress]">Click here to get LOCATION of member.</a></b><br><br>
Replace the template "whosonlinebit_ip" with this:
Code:
<td bgcolor="$backcolor" align="left"><smallfont><a href="http://www.networldmap.com/TryIt.htm?GetLocation&Template=demo.htm&ipaddress=$userinfo[ipaddress]">$userinfo[ipaddress]</a></smallfont></td>
Now, when you click on the IP link in a post, or the IP address in Who's Online, you get the same info.

No need hacking.