Resources Access Restriction: Guest-Only Access

  • Gary Bartlett
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 11 months ago #99269 by Gary Bartlett
Hi,
I am using "Restrict access to part of Joomla articles" (within membershipprodoc.joomservices.com/resources-access-restriction ) to expose different divs to different users. It works just fine!
However, I would like to make one of the divs only visible to unlogged in (i.e. Guest) users.
Is there a way to do so using Membership Pro?
The ideal way might be {mprestriction ids="0"}Guest User Only Content{/mprestriction} or
Perhaps {mprestriction ids=""}Guest User Only Content{/mprestriction}.
I'll propose this as a new feature, but need the functionality urgently, so am looking for advice that will enable me to do so immediately, even if it's only a temporary solution.
Thanks very much!
Gary

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

More
7 years 10 months ago #99283 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Resources Access Restriction: Guest-Only Access
{mprestriction ids="!*"}Guest User Only Content{/mprestriction}

Using that tag will show the content for all users who has not subscribed for any plans on your site yet. I guess it should solve your issue

Tuan
The following user(s) said Thank You: Gary Bartlett

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

  • Gary Bartlett
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 10 months ago #99379 by Gary Bartlett
Replied by Gary Bartlett on topic Resources Access Restriction: Guest-Only Access
Perfect, Tuan - thak you! (And thanks for the speedy reply: only got to test it out, now.)
I am loving Membership Pro: you have done a simply amazing job!
Gary

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

More
7 years 10 months ago #99381 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Resources Access Restriction: Guest-Only Access
It will keep being improved :)
The following user(s) said Thank You: Gary Bartlett

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