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

Display Differed "restricted content" message depending on content

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › Display Differed "restricted content" message depending on content

  • This topic has 4 replies, 2 voices, and was last updated 15 years, 1 month ago by GraphicBass.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • April 21, 2010 at 4:13 am #1098
    GraphicBass
    Member

    Is there a way to display a different “protected content” message message for two different types of content. For example:

    A visitor tries to access protected content would see one of these messages:

    — Visitors who haven’t registered or purchased something: “You must be a registered member of this site or purchase something to view this content.”

    — Visitors who have registered but not yet purchased: “In order to view this premium content you must purchase something…”

    The [emember_protected] trigger tag would drive this, perhaps by using one of these items from the eng.php file (but I’m not sure the circumstances under which each of these are called).

    These are the messages I’ve currently defined:

    =====

    EMEMBER_LEVEL_NOT_ALLOWED”,”Sorry, your membership level does not allow you to view this content.”);

    EMEMBER_CONTENT_RESTRICTED”,”Sorry, your membership level does not allow you to view this content.”);

    EMEMBER_HIDDEN_CONTENT_MESSAGE”,”Sorry, your membership level does not allow you to view this content.”);

    EMEMBER_MEMBERS_ONLY_MESSAGE”,”Sorry, this content is for registered members of this site only.”);

    EMEMBER_TO_VIEW_CONTENT”, “to view this content.”);

    =====

    Ideas?

    Thanks!

    gary

    April 21, 2010 at 11:57 am #19858
    amin007
    Participant

    “Visitors who have registered but not yet purchased” – Everything is doable but this is not going to be a simple tweak. The reason is that eMember doesn’t have the knowledge of a customer’s product purchases. In order to implement a system like this you will have to make it so everyone must register before they can purchase so for every purchase eStore can related it to a member’s account.

    April 21, 2010 at 11:19 pm #19859
    GraphicBass
    Member

    I guess what I’m looking to do is this:

    To those who have not registered at all: “You must be a registered member of this site or purchase something to view this content.”

    To those who have registered but not purchased, but their registration is the “free” level I offer: “In order to view this premium content you must purchase something…”

    And, of course, perhaps another message to purchasers trying to access content they have not purchased: “Your current purchases do not permit you to view this content.”

    Possible?

    Thanks!

    gary

    April 22, 2010 at 6:32 am #19860
    amin007
    Participant

    Nope, couldn’t you explain it on your “Payment” or “Login” page rather than changing the text? or have a page that explains how your site operates then link to that page from the payment or login or “how it all works” page?

    April 22, 2010 at 11:11 am #19861
    GraphicBass
    Member

    That’s a good idea, and I will do it.

    I’ll think about how I can accomplish what I want (or an alternative) with member levels.

    Thanks!

    gary

  • 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