 |

|
How hard would it be to ping a user's IP address when they are creating an account and have it use that location's country as the default country setting? It seems most people use USA without realizing it. Also, why is CP's default USA instead of Canada, eh?
|
|
|
|

|
hostip.info[^] seems to work pretty well, and they provide the data in a MySQL script[^] so you can use it without hitting their servers.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|

|
I think the best default is ... use void.
Automatically flagging may be perceived intrusive by some users, especially if it happens without them realizing it.
For a few of us, this comes on top of the problem of the definition of "country" : Country you are working in, country you are from, or country you just happen to be... the automatically flagging could be as wrong as any arbitrary flag.
So leave it to void by default, and let people who wants it modify it in their settings.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb
|
|
|
|

|
The country you happened to be in might be a problem for Europeans who travel a lot. Otherwise, put the country where your ass sits in on most days.
|
|
|
|

|
Not only using void as default.
void as default + not being able to end the registration without a valid entry.
It could end with people lying, but once you must search one... why don't search the correct one?
Regards.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.
|
|
|
|

|
Doing so is easy. Having accurate data is hard.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|

|
What about void as default + not being able to end the registration without a valid entry?
It could end with people lying, but once you must search one... why don't search the correct one?
I think that would drop the number of "plz", "urgentz" and "fully wrong spelling" USA-Members
Regards.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.
|
|
|
|

|
Nelek wrote: "fully wrong spelling" USA-Members
There is no other type of US member.
|
|
|
|

|
Because the value returned is not always accurate - it depends on the ISP who allocates the IP address. Most geolocation from IP services will return a country, but (certainly in my case) if can be hundreds of miles out - it depends on which IP addresses were available when my router connected to the ISP which one of their pool I get. I am in Wales, but I have had geolocations for Germany, France, or -worse- England...
And of course, if a proxy is used, then it could be anywhere!
BTW: I just checked, and no location is available for me today - but the consensus is I might be in Amsterdam. Oops!
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.
|
|
|
|

|
OriginalGriff wrote: or -worse- England...
What, our sheep not good enough for you, boyo?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|

|
Bassam Abdul-Baki wrote: Also, why is CP's default USA
Because they assume that anyone who cannot be bothered selecting a country must assume that it is obvious where they are, because they cannot conceive of any other country, so therefore are most likely American.
Every man can tell how many goats or sheep he possesses, but not how many friends.
Shed Petition[ ^]
|
|
|
|

|
You know them's is fightin' words...
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
 |