Home › Forums › Legacy Support › Support queries › Other issues › Remove Access to courses when membership ends
- This topic has 30 replies, 3 voices, and was last updated 7 years, 11 months ago by Anshuman Sahu.
-
AuthorPosts
-
May 5, 2016 at 9:40 am #46599chinolzSpectator1. go to https://eforensicsmag.com 2. login with [email protected] / yhfeZbuRQd4IsxWuIK8S 3. (currently user has free user membership on sign up) 4. login as admin admin / yhfeZbuRQd4IsxWuIK8S 5. In dashboard set membership to Lifetime Subsciption for user [email protected] 6. Logout, login as [email protected] 7. go to course https://eforensicsmag.com/course/digital-forensic-review-procedures-in-the-cloud-w20/ 8.click take this course 9.click start course, go to module to see if you have access, you do 10.Logout 11.Login back as admin and set Free User to [email protected], then logout 12.Login back to [email protected] 13.Go to https://eforensicsmag.com/course/digital-forensic-review-procedures-in-the-cloud-w20/ and you will see the user still has access to the course. (in LMS dashboard free user level is NOT connected to the course)May 6, 2016 at 1:39 pm #46820Anshuman SahuKeymasterI checked these steps now and was able to replicate the issue . I was not clicking on start course button .Was just checking the button label .Apologies for that and thanks for reporting that issue . but the issue originally arise due to " pmpro_after_change_membership_level " is not working properly . We will check this issue and try to fix this in the next update . Here i am sharing a quick fix for this : https://wplms.io/support/knowledge-base/change-membership-does-not-removing-course-fix/May 9, 2016 at 10:22 am #47165chinolzSpectatorThis code screwed me over badly, I'm running woocommerce + pmpro setup so when user membership expiried he is set to Free user, However there are members who have Free User membership but purchased the access to course separately via Woo Commerce. The quickfix you provided Removes access to courses with user membership level_id = 1 (even though they bought access to course via woocommere)May 10, 2016 at 1:24 pm #47443Anshuman SahuKeymasterApologies i made a mistake in that fix but I have updated the code two more times to fix that . Please check the tip again : https://wplms.io/support/knowledge-base/change-membership-does-not-removing-course-fix/May 13, 2016 at 2:16 pm #48001chinolzSpectatoryour code does not work, customers after purchasing courses and removed access and after manually adding them again they are removed again. Please do not share fixes without fully testing them first, you are making our business suffer since customers are pissed off and want a refundMay 14, 2016 at 12:54 pm #48143Anshuman SahuKeymasterI removed the code from your site as ot was not working in many use cases. I missed the part when instrcutor assign the course to student manually in the code and there are still one or two conditions that was not handled by that code . I tested the code this time .Now the course access is removed when the membership is changed or cancelled but in case of expiration it follows that duration that is set for the user in course . Can you now please check the access of the course first ?February 16, 2017 at 1:36 pm #95894chinolzSpectatoris this issue resolved? because expired users still have access to courses which makes the pmpro integration useless https://github.com/strangerstudios/paid-memberships-pro/issues/381February 16, 2017 at 1:45 pm #95904chinolzSpectatorThis reply has been marked as private.February 17, 2017 at 3:11 pm #96134Anshuman SahuKeymasterWell we tried to resolve this and also made some pull requests to the paid membership membership plugin also as the issue originally relies in pmpro plugin .They added that fix which resolved this issue but then again in next update they removed that fix that we suggested to them .February 17, 2017 at 3:17 pm #96139chinolzSpectatorcan you talk to them and ask why they removed it and find a fix ? basically your pmpro integration is useless without this being resolvedFebruary 18, 2017 at 1:41 pm #96301Anshuman SahuKeymasterWe already asked them but they stop responding . We know about this .this is why we have plan to integrate wplms with other memberhsip plugins and also recently completed development with woocommerce memberships plugin .February 18, 2017 at 2:34 pm #96329chinolzSpectatori also wrote the integration to woocommerce memberships plugin. However about 20 sites+ are currently using pmpro and i need a solution to migrate existing users/recurrent payments. Will there be an easy way to migrate all existing users from pmpro?February 18, 2017 at 2:48 pm #96331chinolzSpectatori wrote a message to Jason Coleman maybe he will reply to me since i helped him patch some security bug for pmpro.February 20, 2017 at 1:43 pm #96525Anshuman SahuKeymasterOkay can you please ask them why they reverted this pull request in their update : https://github.com/strangerstudios/paid-memberships-pro/pull/380February 20, 2017 at 5:35 pm #96576chinolzSpectatorThats his reply, will keep you guys updated Jason Coleman 6:23 PM (10 minutes ago) to me Thanks for the heads up. Moving fast. I don't remember why that was reverted. I'll look at it again.
-
AuthorPosts
- The topic ‘Remove Access to courses when membership ends’ is closed to new replies.