Time released subscription content solution

Print

Overview

Many use cases discussed on forums involve subscription to time released content. The concept is a fairly straightforward one that involves users subscribing to a specific membership plan (CBSubs handles this nicely) and gaining access to protected content in a timed release fashion. For example a new subscriber sees one article during the first week of membership, a second article during the second week, etc. Some use case variation also call for "turning off" the first week article after first week is completed.

The use case can be summarized as follows:

Solution Implementation Example

The following solution elements can be used to support this use case:

The logic illustrated in these steps will only show the specific content for the first 15 days of a subscription. You can expand it of course and create different time periods if you need to support your specific use case.

 

Screenshots

CB Date Field for Subscription Date

This is the cb_subdate field created using the CB Field Manager.

CBSubs Integration to set date value

This is the CB substitution expression we need to use to get the current date (when subscription starts) and populate the CB date field previously created.

CB Query Field Plugin Installation

CB Query Field plugin must be installed and published before creating a new query field.

 

CB Query Field in CB Field Manager

CB Query field named cb_daysdiffquery must be created in the CB Field Manager.

CB Query Field SQL Statement

SQL expression that will calculate the number of days elapsed since the subscription date (taken from the cb_subdate field).

CB Content bot Installation

The CB Content Bot Joomla plugin must be installed and published in order to be able to use CB field substitutions in Joomla articles.

 

Joomla Article with CB Controlled content

Joomla article with CB substitutions to time release content based on elapsed days since subscription (taken from CB query field calculation).

Joomla articled viewed by 1 day old subscriber

This Joomla article when viewed by a 1 day old subscriber will show its timed related content to the subscriber.

Joomla articled viewed by 34 day old subscriber

This Joomla article when viewed by a 34 day old subscriber will not show its timed related content to the subscriber. Instead it will display a relevant message.

 

Relevant Information