I have a site with a single plan, where we want to separate users into a unique group called "customer," which is a child group of the Joomla built-in Registered group.
I have set the "Subscribers User access level settings" setting to the "customer" user group.
New plan buyers are being assigned to the "customer" group, but they also remain a member of the registered group. How can I have the system automatically remove them from registered whenever they are assigned to the customer group? We do not want users to be members of both groups.
Last edit: 8 years 5 months ago by beat. Reason: Added [SOLVED] tag to subject
Unfortunately, 99 Dollars is not in the budget for such a simple need. Is there any way to buy CB Auto Actions without having to purchase a full Professional membership? I have purchased that membership before (it just expired), and for the three months I had it, I downloaded just the AntiSpam plugin. It would be nice if these items were offered a la carte.
OK, I've re-upped my Professional subscription. Can you tell me what trigger I should use?
Here's what I want - after successful payment, I want to change users from the Registered group to the Customer Group. I have turned off the CB Subs feature inside the plan that changes usergroups.
Here are the settings I've made in the Auto Actions plugin:
Trigger: OnCPayAfterPaymentBasketUpdated
Plan Active Global
Triggers: onCPayUserStateChange
User: Automatic
Access: Everybody Conditions
1: [var3] Equal To PLAN_ID_HERE
2: [var2] Equal To A Action
Mode: Replace Usergroups
Groups: YOUR_GROUP_HERE
Plan Expired Global
Triggers: onCPayUserStateChange
User: Automatic
Access: Everybody Conditions
1: [var3] Equal To PLAN_ID_HERE
2: [var2] Not Equal To A Action
Mode: Replace Usergroups
Groups: Registered
This would be done with 2 actions. 1 will replace the usergroups with the one you've specified and the other will reverse it back to registered on expiration.
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.