Skip to Content Skip to Menu

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

Gender field community builder and K2 cck

  • pierreco
  • pierreco
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
11 years 7 months ago #223846 by pierreco
Hi,

I have a problem between community builder and K2 cck.

How to synchronize a gender field community buider (man or woman) with the gender field of K2 cck ?

Thank for your answer !

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 #223856 by krileon
Replied by krileon on topic Gender field community builder and K2 cck
CB Auto Actions has a K2 action that can synchronize the gender field. It can also do a few other core K2 fields (will not do custom fields) as well as K2 groups. Ensure the CB field that you synchronize has values that match K2s exactly or it won't work. You'll probably want to use the after registration and after profile update triggers in your auto action.


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.

  • pierreco
  • pierreco
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
11 years 7 months ago #223884 by pierreco
Replied by pierreco on topic Gender field community builder and K2 cck
Hi,

Thank you very much of your answer !

A question : K2 is compatible with community builder and they are community builder auto action for K2 but I don't understand why this configuration do not exist by defaut?!

I have on one side one fields CB:

cb_gender with two values _UE_MALE and UE_FEMALE

And on the other side one fields K2:

K2_GENDER with two values K2_MALE and K2_MALE

I configure an automatic action (attachment) but the synchronization does not work !

Have you an idea?

Thank you in advance for your answer !
Attachments:

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 #223928 by krileon
Replied by krileon on topic Gender field community builder and K2 cck

A question : K2 is compatible with community builder and they are community builder auto action for K2 but I don't understand why this configuration do not exist by defaut?!

Because you don't need anything from CB for it to work with K2. The extra fields are not a necessity and how we integrate other extensions is by plugins such as CB Auto Actions. Both CB and K2 use _users table as well as name, email, password, etc.. is the same for both.

I configure an automatic action (attachment) but the synchronization does not work !

Remove the conditional and see if your auto action will work. I believe language strings will translate so you'll probably need to use [cb_gender] Equal To Male.


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