Skip to Content Skip to Menu

CB Auto Actions triggers

9 years 6 months ago #262256 by davidmarshall15
CB Auto Actions triggers was created by davidmarshall15
I have been looking for a CB Invites trigger in CB Auto Actions.
There doesn't seem to be one, specifically I was hoping to find a trigger on successful invite.

It seems you guys are busy at the moment with a number of plugin updates as well as CB, is there a plan to review the CB Auto Actions triggers and if possible include CB Invites?

Thanks

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
9 years 6 months ago #262286 by krileon
Replied by krileon on topic CB Auto Actions triggers
The triggers in the dropdown are not set in stone. It's a quick access feature. You can use whatever trigger you want by typing it and pressing enter or comma. To answer your question, yes; I'll be updating CB Auto Actions triggers dropdown to include the missing triggers in a later release. The below page also includes a list of some of the available triggers.

www.joomlapolis.com/support/tutorials/120-api-usage/18358-using-cb-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.

9 years 6 months ago #262290 by davidmarshall15
Replied by davidmarshall15 on topic CB Auto Actions triggers
ok thanks for the info.

I am guessing to catch an invited person who registers using the invite code, I want this trigger:
Code:
$_PLUGINS->trigger( 'invites_onAfterAcceptInvite', array( $invite, $user, $plugin ) )

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
9 years 6 months ago #262295 by krileon
Replied by krileon on topic CB Auto Actions triggers
Yes, invites_onAfterAcceptInvite is fired after an invite is accepted. Note if they've 10 invites then it'll be fired for 10 different invite rows so keep that in mind when adding any action behavior to act on it.


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.

9 years 6 months ago #262299 by davidmarshall15
Replied by davidmarshall15 on topic CB Auto Actions triggers
ok

I will play around with it and try to figure out how it works before asking more questions.
appreciate the tip on the trigger firing multiple times.
Thanks

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

Moderators: beatnantkrileon
Powered by Kunena Forum