Simple Membership Plugin › Forums › Simple Membership Plugin › Quick Question about Custom Message and Partial Protection
- This topic has 3 replies, 2 voices, and was last updated 5 years, 6 months ago by
mbrsolution.
-
AuthorPosts
-
May 13, 2021 at 8:15 pm #22589
brandqueen4
ParticipantHello,
I notice that whenever I am logged out of my site, or when I am logged in the same message shows, I attempted to use the add on partial protection and custom text, but unfortunately there appears to be a user error. My first question is where should the below shortcodes be added? I haved added to the page and to custom message area.[swpm_protected for=”3″ custom_msg=”Your access level prohibits you to view content”][/swpm_protected]
In the Restricted Post Section it doesn’t change from what is defaulted when someone is not logged in
But when it is added to Restricted Post (Not Logged-in)
Both when you are logged in and logged out it says the message Your access level prohibits you to view content. On allpages.https://nphchq.com/millennium2/
Why this is a problem when some is not logged into the sitehttps://nphchq.com/millennium2/and goes to the My Profile (https://nphchq.com/millennium2/index.php/my-profile/) I would like the message to keep saying this (default) You need to login to view this content. Please Login. Not a Member? Join Usbut when someone goes to a protected report that they don’t have access to I would like it to say Your access level prohibits you to view content. Instead it says the same as if they aren’t logged in go to the link below to see what I mean even though I am logged in under a different level it should say I don’t have access.
http://nphchq.com/millennium2/index.php/nphc-state-financial-report/Please Help this should be so hard.
May 15, 2021 at 1:04 am #22596mbrsolution
ModeratorHi, before I answer any of your questions, please confirm that you have read the following documentation.
https://simple-membership-plugin.com/apply-partial-section-protection/
Thank you
May 17, 2021 at 11:11 am #22604brandqueen4
ParticipantYes! I read it, and followed the instruction, I have tried it with removing the protection for the full post and the category that the post belongs to. It isn’t working!
May 17, 2021 at 10:51 pm #22606mbrsolution
ModeratorHi,
When I add the shortcode below to a section of the post, only members that belong to membership level 3 will view the content. Those that don’t belong to membership level 3 will see the message “Your access level prohibits you to view content”.
[swpm_protected for="3" custom_msg="Your access level prohibits you to view content"] The content goes here. this content will be hidden and only available to members of membership level 3. [/swpm_protected]If the above is not working for you, you might have a plugin/theme conflict test. Please carry out the following troubleshooting steps.
Let me know how you go.
Thank you
-
AuthorPosts
- You must be logged in to reply to this topic.