Any of you able to match IP address to City in China with modules such as geouser?

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
mahnster's picture

Hey all of you in China...

I thought this might be the best way to start a discussion on our websites in China being able to find a user's location. I have seen many sites in China such as websites with classifieds, real-estate, etc. that automatically know that you are in Shanghai, Beijing, Guangzhou, etc. However, with Drupal, I have never been successful at doing so.

Any of you been successful at this? I have tried using the geouser module and downloaded the GeoLiteCity.Dat database from http://www.maxmind.com/app/geolitecity, yet even being in Shanghai, it was unable to determine my city. I then used my VPN in Hong Kong to try, and it did know I was originating from Hong Kong. So this works in part, but I need it working for users in China. As I said, I've seen sites to use this in China, knowing which city, at least a major one, you are in.

Any discussion on this would be helpful.

Comments

You can consider

ayang23's picture

You can consider www.ip138.com. get datas from that website via api, or hack.