Register | Login
Sunday, February 05, 2012
  Search
 Discussion Forums at Locopon's Minimize
 
Forum / ForosForum / ForosModules/ModulosModules/ModulosDSLocalizatorDSLocalizatorGeoIP, How to Detect User Location Automatically? GeoIP, How to Detect User Location Automatically?
Previous Previous
 
Next Next
New Post
 5/16/2009 11:56 AM
 

Hi

I have just downloaded the DS Localizator and let me say I am so far very impressed. I could work out most of the functionality easily so thanks for the excellent job.

My intention for obtaining this is very simple. I want to show different content of TEXT/HTML module to different visitors based on their geographics location. So when a UK visitor comes to the sites he will see:

"Text for UK visitor"

and when the rest of the world comes to the site, they will see

"Text for the rest of the world"

I saw in the description that you support GeoIP for automatic recognition. I tried to use it but I can't get any automation working. I am also using MLHTML in combination with DS Localizator which is great. So I can use the DS Language selector to see various content in the MLHTML which I can get it to work and is alreading working as you expect.

However, by default I can only see the US language no matter where the site is visited from (UK or US) .  I am sure there must be come correct way of setting this up, so any help will be appriciated.

Do you have to disable language selection for the GeoIP to work? If so how and where?

Currently I use these in general options:

portal setting localization = false

tab local = false

module local = false

dont use cookie = true

dont use query = false

replace URLS = false

replace solpart = false

dont use geoIP = false

dont use browser local = true

detection order: GeoIP ( i have removed all the rest)

The rest of the setting are as default when installed.

 

Thanks for any inputs

 

 

 

 

New Post
 5/16/2009 8:49 PM
 

First be sure of the following:

1) The hack is installed

2) Activate at least 1 localization (Portal, tab or module). In your case if you want to hide modules based on locale you must activate Module localization

 

New Post
 5/19/2009 4:11 PM
 

Thanks Locopon. I couldn't get back sooner.

The hack is installed and I have also activate the module localization. Here is what I set up now:

I have two languages enabled in dnn. US and UK English.

I set up  two text/html. I went to module localization, selected text box 1 in the appropriate tab, selected US english and set it as hidden. Then I went to text box 2, selected UK english and selected hidden. The idea was to see which one is hidden.

Currently the US english goes hidden. It is as if it set by default to read it as US language and is not responding to GeoIP. US language is of course the defaul language of the site. I tested this on proxies as well, and the result is always the same.

Am I correct to assume that the expected functionality is that GeoIP automatically matches a given language. This can be awkward if a language is spoken in multiple places in the world. Is there a way to link the GeoIP regions (using the DSLocalizator)  with  a specific language localisation in the DNN to make everything simple.

Thanks for you help

 

 

New Post
 5/20/2009 11:21 PM
 

The main idea is to select from the dropdown list (under the module localization section) the language and then set to hidden the module that you want to be hidden when that lenguage is active.

Please test the hidden option by using other detection option available (i.e. querystring) first to be sure it is working.

After that, try again with the GEOIP option as the only one option. If it still doesn't work, please contat me to locopon at tiendaboliviana dot com and put a reference to this thread in the mail so we can goo deeper in this issue.

The geoIP works by using the included table for GEOIP from DNN. It gets the country two letter iso for the country based on the ip address and then search locales for the first language that matches it. Language pairs are in the form XX-YY where XX=language and YY=Country code

 

Previous Previous
 
Next Next
Forum / ForosForum / ForosModules/ModulosModules/ModulosDSLocalizatorDSLocalizatorGeoIP, How to Detect User Location Automatically? GeoIP, How to Detect User Location Automatically?