auto sync joomla user with CB

6 years 2 weeks ago - 6 years 2 weeks ago #302805 by saman2
Replied by saman2 on topic auto sync joomla user with CB
1-how can i see list of all the function such as delete() or etc?
2-is it possible do something after user edit his profile, in other table of database?(table of my custom form)
3-what is your idea about using view in sql to sync __comprofiler with my table? (i want use this www.w3schools.com/sql/sql_view.asp)

Please Log in to join the conversation.

6 years 2 weeks ago #302810 by krileon
Replied by krileon on topic auto sync joomla user with CB

1-how can i see list of all the function such as delete() or etc?

Dig into the API files. User object class is found below.

/libraries/CBLib/CB/Database/Table/UserTable.php

2-is it possible do something after user edit his profile, in other table of database?(table of my custom form)

CB fires triggers after every profile update as does Joomla. So a CB plugin acting on those triggers or a Joomla plugin acting on those triggers could be ued to add whatever custom behavior you need after a profile is updated. Easily done using CB Auto Actions and a Code or Query action though.

3-what is your idea about using view in sql to sync __comprofiler with my table? (i want use this www.w3schools.com/sql/sql_view.asp )

You can do whatever you want as it's your site, but SQL syncing fires none of CBs triggers so it bypasses all checks and plugin integrations in CB. It's a bandaid for a bigger issue you have and that's registering users with Joomla API instead of CB API.


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.

6 years 2 weeks ago #302813 by saman2
Replied by saman2 on topic auto sync joomla user with CB

krileon wrote: It's a bandaid for a bigger issue you have and that's registering users with Joomla API instead of CB API.

i want something such as this but with your API:
fabrikar.com/forums/index.php?wiki/joomla-user-form-plugin/

and for that i want buy CB pro subscribing for more and fastest help.
Juser have some feature that you can see in that page for example :
Delete users
Synchronize Users

i want sync my user information between __comprofiler and my custom table that Fabrik moderate that. any idea?

Please Log in to join the conversation.

6 years 2 weeks ago #302820 by krileon
Replied by krileon on topic auto sync joomla user with CB

i want something such as this but with your API:

Then you need to develop a Fabrik plugin that uses CB API to register a user. CB API to do this can be found below.

www.joomlapolis.com/documentation/279-community-builder/tutorials/18362-registering-a-user-through-cb-api

i want sync my user information between __comprofiler and my custom table that Fabrik moderate that. any idea?

If you mean you want to do this when you update a CB profile from within CB then you'd act on the after profile update trigger in CB Auto Actions and probably use a Query action to execute SQL on profile update to insert/update your custom database table as needed.


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.

Moderators: beatnantkrileon
Time to create page: 0.301 seconds

Facebook Twitter LinkedIn