Skip to Content Skip to Menu

User Group for Plan does not get set

  • GUEST
10 years 1 week ago #252754 by
I set the intended User Groups for each plan (Plan->Access->User Group). However, every time a user registers and selects a plan, the user is assigned to different user group.

There are no CBAuto plugins that control this and I can't see any user groups settings anywhere else.

Why is my User Group setting for a plan ignored, or where is it possibly overwritten?

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
10 years 1 week ago #252766 by nant
Replied by nant on topic User Group for Plan does not get set

gerrit_hoekstra wrote: I set the intended User Groups for each plan (Plan->Access->User Group). However, every time a user registers and selects a plan, the user is assigned to different user group.

There are no CBAuto plugins that control this and I can't see any user groups settings anywhere else.

Why is my User Group setting for a plan ignored, or where is it possibly overwritten?


Joomla/CB/CBSubs versions?

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

  • GUEST
10 years 1 week ago #252771 by
Joomla 3.3.6
CB 1.9
CB Subs 3.0.0

Much appreciated!

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

  • krileon
  • krileon
  • OFFLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
9 years 11 months ago #254006 by krileon
Replied by krileon on topic User Group for Plan does not get set
Ensure your usergroups are parented to Registered. There's a known issue with CBSubs having a hard time controlling usergroups parented to Public (essential new top level usergroups). It should give them the usergroup on plan activation then remove it on plan deactivation. Note will not replace usergroups. It simply adds/removes the selected usergroup. If your plans are free lifetime then ensure they're configured to create subscriptions within CBSubs > Settings > Global.


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 10 months ago #256446 by MarylandShallIssue
Replied by MarylandShallIssue on topic User Group for Plan does not get set
Is there any way to set on subscription multiple groups and deactivate multiple or set to a single group on expiration?

Joomla 3.3.6
CB 2.0.4
CBSubs 4.0.0-rc1

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

  • krileon
  • krileon
  • OFFLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
9 years 9 months ago #258618 by krileon
Replied by krileon on topic User Group for Plan does not get set
No, not without using CB Auto Actions acting on CBSubs trigger and using a Usergroup action. Currently CBSubs only supports management of 1 usergroup per plan. CB Auto Actions can perform its actions on CBSubs subscription state changes using the following configuration.

Plan Active
Triggers: onCPayUserStateChange
User: Automatic
Access: Everybody
Conditional 1: [var3] Equal To PLAN_ID_HERE
Conditional 2: [var2] Equal To A

Plan Expired
Triggers: onCPayUserStateChange
User: Automatic
Access: Everybody
Conditional 1: [var3] Equal To PLAN_ID_HERE
Conditional 2: [var2] Equal To X

Replace PLAN_ID_HERE with the ID of the plan you want the action to act on.

On plan active you'd give the usegroups and on plan expire you'd remove them for example using a Usergroup action.


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.
The following user(s) said Thank You: nant

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

Moderators: beatnantkrileon
Powered by Kunena Forum