Hard Light Productions Forums
Off-Topic Discussion => General Discussion => Topic started by: Colonol Dekker on June 23, 2014, 09:24:58 am
-
http://www.chromeexperiments.com/globe
Can we do an HLP chart on it?
-
wwwwwwhyyy
-
wwwwwwhyyy
Because we already have the Clustrmap (http://clustrmaps.com/counter/maps.php?url=http://www.hard-light.net).
Thought it'd be a nic eendeavour and looks a bit 21st century yo boot.
edit - Who's the pirate off the Madagascan coast?
-
I might actually be able to hook this up using visitor data to the frontpage, but unfortunately I have no idea how I'd hook into the forums and get lat/long from SMF.
-
:blah: Well if anyone can, the fine admin team here can. I have the utmost confidence in you guys. :yes:
-
I might actually be able to hook this up using visitor data to the frontpage, but unfortunately I have no idea how I'd hook into the forums and get lat/long from SMF.
geoip db of some sort and match that regionally maybe?
-
geoip db of some sort and match that regionally maybe?
Indeed, that's how it's normally done - it's just not a process I know how to do from scratch. :)
-
i could offer my services, would be a fun thing to try and do...
(3-4 years of total work in php, a year and something profesionally, if experience matters)
[edit] after looking at the code, it should be relatively trivial. preprocess the data, spit it out, call it a day :p
-
Is that a challenge accepted?
-
Is that a challenge accepted?
Its a challenge done (http://egzodus.com/dir/hlpGeoLoc.7z).
First off, grab the globe folder off of here (https://github.com/dataarts/webgl-globe)
Then, grab the GeoLiteCity (http://dev.maxmind.com/geoip/legacy/geolite/) binary db.
unzip my zip somewhere where php is available on the path, unzip the geolitecity database from its zip there, keeping the name as-is.
put the globe folder wherever, keeping in mind, you need to server the json over the web or run chrome with a specific command-line ( cant load local files from javascript, unless with a commandline which eludes me, this is only for chrome AFAIK )
overwrite index.html with the one i provided.
now create a file called ip.txt in the same folder as hlpGeoLoc.php and put in IP addresses one per line.
after that run php hlpGeoLoc.php on the commandline, hope nothing blows up
take globe.json and drop it in the same folder as the index.html, refresh the page and it should work.
if its too much work atm, send a list of ip's to me and i'll host it on my end somewhere. (probably hlp.egzodus.com/globe or smth)
also, if you want it prettier, drop a pm.
-
:eek: :yes:
I applaud your efforts. I look forward to trying to get this working with my limited skill :nod:
-
EDIT: Looks like my response got placed in the wrong thread, my apologies.
I don't have anything about the Google Globe initiative at this point to add.
-
Don't fret.
Fancy giving it a go while you're here?
edit- just checked the clustrmap stats. I realised i've moved from the London tally to the Essex one. sadfaic.
-
So, Sandwich, any luck getting this to work, now that you ended up being unrecruited? :D