Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
CB Auto Actions comes with a Registration action. You could use it and just substitute in your fields.I have an autoaction using the CB API to create the additional account - so far this works OK.
Yes, you'd use it as follows.After looking at the available options I'm guessing the right trigger would be onCPayUserStateChange - is this correct?
You'll probably want to do a query action based that uses the email address stored to the parent account. So the below for example will block an account.And then knowing all I have is the sub-account's e-mail not the ID, is doing a query action the best way to go, or is there a CB function I can call to disable the account based on the e-mail address?
CBSubs doesn't have a family subscription feature. So any specific usages on what you implemented I can not help you with.Quick update, I said the first part (signup) was working, but in fact something strange happens... Both accounts end up with a subscription.
The initial payment is affected to the sub-account and the main account's subscription remains unpaid...
I don't need to have a subscription on the sub-account. Is there a way to change this? Or maybe I could make a free plan that would not be manually selectable at signup and have that affected automatically to the sub-account?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I guess you could set a field in the child account for it to be known as a child account. Then before login use a CB Paid Subscriptions action to give them a free subscription to something. You'd just need to condition for the field that determines they're a child account.Is there a way I could affect a subscription to the sub-account just after creating it?
Use the after registration trigger in a Code action with Method set to PHP. Next generate your random usernames. Now add them to the post. In your Registration action you can access the randomly generated usernames that you added to post using [post_MYVAR]. Example as follows.For the record I'm using a code action and not a register action because I need to generate random user names. Here's the code I'm currently using:
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.