![]() |
I know there was no need I was wanting to know the purpose of why the changes to the PHP file... :)
|
If we did not add the php, the host address was sent to the site instead of the ipaddress. (thru the whosonline part anyway). Adding the php allowed for the host address to be displayed while allowing for the ipaddress to be passed.
|
Not true for me, I stil was able to see the ip info for who ever was online with no problems.
|
That's right, you are able to see the "IP" address on who's online, not the Host's address. :) With the php addition, you see the host's address (the IP address resolved) and the IP is passed. ;)
|
Very nice hack :)
Installs ;) |
Cool. I can do the same with just a template mod, using the URL you provided. Thanks. :)
|
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> 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> |
That's great, Erwin, but how can we get the host address to show in who's online with just a template hack? I think that was the reason for the php hack part of this. :)
|
Erwin, I changed one of your lines of code a little to add the username of the person who's post you select the view the IP address in and also to center it. Makes it a little nicer to have the name in front of you, too. :)
Quote:
|
works great for addresses in the US but we have members from all over the world several from New Zealand and heaps from England and even onw from the UAE and well i'm from AUZ
but i found a error on that site.. one member i know is from just outside of chicargo(SP?) but his IP address came up as phillidelphia(SP?) |
All times are GMT. The time now is 03:30 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|