Controlling site content access through RSMembership!
Home / Blog / Controlling site content access through RSMembership!
One of the defining features of the RSMembership! component is the possibility to offer users that purchase a subscription on your site extra content. This content will only be available when the subscription is active, once a subscription expires, the bonus content will no longer be accessible until the user renews his subscription.
The most common restriction applied through the component is the content article restriction. With this you can prevent users from viewing the full article if they do not have a proper subscription. The article intro can still be viewed in general listings, the actual restriction is applied only on the article's details page.
In order to add this type of restriction you will need to access the configuration of your membership plan and go to the Shared content tab. Clicking the New button in this tab will open a modal window where you can select the type of restriction that will be applied with the current membership.
you will only need to select the article(s) you want to add to the subscription plan and click the Add the selected items button.
In both cases the user will not be able to access the article details page without a proper subscription, instead of viewing the article the user will encounter a message informing him that a subscription is required for this content.
With this implementation the article details page will be accessible by all users, but without a proper subscription the user will only be able to view the normal content.