Is there any way for me to view the source IPs

Nista

Joined: 2009-04-05
Posts: 9
Posted: Sun, 2009-07-19 16:50

Hello,

Is there any way to view the source IP addresses of the people
viewing the pictures in my albums?

Any help would be greatly appreciated.
Thanks


Gallery version = 2.2.3 core 1.2.0.5
PHP version = 5.2.6 cgi-fcgi
Webserver = Apache/2.0.61 (Unix) PHP/4.4.7 mod_ssl/2.0.61 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.4.2
Database = mysqli 5.0.24a-standard-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Ffmpeg, NetPBM, Gd, ImageMagick
Acceleration = none, none
Operating system = Linux pan 2.4.32-grsec+f6b+gr217+nfs+a32+fuse23+tg+++opt+c8+gr2b-v6.194 #1 SMP Tue Jun 6 15:52:09 PDT 2006 i686

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sun, 2009-07-19 17:09

Your web server's access logs. But as far as something Gallery is logging, not that I know of.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Nista

Joined: 2009-04-05
Posts: 9
Posted: Wed, 2009-07-22 17:29

Thanks for the reply.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-07-22 17:39

Did a 10 second search and came up with some results, but it looks like still probably no.
http://www.google.com/search?domains=gallery.menalto.com&sitesearch=gallery.menalto.com&q=log+access

One of those results might have some sort of hack for it. Personally, I still prefer my server's access logs along with a good analyzer like Awstats or something like that. Or just use google :) http://www.google.com/analytics/ That what I do. There are post and I think even a tutorial on how to get google analytics working in your theme, (basically just add the appropriate code to theme.tpl and you're done)

Once signed up for Google Analytics, just add the stuff in bold to the bottom of theme.tpl for your theme, changing the appropriate info and you're done. Of course you may need to clear your cache too:
FAQ: How can I clear cached data?

NOTE: My example is using HTTPS because I run the site I pulled that from through HTTPS for some stuff so I just use that google URL for all pages on the site.

    {g->debug}
<script src=" https://ssl.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "YOUR GOOGLE CODE";
_udn="example.com";
urchinTracker();
</script>

  </body>
</html>

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Nista

Joined: 2009-04-05
Posts: 9
Posted: Sat, 2009-07-25 21:41

I don't have access to the web server logs, since I use a web hosting service, but I'll investigate
google analytics.
Thanks again for all the help.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sat, 2009-07-25 22:27

You should. I haven't used a hosting service, even a low-end cheap on that doesn't provide access to the access logs.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Nista

Joined: 2009-04-05
Posts: 9
Posted: Sun, 2009-07-26 16:08

You're right..
I've found them, I was looking in the wrong place.
Thanks!