Closed (fixed)
Project:
Weather
Version:
7.x-1.1
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
30 Mar 2010 at 19:48 UTC
Updated:
18 Apr 2012 at 21:21 UTC
Jump to comment: Most recent file
Comments
Comment #1
toddy commentedHi,
yes, this is already implemented in the Drupal 7.x version of the module. If you'd like to backport this for D6, I'm happy to accept your patches. Currently, I'm using the data from hostip.info for that block. However, I'm thinking about depending on a Geolocation module which does the IP-to-Location translation for the weather module. I'm currently investigating which one of the numerous modules might be a good candidate. See e.g. #402546: Functionality overlap with ip2cc module for a discussion between two module maintainers.
Regards,
Tobias
Comment #2
jmbarlow commentedThanks, Tobias.
I'll have a look at the D7 tree and see if I can do something useful.
I had mixed results with the various geoip modules available for Drupal [I haven't looked again in the last six months] so for my requirements, I used the mod_geoip apache include with the free Geolite City dataset. See http://www.maxmind.com/app/geolitecity.
I'd be interested to know whether you give any of the current iterations of geoip modules a thumbs up.
Regards,
JMB
Comment #3
jkdaza commentedHi guys
Still interested in this?
What about using the geoip API?
Comment #4
Brett Bierman commentedWe're using the SmartIP module on a D6 site we're currently building and needed the weather block per user's location based on IP.
I've patched the D6 weather module to pull latitude/longitude data from SmartIP and produce a weather block for the user based on their IP. I went ahead and looked at the D7 version and backported it's method for doing this as well, so SmartIP is optional.
I also added a method to return the display for the block when it is being built from latitude/longitude values as this seemed to be being duplicated many times.
Comment #5
Brett Bierman commentedComment #7
ajsoles commentedMETAR data not translating to plain English for Canadian airports.
Comment #8
toddy commentedPlease do not hijack issues.
Comment #9
alpp commented#4: weather-user-locations-757650-1.patch queued for re-testing.
Comment #11
alpp commentedfor anyone who is interested in this feature for 6.x version. the patch above works perfectly well. i don't know why it fails in the auto test but i did modify the file according to the patch and it worked just as it was meant to be. great feature indeed. thanks for sharing.
Comment #12
knalstaaf commentedLooks like a great job. Will there be a D7 version as well?
Comment #13
toddy commentedThis is now available in the current release.