Skip to Content Skip to Menu

[SOLVED] Is it possible to present the user with access to only one page?

10 years 7 months ago - 10 years 7 months ago #242709 by prestoproducts
We are using CB Subs to offer monthly subscriptions. If a user does not have any subscriptions then when they log into the site we would like to only offer them access to a single landing page with a list of available subscription upgrades.

My thought to do this is assign a CB Auto Action trigger to fire and check if the user’s ‘cb_subscriptionquantity’ is equal to zero. If the value is equal to zero then I want to send them to ‘../index.php/options-to-subscribe’ landing page. This is no problem.

The problem is that we need to redirect them back to this page if they navigate away from it. So, if they have a link that takes them to the member portal and they try to load it then they will be redirected back. No matter what they try to do (other than resubscribe), once logging in this is the only page available until they add a subscription. How can I go about limiting access in this manner?
Last edit: 10 years 7 months ago by krileon.

Please Log in or Create an account to join the conversation.

10 years 7 months ago #242711 by prestoproducts
I don't see a way to delete a post, so I will reply to say that I found a solution. Ultimately I am making use of the ACL User Group list for restricted access.
The following user(s) said Thank You: krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum