X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   IP Addresses in Users Online for all users (https://forum.x-cart.com/showthread.php?t=16571)

thundernugs 02-25-2006 10:46 PM

yep, the original code works great in 4.0.17 (thanks denlem)

i also added this little tidbit into stats.tpl allows for an easy link to check the whois info of the IP addresses of your users online

Code:

IP: {$v.session_ip}

thanks for the mod!

mike

Jerrad 04-09-2006 05:20 AM

Sounds like a great mod - thanks for that! :D

Just wondering if it would be possible to do the same for the customer side of the shop, so that not only the IP-address from registered
but also from a unregistered visitor is displayed?

cliffo4 04-09-2006 12:54 PM

Quote:

Originally Posted by thundernugs
yep, the original code works great in 4.0.17 (thanks denlem)

i also added this little tidbit into stats.tpl allows for an easy link to check the whois info of the IP addresses of your users online

Code:

IP: {$v.session_ip}


Hi Mike

Is it just me or is anyone else gettng a "(104) Connection reset by peer" when trying to access dnsstuff? Anyone else have an alternative?

ramcity 04-09-2006 01:21 PM

How about if a lookup was done on the GeoIP country database, and perhaps even the GeoLiteCity database, to show the country and suburb the visitor hails from?

Perhaps it's not a feature that users may want to see (a bit like "big brother"), but might be handy in the admin side of things. Both these databases are freely available from http://www.maxmind.com/app/ip_locate

Rod

thundernugs 04-09-2006 03:54 PM

cliff, i've been using this href


in stats.tpl and it has never given an error

i'm sure you can use whatever dns lookup site you want, just test it to figure out what the url is that calls the information and insert it in stats.tpl

TA 05-14-2006 05:12 PM

Has anybody had any luck coding this into 4.0.18?

TA 05-16-2006 12:14 PM

I installed this per the instructions in the 1st post. Works as advertised in 4.0.18. Thank you!

Paul H 08-29-2006 11:37 AM

Re: IP Addresses in Users Online for all users
 
I have version 4 0 15 and it doesn't seem to work ie no IP address showing.
I would think if it works for version 14 ,17 and 18 then 15 would be fine.


Ignore the above it does work for me !

denlem 10-22-2006 04:17 PM

Re: IP Addresses in Users Online for all users
 
Does anyone have this working in 4.1.3?

I have tried but can't seem to get it to work.

laurieblake 02-08-2007 01:57 AM

Re: IP Addresses in Users Online for all users
 
Quote:

Originally Posted by denlem
Does anyone have this working in 4.1.3?

I have tried but can't seem to get it to work.


Nor can I in 4.1.5. If someone has it working it would be great if you could compliment the original good-hearted post and post the full code.

Cheers


All times are GMT -8. The time now is 06:11 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.