Tips and Tricks HQ Support Portal › Forums › WP eMember › eMember Management of WP ids causing problems
- This topic has 1 reply, 2 voices, and was last updated 12 years, 9 months ago by admin.
-
AuthorPosts
-
February 16, 2012 at 5:09 pm #5573Holly LisleMember
During testing of our eMember setup, my programmer and I and I have run into the following two issues:
* If an admin is subscribed to something that ends, the administrative permissions in WP are compromised when the tag _unsubscribed is added to the WP permissions.
In this instance, the Admin is kicked from all admin functions and even attempting to reset the account via a backup admin account fails.
* Also, if a membership level is tied to a WP level, it should never reduce the existing permissions by switching an account with higher permissions.
In the second instance, students who pay for larger, higher-access courses before purchasing smaller, lower-access courses lose access to the main courses they purchased.
We need a fix for both of these.
Thanks for any help you can offer.
Cheerfully,
Holly Lisle
February 17, 2012 at 3:43 am #42016adminKeymasterFirst try to understand how the mechanism works”
1. You place a user in a membership level. When the level expires the user’s account also expires.
2. You set permissions for a membership level. When a user goes to a different level the permission is set to match the new level.
We need to keep the mechanism that way because that’s what most people are expecting from the plugin. If we start guessing things and apply different behavior then it can upset other users who expect the plugin to work with plain logic explained above.
With that said, there are things that you can do to get what you are after.
#1. “If an admin is subscribed to something that ends, the administrative permissions in WP are compromised” – If you think about it you will see that the plugin is actually doing what you are telling it to do. You are placing a user in a membership level that expires. Which means when this member’s account expires it should not have access to the site anymore (which is exactly what the plugin is doing). If you are the admin of the site, you can always create a separate membership level called “All Access Pass” with no expiry that has access to everything and place the admin account in that level (this way you are not taking away the functionality from users who do want to expire the account when they run out of time). I understand that you can mistakenly put the admin account to a membership level that expires so I will look into it and see if I can make an exception for the *admin* user account.
#2. Regarding the 2nd issue… if you are using eMember’s Multiple membership level per account feature then you won’t see this issue as long as you have set it correctly (this way when a user buy a new membership level he will have access to both the old and the new level content). Remember that WordPress doesn’t allow one user to have multiple roles (you can only have one role per user).
-
AuthorPosts
- You must be logged in to reply to this topic.