Short codes in an article

  • Ian Hyde
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 7 months ago #102076 by Ian Hyde
Short codes in an article was created by Ian Hyde
Ngoc, Help me here to save me checking all your documentation - I'm lazy

Let's say I have a "Bronze" plan that the short code excludes certain content, within an article, from non bronze members. OK I'm cool with that but: -

What about my "Silver" members who should also have access the the denied content?

Do I enter two short codes? Help me here my friend to save me searching your documentation. Give me a clue where to look in your documentation so that I might do that.

very best wishes,
Ian

Best wishes,
Ian

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
8 years 7 months ago #102085 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Short codes in an article
Hi Ian

See this membershipprodoc.joomservices.com/resour...t-of-joomla-articles

Basically, you can use the syntax like {mprestriction ids="1,3"}The text you want to hide must be inserted between here{/mprestriction}

Note that 1,3 is ID of the plans which you want to allow subscribers for those plans to access to that restricted content

Read documentation and you should understand how to configure it

Regards,

Tuan

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

  • Ian Hyde
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 7 months ago #102157 by Ian Hyde
Replied by Ian Hyde on topic Short codes in an article
HI Tuan,

Can we "and" this?

Must be a member of "gold plan" and subscribe to "plan A" ?

Very best wishes,

Ian

Best wishes,
Ian

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
8 years 7 months ago #102179 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Short codes in an article
I guess it can be done using Joomla access level (ACL) handling. See www.joomdonation.com/forum/membership-pr...o-join-y.html#102154

Regards,

Tuan
The following user(s) said Thank You: Ian Hyde

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

  • Ian Hyde
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 7 months ago #102200 by Ian Hyde
Replied by Ian Hyde on topic Short codes in an article
Hi Taun,

very good.I can see how that would work.

Very best wishes,
Ian

Best wishes,
Ian

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
8 years 7 months ago #102218 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Short codes in an article
Great :)

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

Moderators: Tuan Pham Ngoc