BirdOPrey5
03-10-2012, 12:29 PM
I was asked how an Admin can hide an active subscription.
There is a "Subscription Permissions" option in the Admin CP that will let you hide subscriptions by usergroup however I cannot confirm if this will keep recurring subscriptions active.
Below are instructions for a template edit that will keep it active for sure:
First go to your phpmyadmin and look at your subscriptions table...
Find the "subscriptionid" of the subscription you want to hide, it's a number.
Now edit your templates, edit your subscription_availablebit template.
On the very top add the line:
VB 4.x code:
<vb:if condition="$subscription['subscriptionid'] != 4">
(where 4 is the subscriptionid number you want to block)'
at the very end of the template add the line
</vb:if>
VB 3.x code:
<if condition="$subscription[subscriptionid] != 4">
(where 4 is the subscriptionid number you want to block)'
at the very end of the template add the line
</if>
Repeat for all styles you have.
Now when you look at your subscriptions page that subscription should be hidden, but still "active" so it will work.
There is a "Subscription Permissions" option in the Admin CP that will let you hide subscriptions by usergroup however I cannot confirm if this will keep recurring subscriptions active.
Below are instructions for a template edit that will keep it active for sure:
First go to your phpmyadmin and look at your subscriptions table...
Find the "subscriptionid" of the subscription you want to hide, it's a number.
Now edit your templates, edit your subscription_availablebit template.
On the very top add the line:
VB 4.x code:
<vb:if condition="$subscription['subscriptionid'] != 4">
(where 4 is the subscriptionid number you want to block)'
at the very end of the template add the line
</vb:if>
VB 3.x code:
<if condition="$subscription[subscriptionid] != 4">
(where 4 is the subscriptionid number you want to block)'
at the very end of the template add the line
</if>
Repeat for all styles you have.
Now when you look at your subscriptions page that subscription should be hidden, but still "active" so it will work.