Go Back   Trackpads Community > General Discussions > Computer and Technology > Web Design

Web Design Forums and discussions on webdesign

Web Design

Reply
 
LinkBack Thread Tools
Old 10-25-2005, 22:03   #8 (permalink)
R. Rajesh Jeba Anbiah
Civilians

 
Default Re: simple setup for allowing visitors to choose their country

Nicole wrote:
> I need to be able to change the currency and some form fields displayed on
> my website depending on where the visitor is based. I don't need a fully
> functional cart, just a kinda either display '$10' or '£7' sort of thing!


Looks wrong. Every currencies have different weightage. Say, for
example 1Euro~55INR while 1USD~45INR.

> I was planning on having a map on my opening screen with hotspots over the
> countries.

<snip>

If supporting many countries, better not use the map at all. For
example, India has different versioned map: Indian version of India,
Pakistan version of India, CIA version of India, etc. So, there are
more chances that it will hurt anyone of them when you prefer one map.
(FYI, M$ had to touch their map of India in Win 95, IIRC).

> This seems rather long winded! Is it the right way to do it?


Better, look at other CMS source codes and implementation, esp one
with all these supports.

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-25-2005, 22:03   #9 (permalink)
Miguel Cruz
Civilians

 
Default Re: simple setup for allowing visitors to choose their country

www.1-script.com <info_at_1-script_dot_com@foo.com> wrote:
> I think the right way to do that would be using the GeoIP PHP API:
>
> http://www.maxmind.com/app/php
>
> This way you don't have to ask, just give them the custom layout based on
> their IP Address. Not without its limitations, but think about
> human-induced error factor: it is highly unlikely that you will get an
> honest answer from a visitor coming from Russia, India, China or any other
> place that online retailers don't like much. They know for the fact that
> they will be treated badly and maybe even denied access to the site, so
> why bother answering this question honestly? It's so easy to just pick
> U.S.A. from the list you've provided.


One thing that really annoys me about Google is that when I use it from
another country, it redirects me to the "local" version and presents itself
in a language that more often than not, I can't understand. Then I have to
go in and set the language preferences for google.com.th or whatever - it
neither picks up on the setting I have for google.com, nor presents a
language option right on the main page.

Making bold yet inflexible guesses about people's preferences is quite often
a bad idea. It would be fine to present a recommended country selection, but
to insist on one based on IP address seems like a poor option.

Not to mention, of course, the unreliability of the practice in the first
place. If you look at the headers of my post you might think I'm in
Washington, DC, but I'm actually in Kuala Lumpur, some 10000 miles away.
There are proxy servers, corporate networks and VPNs, and all sorts of other
confounding factors.

miguel
--
Hit The Road! Photos from 38 countries on 5 continents: http://travel.u.nu
Latest photos: Burma; Hong Kong; Macau; Amsterdam; Grand Canyon; Amman
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Questions / Simple Answers JudyLynne Humor 0 05-03-2006 23:29
Simple Questions / Simple Answers Snowden Humor 1 04-06-2005 01:21
Allowing a script to run only once... plato Web Design 9 02-04-2005 20:00
Simple Formula for simple person. :) John Microsoft Applications 1 06-16-2004 02:22
Allowing text to overlap other cells Scot Microsoft Applications 2 06-15-2004 16:30


Community Information
Options
Quick Options
Trackpads Non-Commercial Ad
Copyright Information Click to Visit
Time
Server Time
All times are GMT -4. The time now is 22:18.
Copyright
Copyright Information
The header is based off of work by Vipixel.com and modified by this site. Trackpads and the Trackpads Logo are both Registered Trademarks of Jason Edwards and cannot be used without prior written permission.  The only exception is as a link back to this site. Trackpads is a private website run by a small legion of volunteers, 3 dogs, 12.5 cats and an army of small, super smart, bio-engineered mice with pointy hats and tutu's. Search Engine Friendly URLs by vBSEO 3.2.0 RC7
Archive Links
Archive Links
Page generated in 0.67161 seconds with 19 queries