Access Control

Cck k2

These apps provides integration of PayPlans with K2.
Install K2 Component and create categories and items in K2 component.

K2 Item Access Control:

It provides you the functionality to restrict the accessibility of items for users. Such restrictions can be applied according to the plan(s) subscribed by the users.

Steps to Configure Pin app

Step 1 : Install Payplans's K2 App from PayPlans Apps Store and create app instance ->Item Access Control.

Step 2 : Item Access Control app parameters are described as below:

User can view : Select the type on user can restrict to view.

Select Item : Select the item is allowed to user who have any of the plan in the status chosen above.

Related KB's :

K2 Category Access Control:

You can limit the user to add articles to different categories.

Go to menu manager and then create new menu as New -> K2 -> Item edit form. Users will be able to click on this menu item.

Title: : Give suitable name to menu item.

Pre-Selected Category : Select a category which will be shown to the user. By default all the new items will be added to this category.

Save : Save your menu item.

Menu item to add categories

Now go to Payplans's Apps and create app instance-> K2 Category Access Control.
Write the name of the plan(plans) & name of the category and allowed submissions. This App works on the subscription active status of plan. For Example:- I want to add two new articles to subscribed user's category.

Select Category : Select category towhich you want to allow submission of articles.

Allowed Submissions : Type the number of submissions allowed to the user.

If the user try to add items more than allowed submissions, an error will be shown when he/she will try to submit that item.

Message if user is not allowed to submit entry

So, using category access control you can restrict user to add number of articles to a category.

K2 User Group Access

It provides you the functionality to assign different K2 user groups to users according to their subscription status of their subscribed plan. There is no need to assign user groups manually to your users.
Create user groups in K2 Component." alt=""]

User Groups in K2

Go to Payplans's Apps and create app instance-> K2 User Group Access.

Create New instance of K2 User Group Access App

Write name of the plan(plans) on which you want to assign K2 User Groups according to their subscription status(active, hold, expire).
On Subscription Active: Select group which should be assigned on subscription active status of plan(s).

On Subscription Hold: Select group which should be assigned on subscription hold status of plan(s).

On Subscription Expire: Select group which should be assigned on subscription expire status of plan(s).

Edit screen of K2 User Group Access App

Whenever the subscription status of user will be active, hold or expired, this app will update the group column in K2 users. For example:- When according to my app, when Plan1 of $10's subscription becomes active, user groups should be updated in K2 user groups.

Plan is in Active Status

User is added to user group automatically

If the plan of user is expired then this app will update the group column automatically.

Plan is in Expired Status

User is added to user group automatically

So, whenever user have subscription status active, user is added to subscribed users group and whenever user have subscription status expire, user is added to non-subscribed users group.In this way, you can show contents to users according to their user group.