• Resolved Cooldogcostumes

    (@cooldogcostumes)


    HI I want a very simple concept but for some reason I can’t find it within the new version of lifter lms.

    I want to create two membership plans/access plans for the course.

    The first membership plan is free and expires within 7 days. The user can’t complete the rest of the course because the rest of the course is content locked by the premium membership.

    The second/premium membership plan needs to simply be able to membership lock certain lessons and sections within the course like I was able to do in lifter lms version 2. However this is not the case.

    My website is http://karacorey.com/ if you could please take a look at it there must be something wrong in my setting or something. The only time I can restrict content for a membership is if i’m making a blog post which is useless.

    Here is a few pictures showing that the restrict content for membership option isn’t there. http://imgur.com/a/17Sla http://imgur.com/a/VDq6w http://imgur.com/a/k6YY5

Viewing 2 replies - 1 through 2 (of 2 total)
  • From the support ticket you opened with the exact same question:

    The first membership plan is free and expires within 7 days. The user can’t complete the rest of the course because the rest of the course is content locked by the premium membership.

    To achieve this, create a course with a free members only access plan. This plan should be restricted to your Premium Membership

    Then create a membership that if free access plan. Under “Access Expiration” for this plan select “Expires after 7 days”

    The second/premium membership plan needs to simply be able to membership lock certain lessons and sections within the course like I was able to do in lifter lms version 2. However this is not the case.

    This is no longer possible in LifterLMS 3.x. This was removed in order to allow access plans to be the only parameter restricting content as well as it created a confusing user experience for both course creators and students. Many creators thought they had to tiresomely select membership restrictions for each lesson in a course they wished to be restricted to a membership, without realizing that restrictions for lessons were taken from the parent courses.

    We some filters you can use to add this functionality back in.

    To do so you will need to add the following two code snippets to your theme’s functions.php or to a custom plugin (we have a starter custom plugin here: https://lifterlms.com/docs/how-do-i-add-custom-code-to-lifterlms-or-lifterlms-launchpad/

    To add the membership restriction metabox: https://lifterlms.com/docs/lifterlms-filters/#llms_membership_restricted_post_types

    In this snippet you will have to change “my_custom_post_type” on line #8 to “lesson”

    To remove lessons from the list of post types that LifterLMS bypasses during restriction checks: https://lifterlms.com/docs/lifterlms-filters/#llms_is_post_restricted_by_membership_skip_post_types

    You can use this snippet as is without modification

    Once this is finished, your Lessons can be restricted to a LifterLMS membership as in LifterLM 2.x.

    Thread Starter Cooldogcostumes

    (@cooldogcostumes)

    Thank you so much!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Membership function on lifter lms version 3’ is closed to new replies.