Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

eMember – Protect from REGISTERED members with a custom message

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › eMember – Protect from REGISTERED members with a custom message

Tagged: custom message

  • This topic has 4 replies, 2 voices, and was last updated 9 years, 8 months ago by mianik.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • October 4, 2015 at 8:47 pm #13128
    mianik
    Member

    Hi,

    I need to protect a part of a page from registered members (all membership levels) together with a custom message. The content should be available only to non-registered viewers

    I could not find any shortcode to do that. There is a shortcode to protect from members but when I add a custom message, it does not work. Is it possible at all?

    Thank you.

    October 4, 2015 at 9:02 pm #71501
    wzp
    Moderator

    You want to use “partial content protection,” as described here:

    https://www.tipsandtricks-hq.com/wordpress-membership/how-to-protect-a-section-of-a-post-or-page-88

    You can then only show content to users that are not logged in.

    [emember_protected scope="not_logged_in_users_only"]
    Only non-members (not logged in) will see this...
    [/emember_protected]

    October 8, 2015 at 10:38 pm #71502
    mianik
    Member

    Hi,

    Thanks for the reply.

    As I described, I have already tried that. What I need is a message to logged-in members. I mean the same shortcode with a custom message. Is it possible?

    I need to provide a section only to not logged in users AND provide a message to logged in members telling them that this part is not available to you because you are a member (something like that!)

    October 9, 2015 at 12:34 am #71503
    wzp
    Moderator

    [emember_protected scope=”verified_users_only”]

    Go away, you are a member! Users who are logged-in will see this message.

    [/emember_protected]

    [emember_protected scope=”not_logged_in_users_only”]

    Welcome, non-member! Users who are not logged-in will see this message.

    [/emember_protected]

    Of course, there is nothing to prevent a member from simply not logging in…

    In fact, the ONLY DIFFERENCE between a member and a non-member, is the ability to log into the system.

    October 9, 2015 at 7:45 pm #71504
    mianik
    Member

    Thank you very much.

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

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ