Simple Membership Plugin › Forums › Simple Membership Plugin › Partial Protection: "visible_to" both Expired and Inactive Members
- This topic has 5 replies, 3 voices, and was last updated 1 year, 11 months ago by
admin.
-
AuthorPosts
-
June 24, 2018 at 7:14 pm #14773
jscmal
ParticipantHi,
I tested the Partial Protection Addon.I see that the shortcode
[swpm_protected visible_to=""]works ONLY for the expired or for the inactive members. But it doesn’t work for both.
These works:
This works:
[swpm_protected visible_to="expired"]This works:
[swpm_protected visible_to="inactive"]This shows the partial content only to inactive members:
[swpm_protected visible_to="expired inactive"]Is there a way to make work the shortcode to show a partial content both to inactive members and to expired members?
Thanks for your support.
Kind regards
G.Aloe
June 24, 2018 at 10:56 pm #14776mbrsolution
ModeratorHi,
Is there a way to make work the shortcode to show a partial content both to inactive members and to expired members?
Please check the following documentation. Let me know if this would work for you.
Thank you
June 25, 2018 at 8:24 am #14779jscmal
ParticipantHi,
I checked all the documentation related to it.I already use the More tag to limit the visibility of a content to only members.
But above the more tag, I publish a partial content that has to be visible ONLY to Expired and Inactive members.
The shortcode with “visible_to” work only for expired OR only for Inactive members.
This forces me to set all the users that are not more members to expired or inactive.
The shortcode doesn’t manage both the status.
Will be this managed in future? 🙂
June 26, 2018 at 5:38 am #14780admin
KeymasterI will try to add an option for it in the future.
July 12, 2018 at 3:56 pm #14903jscmal
ParticipantHi,
I have another thing to show you.When I use the shortcode to hide a text. I see that in the HTML code, the shortcode add
<br>.This causes a white row, not necessary and not required, on the page, for those users who have the text hidden.
Can you manage it for the future releases?
Kind regards
G. Aloe
July 30, 2024 at 8:04 am #28578admin
KeymasterWe have added a new parameter for ‘account_status’ in the partial protection shortcode. It can be used to protect content based on the member’s account status.
-
AuthorPosts
- You must be logged in to reply to this topic.