Article Restriction Question

  • Michael Noll
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 8 months ago - 8 years 8 months ago #85592 by Michael Noll
Article Restriction Question was created by Michael Noll
Can I restrict content to only show specific content to people who ARE NOT members of a certain plan?

I am trying to use Membership Pro to provide access to different articles. So if you purchase access to the Apples subscription, you can read the Macintosh, Gala, Red Delicious, and Pink Lady articles. Similarly, I will have a Grapes module that gives access to the Green Grapes article and Red Grapes article. However, I want guests to see the intro to each article so they can see that they need to purchase that module.

To do this, I will use the Article Restrictions plugin.

If you aren't a member of the Apples module and you go to the Red Delicious article, you see the error message that says "Please click here to subscribe to a subscription plan to view this part of the article." However, since I am not doing subscriptions by duration, I want to direct someone to the specific Apples signup page. I think I can do this by inserting the Subscription Plans Module and setting it to only show the Apples subscription. However, I don't want to show the signup/Apple Subscriptions info to someone who is already a member of the Apples plan.

Can I do the following?
  1. An article intro that everyone sees.
  2. The main content that only members of the Apples subscription see.
  3. Apples subscription signup info that only non-members of the Apples plan see.

EDIT for clarity:
I know how to do #1 and #2. Can I do #3?
Last edit: 8 years 8 months ago by Michael Noll. Reason: clarify question

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

More
8 years 8 months ago #85598 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Article Restriction Question
Hi Michael

At the moment, #3 is not supported. However, now, I see a requirement for it, so I am going to add support for it. You can expect to have this feature ready for you to use before Wednesday next week (or earlier)

Regards,

Tuan

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

  • Michael Noll
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 8 months ago #85636 by Michael Noll
Replied by Michael Noll on topic Article Restriction Question
Wow - amazing support. Thank you!

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

  • Michael Noll
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 7 months ago #86882 by Michael Noll
Replied by Michael Noll on topic Article Restriction Question
Was this feature added in 2.6.2? I can't find a changelog about 2.6.2.

Thanks!

-michael

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

More
8 years 7 months ago #86906 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Article Restriction Question
Sorry Michael. It was not added to the extension yet. But I am going to add support for it soon, give me one week or so to add support for it.

Tuan
The following user(s) said Thank You: Michael Noll

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

More
8 years 4 months ago #90865 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Article Restriction Question
Hi

Someone reminded me about this topic. I want to update that this feature is already supported in latest version of the extension using this plugin membershipprodoc.joomservices.com/resour...t-of-joomla-articles

Look at that page, you will see how to only show content to subscribers. To show content to none subscribers, just add ! characters

Below are some sample syntax:

{mprestriction ids="!*"}This text will be shown for none subscribers{/mprestriction}

{mprestriction ids="!1"}This text will be shown for users who has not subscribed for plan with ID = 1{/mprestriction}

{mprestriction ids="!1,2"}This text will be shown for users who has not subscribed for plan with ID = 1 or plan with ID = 2{/mprestriction}

....

Please try that and let me know if you have any questions

Regards,

Tuan

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