April 21, 2010 at 4:13 am #1098
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.”);
garyApril 21, 2010 at 11:57 am #19858amin007Participant
“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
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.”
garyApril 22, 2010 at 6:32 am #19860amin007Participant
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
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.
- You must be logged in to reply to this topic.