I developed this service that will display a map of visitors to gallery or site by placing this line of html code in the layout or footer --
<a href='http://www.mapvisitors.com' title='Map of Visitors'><img src='http://www.mapvisitors.com/m.png' alt='Visitor Map' style='border:0'></a>
After the html is placed, it will start recording visitors, you just click on the button on your web site and it will display a map of your visitors.
Do you think I should try to develop it as a mod for Coppermine? Otherwise I guess you have to dig into the template.html which may not be for everyone.
Is there a guide for developing Coppermine mods properly?
Thanks!
Eric
http://www.mapvisitors.com
i am not 100% on this but I think this mod already exists.
try searching.
I think it uses googlemaps to do it.
This thread definitely is related to Coppermine and not related to Photography Tips & Tricks (http://forum.coppermine-gallery.net/index.php?board=35.0), so you shouldn't have posted it on the Photography board. Moving accordingly.
I don't see how this mod can show visitor info based on the code snippet used. Maybe I'm confused about how it's supposed to work.
Logs the IP and referer of requests for the image I expect.
Yes Nibbler that is correct. It primarily uses the HostIP.info database for the IP to lat/lon lookups.
When you have the button on your site and then click on it, the index.php code on mapvisitors detects the referrer and queries the database for the visitors that have been recorded for your site. That is a mouthful but I hope it makes sense.
Eric