SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard DoubleDee's Avatar
    Join Date
    Aug 2010
    Location
    Arizona
    Posts
    3,777
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    How to capture and display "Location"??

    UGH!!!! I am going crazy on this one!!!!!

    Users on my website can create a User Profile - similar to what SitePoint has. Their Profile can be viewed in detail by other Users, and all Visitors to my website can see abridged User Info when a user posts a Comment. (see below)
    Attachment 59490


    I am torn - and keep changing back and forth - on WHAT information to capture, and HOW to capture and display it.

    If everyone who visited my website was from the U.S. - which is where I am at - and they completed all fields, then this would be the solution...

    - City
    - State
    - Zip Code


    However, not everyone likes to comply and complete all fields during registration, and furthermore, there are people beyond the U.S.!!


    So I guess here are some things I'm confused about...

    1.) Do I ask for a generic, free-form "Location" during registration that will capture everything, but which is useless to my database and code?

    2.) If I ask for "City", "State", and "Zip Code" then what do I do when someone from London, England registers?

    3.) If I add a "Country" drop-down then that is A LOT of extra work to maintain in a world that keeps changing!! (Plus, who wants to search a drop-down that is a couple hundred entries long??)

    4.) How should I handle International Addresses?


    Just having "Location" makes it much more likely people will comply and complete the *optional* field, and it would capture any Address that fits in the field-length, but it isn't useful data beyond display.

    But having a more detailed Registration/Update Profile forms will not only allow me to display more detailed Address info, but it will allow me to gather statistics on my Users and cater my website based on where people are from.

    Can someone help me figure this one out?!

    Thanks,


    Debbie

  2. #2
    SQL Consultant gold trophysilver trophybronze trophy
    r937's Avatar
    Join Date
    Jul 2002
    Location
    Toronto, Canada
    Posts
    39,270
    Mentioned
    60 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by DoubleDee View Post
    Can someone help me figure this one out?!
    make it optional, a single text field, just like sitepoint

    simple
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL
    "giving out my real stuffs"

  3. #3
    SitePoint Mentor silver trophybronze trophy
    Mikl's Avatar
    Join Date
    Dec 2011
    Location
    Edinburgh, Scotland
    Posts
    1,568
    Mentioned
    63 Post(s)
    Tagged
    0 Thread(s)
    Make it as free-form as possible. Make it clear that it's entirely optional. And explain your reason for asking for the information in the first place.

    Above all, don't assume that all your visitors are from the US - or any other single country. Remember what www stands for.

    MIke


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •