Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
haven't tried this module yet. From its description, it seems that it only supports the GeoLite *Country*, but not the GeoLite *City* (free) DB. Is that true? If so, are you planning to support this DB as well?
Thanks.
Comments
Comment #1
dnotes CreditAttribution: dnotes commentedI got the GeoLiteCity database to work with the geoip dev version by downloading the GeoLiteCity.dat file and then setting the path to that on the admin page. Then your custom module can just use geoip_city() to get the location as an object.
Comment #2
dnotes CreditAttribution: dnotes commentedBtw, here's a link to a patch I made for location module's views handler that enables one to filter views results by proximity to the visitor's ip address: http://drupal.org/node/820116
Comment #3
roball CreditAttribution: roball commentedThank you - sounds nice. Does that mean that the GeoLiteCity.dat file is not supported by GeoIP API 6.x-1.1 (released on 19 May 2010), but by the dev version rolled out 2 days later than the official release?
Comment #4
EvanDonovan CreditAttribution: EvanDonovan commentedSubscribing. I have a forked version of the Zipcode Redirect module that uses this database.
I may try to make my version of Zipcode Redirect depend on this, so I can support your effort.
Comment #5
Shiraz DindarSubscribe.
Comment #6
mrgoltra CreditAttribution: mrgoltra commentedsubscribing.
Comment #7
barry769 CreditAttribution: barry769 commentedSubscribing as well. I'm going to try your patch david as that is exactly what I am looking to do.
Comment #8
mattez CreditAttribution: mattez commentedIs It WORKING? THNX ;)
Comment #9
drewish CreditAttribution: drewish commentedThere's already a geoip_city() function in module. I'm assuming people just didn't test it? If you encounter problems with it please open a bug report.
Comment #10
roball CreditAttribution: roball commentedThanks - so could you please add this information to the project's page? Currently, it is only stated that it supports the GeoLite Country DB.
Comment #11
EvanDonovan CreditAttribution: EvanDonovan commentedYes, that was my issue as well - that it wasn't stated on the project page. I hadn't installed the module yet since I was trying to evaluate whether I should build a custom module of my own off of it.
Comment #12
EvanDonovan CreditAttribution: EvanDonovan commentedComment #13
drewish CreditAttribution: drewish commentedI'd already updated the project page: http://drupal.org/project/geoip is that sufficient?
Comment #14
EvanDonovan CreditAttribution: EvanDonovan commentedLooks good. Thanks.
Comment #15
roball CreditAttribution: roball commentedYes, now it's 100% clear - thanks!