Users have their own location, provided to us by the User Location module.
Users can also create nodes, and these nodes have their own location, provided to us by the Location module.
Is there a method via Views - or any other way! - of creating a proximity search of nodes that uses the User's location (ie the node author) as the basis of the search?
A use case is this: a User might be a cinema that creates n number of events, news items, or other bits of content . So we want to search these nodes by the location of the author that submitted them rather than by the node location. This provides us with a list by location of numerous nodes of content that are geolocated and can be linked back to the author.
Any help or pointers greatly appreciated.
Comments
Hello Tony, It's beea long
Hello Tony,
It's beea long time sin nce you posted this, but I just stumbled upon it now.
I did not use User location. I used Content Profile and added locations to that. From there, add a 'Location' view and you can filter by distance/proximity, expose it, and now someone can search who is nearby by postal code.
It's a little dirty, but it worked out well for what I needed it to do.
--Justin
Can the logged in user use Content Profile?
I am trying to do the same thing, but in addition I would also like the logged in user to choose from multiple addresses.
I have configured Content Profile so that users can enter a 'Home', 'Work' & 'Other' address, but because my users could be either individuals or businesses (businesses such as those described above) I have used Content Profile to store the users' addresses rather than user locations, which makes it much clearer when signing up which details relate to someone's personal information and which is their business information.
The problem I have is that the exposed Distance / Proximity filter of the location module includes the ability to choose from multiple user locations, but the list is always blank as it is not picking up the locations stored within Content Profile content types... any ideas?