Active
Project:
OpenLayers Proximity
Version:
7.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Feb 2012 at 01:07 UTC
Updated:
3 Oct 2012 at 19:07 UTC
I'm using the D7 port (works great so far) and am looking to filter based off the current user's location stored in their profile field. How would you guys set this up? I'm thinking a relation needs to be setup but am lost at where to start. Should I add the user profile to the options in the filter?
Cheers,
Cellar-Door
Comments
Comment #1
garciac1212 commentedSame problem here. I noticed the OL proximity filter does appear and works fine when using regular nodes but doesn't work for users or profiles for that matter.
Comment #2
garciac1212 commentedJust noticed this is filed under 6.x ver. changed it to 7ver...
Comment #3
benjarlett commentedI'm wanting this feature too... glad it's not just me. Great work so far!
Comment #4
hawkeye217 commentedDefinitely in the market for this feature too...
Comment #5
cellar door commentedHey Guys - Just saw this update. I've got user proximity running through the git repo in http://drupal.org/node/1013450. I've since done some heavy editing in order to get it to work with a custom module so I'm going to have to revisit the two versions and see if I can merge them for my use. It should get you there though. I can do a write-up if you'd like when I get a chance
Comment #6
hawkeye217 commentedWould love a writeup! I wonder if the maintainer of this module would be interested in integrating your work...
Comment #7
cellar door commentedI'll work on it. Basically what I did is take the repo by FeyP and it worked great for user proximity but in the case I was using it, I wanted to reference it programmatically through a module that would pass it the coordinates of a recently posted node. The coordinates were already in WKT so I altered some of the options to bypass the geocoding and ran it off the WKT.
In my use I then returned that list to a module that would send out an SMS notification. It allowed me to do proximity based notifications off of new node creations. Pretty slick!
Comment #8
hawkeye217 commentedwow! very impressive!
Comment #9
garciac1212 commentedGood to hear people are looking into this. In the meantime what I did to get USERS PROXIMITY was to scratch the open layers proximity and use the new dev version of the geofield module. There is an option there to get proximity for users, nodes, etc. Check that out as well...
http://drupal.org/project/geofield
Comment #10
noahlively commentedOne thing I have done to work around the issue is to create a Location content type (one is provided by the ol_locator module if you're using that), put the geofield into the location node, and then create a node reference on the user account, so that every user points to one location.
This allows you to get the benefit of this module in its current state of dev. You can then build views based on the location proximity and then use views relationships to pull in data from the user profile.
Comment #11
B0ZE commentedI'm in the market for this feature too!
Comment #12
mdlopresti commentedsubscribe