Open Home at staging 1(http://staging1.drupal.org/)
Map functionality is not interactive. No mouse hover tooltips etc.

Please find screen shot attached with this.

CommentFileSizeAuthor
drupal_home2.GIF25.89 KBpiyushpoddar
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

piyushpoddar’s picture

Project: Bluecheese »
Component: User interface » Home

Moving to the Redesign project

drumm’s picture

Title: Home: Map functionality is not interactive » Start collecting data for the map
Project: » Drupal.org customizations
Component: Home » Code
Category: bug » task
Priority: Normal » Critical

The map on the home page needs data. At the resolution of the redesigned home page, a free IP to location database is sufficient, http://www.maxmind.com/app/geolitecity. We can keep locations by uid. Location could be sensitive, this should be opt-in on the profile page. We do want to have data ready when the redesign launches, so this will have to be backported to drupalorg 6.1 and pushed live to at least store the user's last IP address.

drumm’s picture

Issue tags: +drupal.org redesign

tag

drumm’s picture

http://drupal.org/project/issues/geouser could be a starting point for this, but it isn't great. The data is used as a file not imported to the database. And we want to use our static map rather than Google or Yahoo.

drumm’s picture

Title: Start collecting data for the map » Start collecting user locations for the map
drumm’s picture

{sessions}.hostname does have valid IPs saved. We do need to add the opt-in for showing this on a map. A profile module checkbox is good for this.

Damien Tournoud’s picture

Hm. Since when does the map displays *users* locations? I remain under the impression that this one was supposed to display *events* locations.

drumm’s picture

The purpose of the map is to show that we have an active & worldwide community. https://infrastructure.drupal.org/drupal.org-style-guide/prototype/homep... shows various updates, like the content on the right, from drupalorg_news. All of that content has uids associated.

#852438: Complete map content specifies a hard-coded DrupalCon pin.

Groups.drupal.org currently doesn't have good geocoding that I know of. When it does, we may add that to the mix, but that isn't a priority for the redesign effort.

kristofdg’s picture

How about showing activities within the community?

We could look at the example of http://www.bookdepository.co.uk/live.

On a map we could show content like
*someone from (country) posted a forum topic
*someone from (country) created a new module
*someone from (country) created a new theme

For geocoding I used http://www.hostip.info/ (Hostip.info is a community-based project to geolocate IP addresses). You can download their database and use rsync for updates.

drumm’s picture

@kristofdg that is exactly what we are doing, but we are storing user locations. Activity location is the location of the user doing them. See #852438: Complete map content for the other half of this, using the data.

Actually, HTML 5 geolocation is a real possibility. http://caniuse.com/#feat=geoloc. We only have 13.92% IE, which I'm okay with missing on this feature. I did a quick search for modules using this, but didn't notice anything looking solid.

attiks’s picture

As far as I know, HTML 5 geolocation uses your current location, so if you use this method this week, cph will be a huge place.

I think it's better to ask a user to edit their profile and specify country/city

drumm’s picture

Assigned: Unassigned » drumm
Issue tags: +drupal.org redesign sprint 3
drumm’s picture

Status: Active » Needs review

I made a new module for this, http://drupal.org/project/html5_user_geolocation. It needs review for deploying live on drupal.org. You can test it at http://drupal:drupal@redesign.drupal.org/user and editing your account.

drumm’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)
Issue tags: -drupal.org redesign, -drupal.org redesign sprint 3

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 2810c44 on 6.x-3.x, 7.x-3.x-dev by drumm:
    #690266 Permissions and copy for locations.