Skip to Content Skip to Menu

Searching by location

9 years 9 months ago #257050 by bradley568
Searching by location was created by bradley568
I'm currently working on a project and our site uses CB. This allows us to have registration of users by type. I have 2 types of users and want 1 user type to be able to search the second group and sort them by location.
Both user types have an address associated with their records.
I want to use user1s address to find people from user2 based on proximity.
Has anyone done this or are there any plugins around that could be utilised?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8283
  • Karma: 1443
9 years 9 months ago #257077 by krileon
Replied by krileon on topic Searching by location
We have no proximity based searching. For that you need some sort of realtime mapping API like Google Maps API or a giant list of zip codes so you can do a radius search based off the code (not always accurate). Best you could do out of the box is just let them search the address field(s). There have been some radius search plugins (and one is planned, but I've no idea when I'll get around to it), but I don't think they've been upgraded for CB 2.x.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

9 years 9 months ago #257523 by bradley568
Replied by bradley568 on topic Searching by location
Are there any templates to allow development of plugins? I'd be happy to build a plugin that would do what I need.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8283
  • Karma: 1443
9 years 9 months ago #257580 by krileon
Replied by krileon on topic Searching by location
Nope, once we've our documentation updated and our new JP site we'll have more examples available. For now I recommend using an existing fieldtype plugin like CB Gravatar Field as a starting point. Then reviewing the cbFieldHandler class carefully as well as cb.core.php for field behavior.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

9 years 9 months ago #258268 by bradley568
Replied by bradley568 on topic Searching by location
How do I access the code for the CB Gravatar? I'd like to take a look at this and figure out how to implement a plugin.

Thanks

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
9 years 9 months ago #258278 by nant
Replied by nant on topic Searching by location

bradley568 wrote: How do I access the code for the CB Gravatar? I'd like to take a look at this and figure out how to implement a plugin.

Thanks


See this:

www.joomlapolis.com/cb-20-addon-status

download CB Gravatar from this page of from your Professional Download area.

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

Moderators: beatnantkrileon
Powered by Kunena Forum