Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

CB users, K2 Users, extra fields...

11 years 7 months ago - 11 years 7 months ago #222820 by taichicoach
CB users, K2 Users, extra fields... was created by taichicoach
My site is Joomla! 3.0.2, with Community Builder, K2, and SW K2 Maps.

I would like to build an international School Directory. But since CB does not yet integrate completely with K2, I am guessing that I need to create a separate K2 user group which can be joined by registered CB members.
Following so far?

So, I will have a CB membership which registers members. Then I will have a separate K2 registration for registered CB members. The K2 members will input information about their schools, with at least one extra field for the address of classes. This will, hopefully display on the SW K2 map, so any people who can find their homes on a map of the World will be able to locate the closest schools and read all about what they offer.

Does this sound reasonable, or am I too far down the rabbit hole?

And while I'm down the rabbit hole...I see that K2 users list mirrors the CB users list. Should it be thus?
Last edit: 11 years 7 months ago by taichicoach.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
11 years 7 months ago #222831 by krileon
Replied by krileon on topic CB users, K2 Users, extra fields...
You could use CB Auto Actions with a Query action to push CB field data to K2 on the after registration and profile update triggers.


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.

11 years 7 months ago #222834 by taichicoach
Replied by taichicoach on topic CB users, K2 Users, extra fields...
Cool.

I play this little game.
Whenever I get a support reply that seems to give me credit for being smarter than I am, I relay the information to my associates as if I were my idea. This gives them the impression that I am smarter than I really am. That way I can send them out for coffee while I try to figure out what it all means.

;)

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

11 years 7 months ago #222835 by taichicoach
Replied by taichicoach on topic CB users, K2 Users, extra fields...
Should the triggers be from the front end or back end?
Automatic, Manual, User, or Specific?
Which ACL should I select?

Let me know if I'm asking too much.

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

11 years 7 months ago #222836 by taichicoach
Replied by taichicoach on topic CB users, K2 Users, extra fields...
Okay.
I just signed up for Stanford University' Introduction to databases. I'll get back to you when I'm smarter.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
11 years 7 months ago #222845 by krileon
Replied by krileon on topic CB users, K2 Users, extra fields...

Should the triggers be from the front end or back end?
Automatic, Manual, User, or Specific?
Which ACL should I select?

Leave "User" as "Automatic". Set "Access" to "Everybody". For the triggers you'll want to use the backend and frontend after registration and after profile update triggers (just select them from the dropdown 1 by 1). Next you'd simply supply your query within "Query" to push data to K2s user database tables.

Note CB Auto Actions can push base K2 data (username, name, gender, etc..) to K2 using the K2 action. It can also set their K2 group easily. This won't help if you're wanting to push custom K2 field data though.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum