Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Jarryd Long

    (@jarryd-long)

    Hi there, thank you for reaching out to the Paid Memberships Pro team. 

    We don’t have plans of integrating with LearnPress at this point in time however I have reached out to our product manager to consider this for a future release but I cannot guarantee it will be fulfilled.

    For the time being, I believe there is an integration from LearnPress themselves that integrates with Paid Memberships Pro and may help you achieve your desired results.

    Kind Regards,
    Jarryd
    Support Manager at Paid Memberships Pro

    Thread Starter Vladimir Bender

    (@vovastik)

    For the time being, I believe there is an integration from LearnPress themselves that integrates with Paid Memberships Pro and may help you achieve your desired results.

    I asked ThimPress_Support a question:

    In PMPro Advances Settings I activated option
    “Only members will see restricted posts/pages in searches and archives”
    but the restricted course is still visible to everyone on the All courses page.
    I tried using plugin “LearnPress – Paid Membership Pro Integration” and plugin “Paid Memberships Pro – Custom Post Type Add On”, but still the restricted course does not become invisible.
    Why does PMPro successfully hide posts/pages but not courses?
    How to hide a restricted course from the All courses page?

    ThimPress_Support answered this question:

    Sorry we don’t have this feature now. Currently, the courses will still be displayed, but only users with a membership level can view details of the courses in that level.

    Thread Starter Vladimir Bender

    (@vovastik)

    Yes, I read the paragraph on this page:

    Setting membership access restrictions for a single CPT will not necessarily hide it from archives, search, or other custom templates built into your theme.

    But I also read somewhere on paidmembershipspro.com that hiding posts is a key feature of PMPro as opposed to other concepts (roles, passwords…). However, “Paid Memberships Pro – Custom Post Type Add On” does not hide some custom posts in archives and search results. For example, LearnPress courses and CM Tooltip Glossary.
    This needs to be fixed.
    Maybe there is some kind of code snippet?

    Plugin Author Andrew Lima

    (@andrewza)

    You will need the Custom Post Types Add On to restrict Custom Post Types, like courses from LearnPress and other CPT’s.

    It is possible to tweak this without the need of an Add On by using the following code snippet and tweaking it to support the relevant CPT – https://gist.github.com/kimcoleman/65261083d1ae57c8eb261011c9ba9aea#file-hide_gallery_events_filter_post_types-php

    I hope this helps get you started.

    Thread Starter Vladimir Bender

    (@vovastik)

    All in vain.
    There is no way to hide a protected LearnPress course from the archive and search results.

    Plugin Author Andrew Lima

    (@andrewza)

    I was able to get this working, the course has to be restricted to require a membership level and the code snippet mentioned above to hide LearnPress courses from the search. LearnPress uses lp_course as their post type for courses.

    I don’t have access to LearnPress’ integration into Paid Memberships Pro and restricted the CPT’s using my own method to ensure the core Paid Memberships Pro content restriction works (even though it has been extended via a custom solution for the CPT).

    You will also need to configure the “Filter searches and archives?” to “Yes – Only members will see restricted posts/pages in searches and archives.” to hide the results if members do not have access to the posts, pages and custom post types defined.

    I hope this helps clear things up Vladimir, we will try assist where we can but cannot provide support for premium plugins through this support channel as it goes against the www.remarpro.com support guidelines and it may be best to reach out to LearnPress support again with this feedback for them to investigate further.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.