Roll Your Own Membership Site With Oxygen & EDD

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.ย. 2024
  • In this video, see how to create your own Conditions in Oxygen and use them along with Easy Digital Downloads to restrict content on your site, based on what membership has been purchased by the logged in user.
    Conditions code: gist.github.co...
    Get Oxygen ➜ oxygenbuilder....
    Subscribe ➜ oxygenbuilder....
    JOIN THE OXYGEN FACEBOOK GROUP FOR HELP & SECRET INFO ➜ oxygenbuilder....

ความคิดเห็น • 14

  • @jaceejoef
    @jaceejoef 3 ปีที่แล้ว +2

    Simple Membership is a free membership plugin with a recurring payment feature. What's the advantage of using the EDD Recurring Payments plugin?

    • @alwayzfwdbeatz
      @alwayzfwdbeatz 2 ปีที่แล้ว

      You manually coding your work or depending on a plugin update.

    • @jaceejoef
      @jaceejoef 2 ปีที่แล้ว

      @@alwayzfwdbeatz you didn't answer the question mate.

  • @dulanto123
    @dulanto123 ปีที่แล้ว

    Hi, I have tested the code and found an unusual error. When a user makes a purchase of some product and if the status is "pending" the condition still shows the content. Does anyone know a way to fix it.

  • @osvaldoodon
    @osvaldoodon 3 ปีที่แล้ว

    Is this logic gonna work with paid memberships pro free version?

    • @TheCredibleHulk
      @TheCredibleHulk 3 ปีที่แล้ว +6

      No. You'd have to modify the snippet shown at 3:00. PMP is a completelly different plugin to EDD, so "edd_has_user_purchased" function & "EDD_recurring_subscriber" class won't exist in PMP. Find a PMP alternative for "edd_has_user_purchased" function & "EDD_recurring_subscriber" class/methods and you'll be good to go.
      I did a quick Google search and seems like a replacement for EDD's "edd_has_user_purchased" is PMP's "pmpro_hasMembershipLevel" function (www.paidmembershipspro.com/documentation/content-controls/require-membership-function/). For a quick & dirty solution simply replace every occurrence of "edd_has_user_purchases($current_user, $value)" with "pmpro_hasMembershipLevel($value, $current_user)".
      As for checking for status of a recurring subscription, that's more complex, so not sure how PMP does it. You may need a plugin like www.paidmembershipspro.com/add-ons/subscription-check/ & then also a way to hook into it to check if the recurring subscription is still active.

    • @osvaldoodon
      @osvaldoodon 3 ปีที่แล้ว

      @@TheCredibleHulk Great answer. Thanks dude 👍🏼

    • @blueli6351
      @blueli6351 3 ปีที่แล้ว

      Can we do the condition by the user role? never use EDD before wondering if there any different between subscribe level for the user role and they both the same user role

  • @parusha11
    @parusha11 3 ปีที่แล้ว

    This is way too advanced for your average user -

    • @jamieprescott100
      @jamieprescott100 2 ปีที่แล้ว

      To be fare they do have a ton of tutorials for beginners. Its good to see what you can do with Oxygen builder, beyond the basics 🙂