Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

IP Addresses in Users Online for all users

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #21  
Old 02-25-2006, 10:46 PM
  thundernugs's Avatar 
thundernugs thundernugs is offline
 

Senior Member
  
Join Date: May 2003
Location: Bend, OR
Posts: 117
 

Default

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:

thanks for the mod!

mike
__________________
X-Cart Gold 4.0.17 & 4.0.18
Linux Server
Hands-On Hosting
http://www.CoreCases.com - Ipod Cases
http://www.InnovativeOutlet.com - Pet Plants and other cool stuff you need
Reply With Quote
  #22  
Old 04-09-2006, 05:20 AM
 
Jerrad Jerrad is offline
 

X-Adept
  
Join Date: Nov 2004
Location: The Netherlands
Posts: 484
 

Default

Sounds like a great mod - thanks for that!

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?
__________________
X-Cart 4.0.12
Heavy modified with paid, free and forum mods.
PHP 5.2.5 | MYSQL 5.0.51a
Reply With Quote
  #23  
Old 04-09-2006, 12:54 PM
  cliffo4's Avatar 
cliffo4 cliffo4 is offline
 

Member
  
Join Date: Jul 2005
Location: Leicester, UK
Posts: 19
 

Default

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:

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?
__________________
X-Cart Gold 4.0.19
http://interstellarsounds.com
Reply With Quote
  #24  
Old 04-09-2006, 01:21 PM
 
ramcity ramcity is offline
 

Advanced Member
  
Join Date: Mar 2006
Location: Sydney, Australia
Posts: 41
 

Default

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
__________________
Rod B - www.ramcity.com.au
X-Cart 4.1.3 (new site under development)
Windows 2003 Server /Apache 2.2.0 (Win32)
PHP 5.1.1 / MySQL 5.0.18
Reply With Quote
  #25  
Old 04-09-2006, 03:54 PM
  thundernugs's Avatar 
thundernugs thundernugs is offline
 

Senior Member
  
Join Date: May 2003
Location: Bend, OR
Posts: 117
 

Default

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
__________________
X-Cart Gold 4.0.17 & 4.0.18
Linux Server
Hands-On Hosting
http://www.CoreCases.com - Ipod Cases
http://www.InnovativeOutlet.com - Pet Plants and other cool stuff you need
Reply With Quote
  #26  
Old 05-14-2006, 05:12 PM
 
TA TA is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 303
 

Default

Has anybody had any luck coding this into 4.0.18?
__________________
v4.7.12
v5.4.x (In Dev)
Reply With Quote
  #27  
Old 05-16-2006, 12:14 PM
 
TA TA is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 303
 

Default

I installed this per the instructions in the 1st post. Works as advertised in 4.0.18. Thank you!
__________________
v4.7.12
v5.4.x (In Dev)
Reply With Quote
  #28  
Old 08-29-2006, 11:37 AM
 
Paul H Paul H is offline
 

eXpert
  
Join Date: Sep 2005
Posts: 246
 

Default 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 !
__________________
Xcart Gold 4.1.11-Gone
= 4.7.11-Live
Reply With Quote
  #29  
Old 10-22-2006, 04:17 PM
  denlem's Avatar 
denlem denlem is offline
 

Senior Member
  
Join Date: Apr 2004
Location: MA / CT / RI Border
Posts: 117
 

Default 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.
__________________
X-Cart Gold Plus 4.7.10
Reply With Quote
  #30  
Old 02-08-2007, 01:57 AM
 
laurieblake laurieblake is offline
 

Advanced Member
  
Join Date: Jul 2006
Location: Sydney, AUS.
Posts: 56
 

Default 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
__________________
Gold Version 4.1.5
Crystal Blue Skins
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:10 AM.

   

 
X-Cart forums © 2001-2020