Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
krileon wrote: ...
See the CBSubs system plugin description in Extensions > Plugins for further usage information.
Please Log in or Create an account to join the conversation.
Yes.that is the cbpaidsubsbot plugin, correct?
For "plan", no. For "status" and "since" yes.and can I use <> logic instead of = logic, for the plan number filtering??
If you check against say Plan 2 with a status of A (active) and they're not logged in then they of course don't have an active subscription so the content will not display.PS: what do we do about content viewing for the 'public users' who have no plan? ( we don't necessarily want to display their content when a user is logged in with either of our 2 plans...)
You would need to check against each plan id. There is no general "do they have at least 1 active plan" conditioning. It supports OR/AND usage so you can appropriately check against multiple plans at once. Example as follows.is there a plan=0 filtering possibility?? would REALLY like to be able hide stuff for 'registered' users who do not have a plan!!
A = Activecan you please clarify the meaning for status="A|R|X|C|U|I" ??
A= active , I am guessing.. can't find these in the docs ...
Easiest way to do that is a CB Query Field. Simply query the _cbsub_subscriptions table and count the number of active plans then condition against the query field using normal IF substitutions as shown in the substitutions tutorial below. To use these substitutions outside of profile ensure CB Content Bot is installed.If there was some way to filter for "don't currently have a plan!" users ( or just the not-logged-in PUBLIC) with the cbpaidsubsbot, it would be SPLENDID....
Please Log in or Create an account to join the conversation.