hashplan / calendar

Apache License 2.0
0 stars 0 forks source link

new user location #29

Open hashplan opened 9 years ago

hashplan commented 9 years ago

What is the logic for the location.

For the new user I registered (user id 124) the location in user settings is set to Albuquerque which is the first thing that shows up alphabetically in the dropdown. I am registering from New York.

image

romasolot commented 9 years ago

Yes, location is currently not determined during registration. I proposed several ways out of this situation in issue #20. We agreed to postpone this task so far.

As I understand user location should be simply automatically determined at this step during registration? What is the priority of this task? I plan to start it once I'm done with all available tasks

romasolot commented 9 years ago

Starting working on location determination

romasolot commented 9 years ago

How are we going to determine user's location - HTML5 (but a bar with the following text will show up above: hashplans.com wants to use your computer's location. "Allow" "Deny") ?

Or php GeoIP - but I have just tested my IP, and it could not determine my city, only country.

hashplan commented 9 years ago

Would hate the confirmation box to pop up. What about the google maps api we had before? That approximated my location in the city in several places pretty well. I think we just need to get the initial location for a new user and store it instead of determining it every time the user logs in.

hashplan commented 9 years ago

Roma, thought on this. How about we reroute the user to the account settings page on initial login/signup and ask them to pick a location from the dropdown. I think that will be simplest? We obviously won't get live location from them if they move from city to city every week, but then they can use the location selector on events search page. I think that would be good enough for the first pass at this? Let me know.

romasolot commented 9 years ago

Yes, I think it's a good idea. We'll be able to enhance the functionality further on, but it should do for this step. We may not redirect to the settings page for example, but display a narrow banner with a request to specify the location (for example if user has registered using facebook, we can display a request to set up a password) as a link to the settings page. This notification will be displayed until user executes all requests, or closes this notification (set cookie) and we no more disturb him:) I could provide an example if it is not clear how it should look like, or implement this scheme at once. What do you think about it?

hashplan commented 9 years ago

Yeah you can implement this. Lets try it.

romasolot commented 9 years ago

Please authorize in the system as stasichk@hotmail.com (maybe via facebook) and you'll see this notification If you close it, it is not going to show up until you log out (saved in session)