Please Log in or Create an account to join the conversation.
I suggest CBSubs Fields for this as it alters a fields value (integer fields can be incremented with different operators) based off subscription status. You can use CB Auto Actions though if you prefer as the latest release now comes with CBSubs triggers.- With autoaction I change this field everytime user changes it's type of suscription. For instance, if the user it becomes a CBSubs "user professional" autoaction will set this value to 5. If user cancel hes/shes subscription the CB_FIELD value turns to 0 (and unpublish previous articles).
That would absolutely work. I suggest checking out the below tutorials for using CB API to check the fields value.- I do a joomla plugin that before the user can add a "article" checks the CB_FIELD "max articles" and if the user have done 5 it will redirect to a page that says that he/she needs to upgrade hes/shes membership.
Please Log in or Create an account to join the conversation.