×

Error

Please login first

[SOLVED] How do you link Geommunity with 'Field Management'

11 years 11 months ago - 11 years 11 months ago #200879 by ncmed
I was under the impression Geommunity had fields for Field Manager, but it did not come with this. Any ideas on passing selected zip, City and State into Geommunity or vice-versa with Auto:Edit or other feature.

Also, any way to include this into Regestered Users search?

Please Log in to join the conversation.

11 years 11 months ago #200900 by krileon
You can pass Zip, City, and State CB fields (created by you in CB > Field Management) using database queries in CB Auto Action with a query action. You'd use the after registration and after profile update triggers (frontend and backend). Example query as follows
UPDATE `#__tablename` SET `zip` = '[cb_zip]', `city` = '[cb_city]', `state` = '[cb_state]' WHERE `user` = '[user_id]'

No idea how geommunity database is setup so you'll need to review exactly how your query should be structured.


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 to join the conversation.

11 years 11 months ago - 11 years 11 months ago #200904 by ncmed
Got if figured out...Geocoder Plugin fixed this. :woohoo:

Thanks for the post and information on the query krileon, I will be using that for other things as it has given me an idea.
The following user(s) said Thank You: krileon

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.171 seconds

Facebook Twitter LinkedIn