Skip to Content Skip to Menu

Get value of additional users from plan sharing options

  • wintercorn
  • wintercorn
  • ONLINE
  • Posts: 136
  • Thanks: 15
  • Karma: 1
5 days 8 hours ago #341271 by wintercorn
If a member signs up and pays for X number of family members how can I get that number to use in another field displayed in the profile?

I'm using it as a limit for invites and for reference on the user profile.

Screenshot shows that the invites are limited by a field cb_additionalusers but I need this field updated by total number of additonal users purchased at registration.

Thanks
 
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49253
  • Thanks: 8417
  • Karma: 1462
5 days 3 hours ago #341273 by krileon
You can substitute in field values from CBSubs Options into CBSubs Integrations. So you can push their selection to a CB field using CBSubs Fields for example. For usage of these substitutions please see the bottom of the Integrations > Options > Display tab as it provides explanation and examples of how to use the CBSubs Options substitutions.


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.

  • wintercorn
  • wintercorn
  • ONLINE
  • Posts: 136
  • Thanks: 15
  • Karma: 1
3 days 9 hours ago #341290 by wintercorn
I assume that this shortcode would do what I want but I can't make sense of it. What is 'Plan Opts Option' vs 'Option Name'?

[PLAN_OPTS_OPTION_{OPTION_NAME}] displays the Value parameter of {OPTION_NAME} option (e.g. {OPTION_NAME} of 1-yr as [PLAN_OPTS_OPTION_1-YR] outputting opt_1)

If I have Options named additionalusers and format it as follows it doesn't work.

[additionalusers _{OPTION_NAME}]

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49253
  • Thanks: 8417
  • Karma: 1462
3 days 4 hours ago #341292 by krileon
Option name goes in place of {OPTION_NAME}. So with your additionalusers option you'd have the below substitution.

[PLAN_OPTS_OPTION_ADDITIONALUSERS]


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.

  • wintercorn
  • wintercorn
  • ONLINE
  • Posts: 136
  • Thanks: 15
  • Karma: 1
3 days 3 hours ago #341293 by wintercorn
I tried that and it didn't work. I added it in to the display field "Intro Text for Active Subscriptions " as per screenshot to test the output.
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49253
  • Thanks: 8417
  • Karma: 1462
3 days 1 hour ago #341294 by krileon
Appears to be working fine in my tests. Please be sure the option name is correct. See the below for working example.

Option:
 

Substitution:
 

Display:
 


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