Hi,
We're attempting to integrate our extension (bridges the Infusionsoft CRM with Joomla) with CB in the following fashion:
1) Administrators can match an arbitrary amount of CB fields (be it core or custom). So we need a way to pull the list of current fields, along with a type (lists, text etc since we have field types on the IFS side).
2) Given the aforementioned maps, we want to be able to push field values properly to the appropriate CB fields when the CRM signals us of a change in customer data (i.e. CB field 'address 1' should change to a new value).
3) Given the aforementioned maps, we want to be able to intercept (I'm guessing CB or JUser events) CB field value changes so we can push them back to the CRM.
We had a look at some of the code and the table structure, and to be honest we're not entirely sure on how to go about properly doing this. Right now we're doing #2 by caching the native Joomla user update events and fetching the CB data straight from the DB (and we do this just for the hardcoded fields you have in the DB, not the custom ones). We're doing #1 in a similar fashion, at which point we're not even sure if we're breaking any of your design paradigms (maybe pushing strictly through a CBUser call would be better so CB plugins could find out about the change).
Would you happen to have any pointers so we can make a better integration between CB and JoomFuse? The developer has worked with a similar CB extension in the past, but it seems a lot of things have changed in the past 4 years since he did.
Any help would be appreciated (docs, specific parts of the CB, other extensions with similar functionality, classes or anything that pops into your mind)
Thank you,
The JoomFuse team.