Skip to Content Skip to Menu

CBSubs remove and add user groups when plan expire or reactivate

10 years 9 months ago #239869 by deltafidesign
Ok I will do some tests because on a J 2.5 site it seems work fine meanwhile I had this issue on a J 3 site.

I wiil let you know.

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

10 years 9 months ago #239874 by deltafidesign
I've done a test.
Setted a test user account to expire soon, so I let it expire and I see that auto action to assign it a new usergroup didn't work meanwhile when I manually renew it's subscription correctly the Plan assign also the relative user group.

What's wrong?

Also, I've setted the Plan to change a field value when expiring but the value is not changed.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 9 months ago #239896 by krileon
You need to trigger the expiration within CBSubs. When the time runs out they won't actually expire until CBSubs triggers the expiration. Normally this is done by visiting backend, frontend logins, or CRON (see CBSubs > Settings > Global for mass expiration processing). As you did not provide your entire action configuration, I don't know what to tell you; there could just be an access issue.


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.

10 years 9 months ago #239928 by deltafidesign
I've done other tests.

I've removed those auto actions and just set account expire to se what happens.

Everything seems work fine: plan expire and account is bloked, removed from usergroup (without need of autoaction). But no field value changed.

CBSubs -> Integrations -> CB Fields -> Field = myfield | Value = 1

Remove value on plan deactivation: YES
Value on plan deactivation: "accountdeactivated"

If I check user field value it is still "1"

What's wrong?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 9 months ago #239955 by krileon
There's a bug with CBSubs Fields that prevents it from reversing the value. It's fixed in next release, but the quickfix can be found below.

www.joomlapolis.com/forum/255-developer-members-support/221405-4065-cbsubs-integration-cbfields?start=18#228624


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