Any idea on how to add a feature that filters content based on user input location?

Luther A Posted in Component Development 2 months ago

Hey there. Does anyone perhaps know how to add a feature that filters content based on where the user sets their location to? In layman's terms, I want to add functionality that when a user sets their location to 'A' only events and local attractions within say 200m of 'A' will be displayed on the home page. Could anyone please advise?

Replies
Zuang Luther A Replied 2 months ago

Good day Arsalan, do you have any suggestions if the locations are derived/fed from a dropdown? So when the user signs up they are prompted to select a location based on ones from a dropdown.

Indonesian Arsalan Shah Replied 2 months ago

Unless you store user latitude and longitude and then you need to modify OSSN and then get all the contents (wall posts, etc) for users only within your area.