Tips and Tricks HQ Support Portal › Forums › WP eMember › Expired members cannot login.
- This topic has 24 replies, 2 voices, and was last updated 5 years, 5 months ago by admin.
-
AuthorPosts
-
January 2, 2018 at 8:31 pm #14623MagicTHSpectator
I have “Allow Expired members to login” checked. When an expired member logs in they get a page that says “Your subscription period expired. Please Renew or Upgrade your account.”, but clicking on that link (which is a link to my /renew page) it just comes right back to “…Renew or Upgrade…” repeatedly. My renewal page is protected content since the prices are different than on my Join Me page and I don’t want it public for that reason.
What’s up?
PS: Found this page, but it seems to say I’m doing it correctly. Verified on two separate members.
January 3, 2018 at 1:01 am #76969adminKeymasterThe renewal page is excluded from protection by the plugin so the setup you have should work fine. I think it is failing to recognize the URL pattern. Can you please copy and paste the value you have entered in the “Membership renewal Page” field of the emember’s settings?
Then share the URL of your renewal page where users are going to, so I can match it and see if the two values match.
January 7, 2018 at 4:49 am #76970MagicTHSpectatorFrom Membership renewal Page: [https://denvertradinggroup.com/renew]
Redirect Expired User: THIS WAS BLANK. I have made it the same as above.
That didn’t work. It continues to redirect to /renew and loop to redirect.
Next I made a duplicate of renew changing it to renew-late. No Go.
Then I saw I had specific page lockdown checked for /renew. Turned that off. No Go.
No matter what I did above, the redirect page is always /renew.
The page URL you get when you login (and you are Expired) is:
[https://denvertradinggroup.com/renew#member-login]
Clicking that link loops to itself, but it is the message as in /renew#member-login
PS: Slow in responding because I was expecting an email which never came.
January 10, 2018 at 9:51 pm #76971MagicTHSpectatorI have members renewing – who can’t. Do you need something else from me to figure out what’s wrong? It’s been 3 days since I replied to your request.
January 11, 2018 at 12:30 am #76972adminKeymasterI didn’t send you an email to get temporary access to the site but looks like you never go it. I have sent another email just now. Let me know if you didn’t get that.
January 12, 2018 at 1:52 am #76973adminKeymasterThe email delivery to your address (paypa158z@aspenhollowquilting.com) keeps failing.
January 13, 2018 at 8:36 pm #76974MagicTHSpectatorI don’t have that domain anymore. I have updated my account profile. Please send me another email to my new address.
January 15, 2018 at 12:22 am #76975adminKeymasterEmail change in profile has to be done by us (so our system can match with the purchase record and stuff). What is your email address? I will remove the address after I have updated your record in our system. I will also send an email to that address. If you don’t want to share the email here, you can contact us using our contact form and provide the address there.
January 15, 2018 at 9:30 pm #76976MagicTHSpectatorUse this one: [deleted the email]
I did contact you some time ago and the person replied this had been updated.
January 15, 2018 at 11:19 pm #76977adminKeymasterI have sent an email to that address. Let me know if you didn’t receive it. I have updated your email address on our record also.
January 19, 2018 at 6:33 am #76978adminKeymasterIf a page is fully protected then the plugin won’t show the content of it to expired users (we need it to make sure expired users can’t see any protected pages/posts).
The way to handle your renewal page is to keep it un-protected but then use section protection to hide the buttons from non logged-in users.
The following documentation explains how to use section protection.
https://www.tipsandtricks-hq.com/wordpress-membership/how-to-protect-a-section-of-a-post-or-page-88
Read the section labelled “Section Protection for Anyone Who is Logged In” from the above page. Use that shortcode to wrap the renewal buttons so a user has to be logged-in to interact with the buttons.
June 6, 2019 at 3:35 pm #76979MagicTHSpectatorI finally got tired of “fixing” a member’s record every time they forgot to renew on-time and revisited this link and answer. I have 7 membership types, all different prices and privileges. I used this code for each of the 7 types and it does NOT respect the user type. I get renewal prices for all user types showing instead of the just current user.
[emember_protected scope=”verified_users_only”]
[wp_eStore_fancy2 id=8]
[/emember_protected]
I tried adding for=”4″ and that is not respected when used with scope=. The order of ‘for’ and ‘scope’ make no difference.
[emember_protected for=”4″ scope=”verified_users_only”]
[wp_eStore_fancy2 id=8]
[/emember_protected]
I’m pretty sure I tried this too: [emember_protected scope=”expired” for=”4″]
Am I doing something wrong?
Is there another trick?
Can you allow ‘for=’ to work with expired users so each user gets their correct renewal pricing?
June 7, 2019 at 8:57 am #76980adminKeymasterYou are just using the “verified_users_only” scope parameter which doesn’t differentiate between membership levels.
If you want to apply protection based on membership levels also, try adding the following parameter to the shortcode (2, 3 and 4 are membership level IDs in this example).
for=”2-3-4″
Below is an example:
[emember_protected for=”2-3-4″ scope=”verified_users_only” do_not_show_restricted_msg=”1″]
[wp_eStore_fancy2 id=8]
[/emember_protected]
June 7, 2019 at 3:26 pm #76981MagicTHSpectatorI already tried that per my second example.
To be EXACTLY as you suggest I tried it again just now. Using your code, EVERY SECTION is displayed. It should only display the section for the Expired member (for=”7″ in my test case).
[emember_protected for=”2″ scope=”verified_users_only” do_not_show_restricted_msg=”1″]
[wp_eStore_fancy2 id=1]
[/emember_protected]
[emember_protected for=”4″ scope=”verified_users_only” do_not_show_restricted_msg=”1″]
[wp_eStore_fancy2 id=8]
[/emember_protected]
[emember_protected for=”5″ scope=”verified_users_only” do_not_show_restricted_msg=”1″]
[wp_eStore_fancy2 id=7]
[wp_eStore_fancy2 id=253]
[/emember_protected]
[emember_protected for=”6″ scope=”verified_users_only” do_not_show_restricted_msg=”1″]
[wp_eStore_fancy2 id=9]
[/emember_protected]
[emember_protected for=”7″ scope=”verified_users_only” do_not_show_restricted_msg=”1″]
[wp_eStore_fancy2 id=6]
[/emember_protected]
[emember_protected for=”8-9″ scope=”verified_users_only” do_not_show_restricted_msg=”1″]
If you got a renewal message, please email the Webmaster!
[/emember_protected]
June 8, 2019 at 6:26 am #76982adminKeymasterSorry I forgot. The “verified_users_only” scope will override anything and ONLY shows the content if the user is logged in. It was created for that particular situation where anyone who is logged in can see the section.
You can’t use the verified_users_only scope for membership level specific content unfortunately.
-
AuthorPosts
- You must be logged in to reply to this topic.