GEO IP support
GEO IP support
This sample integration makes use of http://geoiptool.com/ service to find out the GEO information about customer. In order to install package, first extract zip file and then place files into your website folder in very same directory structure. Once you are finished with installation, you will see a details link near customer IP address on your vieworder.aspx page. Holding mouse over details link will bring a pop up with customers GEO information. Please check screen shots
- batmike
- Commander (CMDR)
- Posts: 123
- Joined: Tue Sep 04, 2007 10:46 am
- Location: Minneapolis, MN
- Contact:
Re: GEO IP support
Works great! Thanks for the add-on.
Does the flag image work currently? I'm assuming it's returned with the Geo request but it's trying to pull the flag image from my domain at /flags/countryname
Not really important; just curious.
Thanks again!
Mike
Does the flag image work currently? I'm assuming it's returned with the Geo request but it's trying to pull the flag image from my domain at /flags/countryname
Not really important; just curious.
Thanks again!
Mike
Re: GEO IP support
Thanks for review. I will check about flag issue and if possible will update the fix.
Re: GEO IP support
Also some scripts are available here
http://geoiptool.com/en/webtools/
You can place those scripts into your store scriptlets to let your customer now what is their location.
http://geoiptool.com/en/webtools/
You can place those scripts into your store scriptlets to let your customer now what is their location.
Re: GEO IP support
This problem is fixed and I have updated the above attached package.Does the flag image work currently? I'm assuming it's returned with the Geo request but it's trying to pull the flag image from my domain at /flags/countryname
- batmike
- Commander (CMDR)
- Posts: 123
- Joined: Tue Sep 04, 2007 10:46 am
- Location: Minneapolis, MN
- Contact:
Re: GEO IP support
Quick work
All works great now. Thanks!
Mike
All works great now. Thanks!
Mike
Re: GEO IP support
Again thanks for fix confirmation
Re: GEO IP support
I just posted a zip file for 7.0.5 in top post.napacabs wrote:Do you have a "GEO IP support" update for 7.0.5?
- batmike
- Commander (CMDR)
- Posts: 123
- Joined: Tue Sep 04, 2007 10:46 am
- Location: Minneapolis, MN
- Contact:
Re: GEO IP support
I had an issue come up the other day and others using this may have seen the same thing. It seems that the site changed some of the table code so when trying to hover over to lookup the IP info, an error would be returned.
To fix, I had to change line 33 in the /App_Code/GeoLocationHelper.cs from this:
to this:
The only change is that the table width is now 297 instead of 300.
Hope this helps others who may be using this nice little addon.
-Mike
To fix, I had to change line 33 in the /App_Code/GeoLocationHelper.cs from this:
Code: Select all
int startIndex = resultPage.IndexOf("<table width=\"300\" height=\"300\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\" class=\"tbl_style\">");
Code: Select all
int startIndex = resultPage.IndexOf("<table width=\"297\" height=\"300\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\" class=\"tbl_style\">");
The only change is that the table width is now 297 instead of 300.
Hope this helps others who may be using this nice little addon.
-Mike