• Hello,
    would it be possible to show an error message in case the user doesn’t match the requirements to view the content? If not, could this feature be implemented?

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WP Darko

    (@spwebguy)

    Hi,

    In your case I would have a user shortcode for the actual content and a guest shortcode with a message: “You need to be logged in to see this content.”

    Have you tried this?

    Thread Starter artemis21

    (@artemis21)

    Hi,
    that wouldn’t be enough because I’m restricting content based on user ids, so, If an user is logged in but still not allowed to see that content he would not see the error message because he’s not a guest anymore.

    • This reply was modified 5 years, 2 months ago by artemis21.

    HiWP Darko
    Meaning I must post 2 shortcode
    1.
    [UAS_guest]
    [not-matched] is not allowed to show this content (this message can change in plugin setting)
    [/UAS_guest]
    2.
    [UAS_loggedin]
    Content for matched users…..
    [/UAS_loggedin]

    I think auto detect [not-matched] or [matched].
    If [not-matched] auto show 1. If [matched] show 2. Don’t need post 1.

    Sorry for my bad English

    • This reply was modified 5 years, 2 months ago by seekvn.
    • This reply was modified 5 years, 2 months ago by seekvn.
    • This reply was modified 5 years, 2 months ago by seekvn.
    • This reply was modified 5 years, 2 months ago by seekvn.
    Plugin Author WP Darko

    (@spwebguy)

    @artemis21 I understand your issue but you might be looking for a more complex plugin, like a membership plugin. I recommend using our plugin for simpler cases as you can’t really manage your members and or create groups, you would have to enter all the IDs manually.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display error message’ is closed to new replies.