Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Support request] Quick Question about Custom Message and Partial Protection

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.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • May 13, 2021 at 8:15 pm #22589
    brandqueen4
    Participant

    Hello,
    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 site https://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 Us

    but 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 #22596
    mbrsolution
    Moderator

    Hi, 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 #22604
    brandqueen4
    Participant

    Yes! 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 #22606
    mbrsolution
    Moderator

    Hi,

    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.

    https://simple-membership-plugin.com/forums/topic/test-for-plugin-and-theme-conflict-before-posting-an-issue-or-a-bug/

    Let me know how you go.

    Thank you

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy