Jump to:

11001 Posts in 2733 Topics by 1823 members

All other Modules

SilverStripe Forums » All other Modules » IP Tracker

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 475 Views
  • Brand
    Community Member
    8 Posts

    IP Tracker Link to this post

    I am looking for a module who can integrate an ip-lookup for visitors and log this. Ideal is when it is dynamic, but if it is handwork I can live with that. Is there somebody who likes to work on this? If so, I am interested to participate.

  • Willr
    Forum Moderator
    5511 Posts

    Re: IP Tracker Link to this post

    The archaic stats module http://www.silverstripe.org/statistics-module/ will log IP addresses of all your users. For country lookups I've used hostip.info in the past, easy and quick to include for country based look ups ($location = file_get_contents("http://api.hostip.info/get_html.php?ip=". $_SERVER['REMOTE_ADDR']));

    Logging visitors to your standard MySQL database is not optimal from a scale point of view (which is why the stats module got dropped) so be careful.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.