Log that shows visitors

forrie

Joined: 2002-08-20
Posts: 69
Posted: Thu, 2005-07-14 18:12

It would be nice to have a running log of visitors - their IPs, date/time. Could even go further and have a clickpath that shows what they viewed.

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Fri, 2005-07-15 04:06

Yes, it would be nice! Its called the "access_log" (though it could have many names) and it is generated by your webserver. Both IIS and Apache are happy to make them and most hosting providers are happy to give you access to them. Then you can use a free tool like webalizer or awstats (I like awstats myself) or perhaps even something your web host provides. Good luck!

 
forrie

Joined: 2002-08-20
Posts: 69
Posted: Fri, 2005-07-15 04:08

Cute.

I know about that, I run a server - but the function of seeing it or making it visible via the interface is what I was referring to.

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Fri, 2005-07-15 04:31

I personally can't see much use in something like this, asside from slowing down gallery, duplicating a well established, working system and using up lots of disk space if you accidentally forget about it...

But if you want, I'd suggest checking out G2 and then making a detailed post along with an RFE. I think what you want would be so trivially easy to do in G2 that you could probably learn the API and do it. G2 has hooks, and all you'd need to do was find the image load hook and write a module that records the ip, item visited, etc to a file every time an image is loaded. You could do this for tons of things, keeping seperate stats for who loads thumbs, resized and full images or almost anything.

The more modules for G2 the better!