Skip to Content Skip to Menu

Family Pack behaviour

  • adhillon
  • adhillon
  • ONLINE
  • Posts: 159
  • Thanks: 6
  • Karma: 1
2 days 44 minutes ago #343880 by adhillon
Family Pack behaviour was created by adhillon
Hi,
I would like a different behaviour for FamilyPack shared subscription package, where a confirmation is not required.
The desired workflow is as follows:
  1. Primary subscriber adds email address of a 'shared-member' to share subscription with. . 
  2. The shared-member is added to the FamilyPack right away, without any confirmation. 
  3. The shared-member is sent a notification email with username & temporary password.
  4. A notification is also sent to the shared-member when deleted from the FamilyPack.
Pls advise.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50406
  • Thanks: 8624
  • Karma: 1472
1 day 1 hour ago #343882 by krileon
Replied by krileon on topic Family Pack behaviour
There's no functionality for that and falls outside the primary scope of the plugins intended usage. Will review exposing some more triggers that could be used to implement that behavior yourself using CB Auto Actions.


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.

  • adhillon
  • adhillon
  • ONLINE
  • Posts: 159
  • Thanks: 6
  • Karma: 1
1 day 1 hour ago #343884 by adhillon
Replied by adhillon on topic Family Pack behaviour
is there any trigger, variable or fieldname passed to the cb paid screen when the user accepts the invite?
Is there any way to tell that it is a new Family Package subscription?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50406
  • Thanks: 8624
  • Karma: 1472
1 day 1 hour ago #343885 by krileon
Replied by krileon on topic Family Pack behaviour
Ok, have implemented the following triggers. This is still pending review. Once reviewed and merged we'll release a new CBSubs build release. From there you can use these triggers to modify the create, update, delete, and send flow of family shares to whatever you need. Any one of these processes can be interrupted by using their OnBefore triggers and returning a false value.
Code:
$_PLUGINS->trigger( 'familyplans_onBeforeUpdateSharedSub', [ &$this, $old ] ) $_PLUGINS->trigger( 'familyplans_onBeforeCreateSharedSub', [ &$this ] ) $_PLUGINS->trigger( 'familyplans_onAfterUpdateSharedSub', [ $this, $old ] ) $_PLUGINS->trigger( 'familyplans_onAfterCreateSharedSub', [ $this ] ) $_PLUGINS->trigger( 'familyplans_onBeforeDeleteSharedSub', [ $this ] ) $_PLUGINS->trigger( 'familyplans_onAfterDeleteSharedSub', [ $this, $user, $subscription ] ) $_PLUGINS->trigger( 'familyplans_onBeforeSendSharedSub', [ $this, &$recipient, &$subject, &$message ] ) $_PLUGINS->trigger( 'familyplans_onAfterSendSharedSub', [ $this, $recipient, $subject, $message ] )

These are in addition to the triggers already available in the family plans plugin.

An example of how you'd use these is with familyplans_onBeforeCreateSharedSub you could create a user, add them to $this, and it should automatically accept immediately.


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.

  • adhillon
  • adhillon
  • ONLINE
  • Posts: 159
  • Thanks: 6
  • Karma: 1
20 hours 24 minutes ago #343889 by adhillon
Replied by adhillon on topic Family Pack behaviour
FYI, we have added code to add affiliate code in a CB field, before the signup starts. We then store the entered value in a table and process it separately.
We could leave the CB process as is, and add a prompt before it "Are you joining by Family Pack invitation?".
If answer is Yes then we will bypass the affiliate code and let the CB signup process continue.
This is a simple process that does not interfere with CB process.
Your thoughts?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50406
  • Thanks: 8624
  • Karma: 1472
1 hour 6 minutes ago #343892 by krileon
Replied by krileon on topic Family Pack behaviour
I'm not sure I understand your affiliate code process here. Meaning it would give them a subscription? or add them as a family member to whomever the affiliate code belongs to?


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