1
wishcraft
IP Log 1.01 - Capture and Store you Users IP Addresses

IP Log 1.01 - Capture and Store you Users IP Addresses
Community Release by Chronolabs Co-op

IP Log 1.01 is a module for XOOPS 2.5 which allows your XOOPS install to capture and store the IP address and locational information for Users that have logged in for a period of time until they are dropped.

It uses IPInfoDB to get the location of the IP Address as well as storing how many seconds they spent online. It is an admin module only it has no Main User Interface

Features:
  • XOOPS 2.5 Gui
  • Dashboard
  • About Us
  • Preloader
  • Timer
  • Easy to use


Download: xoops2.5_iplog_1.01.zip - 60Kb

2
Mamba
Re: IP Log 1.01 - Capture and Store you Users IP Addresses
  • 2012/7/27 8:03

  • Mamba

  • Moderator

  • Posts: 11391

  • Since: 2004/4/23


Simon, good to see you back!

Is it an Alpha or Beta release?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

3
Anonymous
Re: IP Log 1.01 - Capture and Store you Users IP Addresses
  • 2012/7/27 9:24

  • Anonymous

  • Posts: 0

  • Since:


Nice module Simon, coincidence is there was a user asking for such a module at the Dutch support site last week

The module installs well but does not work well. The module admin pages show crippled and debug is showing a couple of errors like these:

Quote:
0,000304 - SELECT DISTINCT `b`.`region` as node, count(*) as total FROM `iplog_log` a INNER JOIN `iplog_countries b ON a.country_id = b.country_id
Error number: 1146
Error message: Table 'XXXXXX_nlxoops.xxxx_iplog_countries b ON a.country_id = b.country_id' doesn't exist

4
Anonymous
Re: IP Log 1.01 - Capture and Store you Users IP Addresses
  • 2012/7/27 9:27

  • Anonymous

  • Posts: 0

  • Since:


Debug also shows this:

Quote:
Melding: Undefined index: profileModule in bestand /modules/iplog/admin/footer.php regel 19


The module also tells I am in Andorra, Southern Europe. I wish I was but I am not on vacation

5
Anonymous
Re: IP Log 1.01 - Capture and Store you Users IP Addresses
  • 2012/7/27 10:47

  • Anonymous

  • Posts: 0

  • Since:


I could fix the last error mentioned, admin pages show correct now:

In footer.php I replaced
$GLOBALS['profileModule']
by
$GLOBALS['iplogModule']
two times.

But still the module is crippling the site layout at all admin pages and on the user side. It shows Quote:
pooArray ( [uid] => 2348 [uname] => flipse [agent] => Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11 [proxied] => [network-addy] => censored.dynamic.upc.nl [long] => 530020169 [ip] => censored [made] => 1343385847 ) poo2
on top of all pages.

6
Mamba
Re: IP Log 1.01 - Capture and Store you Users IP Addresses
  • 2012/7/27 12:01

  • Mamba

  • Moderator

  • Posts: 11391

  • Since: 2004/4/23


Quote:
But still the module is crippling the site layout at all admin pages and on the user side.

Same here, that's why I was asking if this is Alpha or Beta release.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

7
wishcraft
Re: IP Log 1.01 - Capture and Store you Users IP Addresses

Try the new IP Log (RC) thanks for beta testing it everyone that is what this forum is for, all those bugs and a few more now fixed.

Download: xoops2.5_iplog_1.01.zip - 60Kb

8
Anonymous
Re: IP Log 1.01 - Capture and Store you Users IP Addresses
  • 2012/7/27 15:26

  • Anonymous

  • Posts: 0

  • Since:


Thanks Simon. The module works fine now, including the api. There are just a few little problems left:

- Sorting on ip id, ip and useragent does not work. Result is an empty log

- There is no language tag for _AM_IPLOG_TH_CONTENT

Sorting on ip address would be nice to work, as it gives you the opportunity to find users trolling with more usernames. That's also what a Dutch Xoops webmaster was looking for.

9
Anonymous
Re: IP Log 1.01 - Capture and Store you Users IP Addresses
  • 2012/7/27 15:44

  • Anonymous

  • Posts: 0

  • Since:


This module could btw be a good start for teaming up with other modules. So a newbb moderator sees a warning in case an ip address is used by more users, has a button with every post to see the ipinfodb info about this user etc. Same for the xoops comments section. The way phpbb presents this in dept ip info about a user could be a good example.

10
Mamba
Re: IP Log 1.01 - Capture and Store you Users IP Addresses
  • 2012/7/27 16:16

  • Mamba

  • Moderator

  • Posts: 11391

  • Since: 2004/4/23


Quote:
Sorting on ip id, ip and useragent does not work. Result is an empty log

I guess, the issue is that the sorting is on "ip" field,

/modules/iplog/admin/log.php?start=0&limit=30&sort=ip&order=ASC&op=log&filter=1,1

but there is no "ip" field, only "ip4" and "ip6"

My country is still Andorra, so there is still a problem with pulling the country name for an IP
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Login

Who's Online

469 user(s) are online (179 user(s) are browsing Support Forums)


Members: 0


Guests: 469


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits