Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › eMember – After Login, Different "do not have permission" message for each level
- This topic has 2 replies, 2 voices, and was last updated 9 years, 8 months ago by admin.
October 3, 2013 at 7:31 am #9779kimjcastleberryMember
I’m building a site that is a “training hub” for a large volume of small products/courses/trainings. Most of these trainings are less than 8 pages in total. With the exception of a few administrative pages there is almost no overlap between memberships. The term “level” is a very bad word for how I’m using the plugin as the levels sit in parallel rather than hierarchical. This is not a linear progression of one membership being more comprehensive than the other.
Structurally, my (public) sales pages site at [http://domain.com/product-name/]
Then my private stuff is all structured under [http://domain.com/courses/course-name/course-page-1] etc.
Depicted in the screenshot is a member that has access to the “Pump Up Gmail” level (technically level #11)… who has clicked on the cPanel level (think that’s level #4).
As you can see, the error message given here is completely non-helpful.
What I’d “LIKE” to have, is the ability to, within each level, for example the cPanel level’s settings, to specify what error message and link is displayed if a signed in (or signed out) individual, who is not a member of the level, tries to visit.
In this example, I’d like to write in: You are not currently a member of this training package. You can buy this cPanel training by clicking here.
I want to be able to set this within a level itself so that if a member of ANY other level visits (and is not a member of this level) they’ll see this message.
I’m sure you can fathom how a site with 20+ products and growing makes using custom-message-per-level shortcodes a nightmare.
The goal is to have a lot of these micro-memberships at a persons fingertips and make it tempting for them to click over to see one they don’t own, tempting to click buy, and add it to their existing account.
To pre-answer some questions:
1) Yes these need to stay as micro-memberships. Using digital downloads instead will not work for my needs. I know it would save headache but it’s not what I need.
2) Once I get the basic logistics working, and the first product up for sale and stable, then I’m eventually going to bring in eStore. I know that eStore changes the answers on some things. I’m mostly bringing in eStore to enable me to have a nice page with a thumbnail-description box for each product all on one page and enable people to buy multiple training courses at once.
3) This site also runs the affiliate satellite plugin but I can’t image that affecting this answer.
I don’t mind paying for either a setup/check for the two plugins if you can make this happen (although I really should go through the eStore setup myself because I’m rusty and need the practice) or an hour of custom code but I’d like to work with you long enough that you can build out the plugins for everyone that needs this (as you and I have done on prior projects) rather than just making some custom mods on mine.
KimOctober 3, 2013 at 11:50 pm #58104kimjcastleberryMember
On a slightly different topic:
The new member gets an email with their registration details. There is an option for me to get a notification. Admittedly I have the database so I have their password – yet it makes me uncomfortable to receive their password in plain text. I honestly don’t want that in my brain. Know what I mean? And a second plain-text sending of it increases the odds of it getting into the wild in an account hack.
This isn’t something that “must be” fixed for my installation to work of course… but is something that would be nice to see addressed.
Maybe a checkbox, that defaults to unchecked, that says “include user password in notification”. Alternatively, replicate “The Email Box” and let us specify what goes in that notification we get.
It would actually be nice if the notification showed me what member levels the individual has/is.
Just some feedback.October 4, 2013 at 4:13 am #58105adminKeymaster
Hi Kim, Use eMember’s section protection where you can specify a custom message that will be shown to users who do not have access to the protected content. Check the “Using a Custom Message for the Non Members” section from the following documentation to learn more:
Even though, this feature is mainly used for protecting a section of a page, you can actually protect the entire page using that shortcode too. You simply wrap the content of the full page inside the shortcode basically. Try it out on a test page and that should show you how it works.
The following assumption is actually wrong:
Admittedly I have the database so I have their password
Our membership plugin keeps the password using a one way encryption so there is no way to get the original plain text password from the database. Only the user knows it. Without going too much into details, this is one of the best techniques to store passwords in the database.
It is perfectly okay for you to just edit that email field in eMember settings and remove the password section. So the email doesn’t have the plain text password.
- You must be logged in to reply to this topic.