Remove Access to courses when membership ends

Home Forums Legacy Support Support queries Other issues Remove Access to courses when membership ends

Viewing 15 posts - 16 through 30 (of 31 total)
  • Author
    Posts
  • #46599
    chinolz
    Spectator
    1. 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)
    #46820
    Anshuman Sahu
    Keymaster
    I 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/
    #47165
    chinolz
    Spectator
    This 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)
    #47443
    Anshuman Sahu
    Keymaster
    Apologies 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/
    #48001
    chinolz
    Spectator
    your 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 refund
    #48143
    Anshuman Sahu
    Keymaster
    I 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 ?
    #95894
    chinolz
    Spectator
    is 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/381
    #95904
    chinolz
    Spectator
    This reply has been marked as private.
    #96134
    Anshuman Sahu
    Keymaster
    Well 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 .
    #96139
    chinolz
    Spectator
    can you talk to them and ask why they removed it and find a fix ? basically your pmpro integration is useless without this being resolved
    #96301
    Anshuman Sahu
    Keymaster
    We 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 .
    #96329
    chinolz
    Spectator
    i 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?
    #96331
    chinolz
    Spectator
    i wrote a message to Jason Coleman maybe he will reply to me since i helped him patch some security bug for pmpro.
    #96525
    Anshuman Sahu
    Keymaster
    Okay can you please ask them why they reverted this pull request in their update : https://github.com/strangerstudios/paid-memberships-pro/pull/380
    #96576
    chinolz
    Spectator
    Thats 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.
Viewing 15 posts - 16 through 30 (of 31 total)
  • The topic ‘Remove Access to courses when membership ends’ is closed to new replies.