My Subscriptions

No active or expired subscriptions. View Available Subscriptions

Advanced Search

Home arrow JCS arrow Available Extensions arrow Content Mambot-Plugin

Content Mambot-Plugin

Content Mambot
The content mambot for JContentSubscription gives you the ability to display different content to users depending on their subscriptions status. For instance, users without an active subscription could be shown a "Subscribe now" link while users with an active subscription could be show a "Download now" link instead (see the screenshot below for a similar example).

 

 

Features
  1. Display content differentially based on subscription status.
  2. Combine with the RokAccess mambot to further fine-tune the display based on usergroup (registered user, author, manager, etc...).
  3. Use any place that you have content and in any component that supports mambots.

 

Screenshots

Content Mambot
Mambot Details
Content Mambot
Demo

 


Installation

  1. Register and login using the form above. Subscribe to the 'Extensions Club for JContentSubscription' and download the 'Content Mambot', bot_jcs_content_x.x.zip.
  2. Login to the administrative backend of your Joomla! site. Choose 'Installers > Mambots' from the main menu.
  3. Click the 'Browse' button, locate the bot_jcs_content_x.x.zip file.
  4. Click the "Upload File & Install' button. If all goes well, you'll see the " Upload mambot - Success" screen. Click 'Continue' to complete the installation.
  5. Select 'Mambots > Site Mambots' from the main menu. Locate 'JContentSubs' in the list. Publish this mambot.


Usage

Like all content mambots, you must flank your content with jcontensubs tags as follows:
{jcontentsubs [no]plan=plan_id[,plan_id]} your content {/jcontentsubs}
The plan_id value is show in the ID column of the 'Subscription Plans' page of JContentSubscription in the Joomla! backend (view this page using the main menu: 'Components > .Subscription Plans > Subscription Plans).
Here are some examples using plan_ids '2' and '3'.  
  1. Display 'your content' when the user has a subscription to plan 2:

    {jcontentsubs plan=2} your content {/jcontentsubs}

  2. Displays 'your content' when the user has a subscription to plan 2 or plan 3:

    {jcontentsubs plan=2,3} your content {/jcontentsubs}

  3. Displays 'your content' when the user does NOT have a subscription to plan 2:

    {jcontentsubs noplan=2} your content {/jcontentsubs}
  4. Displays 'your content' when the user does NOT have a subscription to both plan 2 AND plan 3. If one of these subscriptions exists, the content is NOT displayed:

    {jcontentsubs noplan=2,3} your content {/jcontentsubs}
For further control, you can combine this mambot with the rokaccess mambot to control display by BOTH subscription status and usergroup. For example:
  1. Registered users without a subscription to plan_id=2 could be shown 'your content' using the following syntax:

    {rokaccess registered}{jcontentsubs noplan=2} your content {/jcontentsubs}{/rokaccess}

  2. Guests and members EXCEPT for editors with a subscription to plan_id=3 could be shown 'your content' using the following syntax:

    {rokaccess guest,!editor}~jcontentsubs plan=3~ your content {/jcontentsubs}{/rokaccess}
Rokaccess usage is shown below. For more information, refer to the official project page.
{rokaccess [!]group[,group]} your content {/rokaccess} 

 

I've heard enough, sign me up

To subscribe to the Extension Club for JContentSubscription, users must first register and/or login to this site.  
Last Updated ( Tuesday, 01 January 2008 )