Skip to Content Skip to Menu

Ajax member search with location radius search

  • sfraise
  • sfraise
  • OFFLINE
  • Posts: 96
  • Thanks: 14
  • Karma: 4
13 years 8 months ago #156086 by sfraise
I'm about done building an ajax member search component that includes a radius search, dependent drop down location selectors, and tokenized autosuggest boxes. The UI is modeled after the Facebook member search function. Just change a value in the search form and the members list instantly changes accordingly.

It's currently set up for my field structure but am going to try and build in some backend params in order for others to change the column names to match their own fields.

Anyway, if you'd like to take a look at it you can see it at www.erecoverydev.com , you can log in with username:test password:test123, click on the test tab and click on the "Go to full component" link. I'm playing around with building this in both a plugin form as well as a component which is why there's a tab but I don't have the plugin near ready yet.

IMO the member search functionality is critical to a successful community site and CB just doesn't have a good modern option out there yet so hopefully this will help fill that gap.

I currently just have the location data for the US, but once I get the component finished I'm going to try and broaden that out to Canada and other countries.

I'll post something here in the forum once I have it ready for others to use.

Please Log in or Create an account to join the conversation.

  • heyai
  • heyai
  • OFFLINE
  • Posts: 324
  • Thanks: 79
  • Karma: 24
13 years 8 months ago #156109 by heyai
Looking forward to your solution!

hey-ai - the community for asian guys and non-asian girls

The search bar is your friend, not just decoration!

Please Log in or Create an account to join the conversation.

  • stepson
  • stepson
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
13 years 6 months ago #163312 by stepson
hello !

Also interested in what you are trying to do.

I'm myself working on this with a very basic approach (longitude/latitude with initial value with zipcode only, google maps to change the point and update the profile) and a "squared" radius search (simple sql query on latitude - radius, latitude + radius, longitude - radius, longitude + radius) to find nearby users

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum