• Resolved pryde1919

    (@pryde1919)


    do you have php code something like this:

    if the user is “silver-member” then show this button
    else show this button?

    can you give me some sample of php code using paid membership pro?

    thankyou

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Andrew Lima

    (@andrewza)

    Hi @pryde1919,

    Here is sample code that I created for you to work from, please let me know if you require any further assistance with this: https://gist.github.com/andrewlimaza/19970038b897f596fb951c90b2c9a287

    Here is documentation to the pmpro_hasMembershipLevel() function -> https://www.paidmembershipspro.com/documentation/content-controls/require-membership-function/

    Hope this helps ??

    Thread Starter pryde1919

    (@pryde1919)

    hi andrew, thankyou for your kind reply.

    i have some few questions
    1- is there a shortcode to display the user’s level he purchase? i wanted to show what kind of level he purchase on a custom page, just need the php code
    or i have to do it manually, if the user is silver member echo you are silver membership.

    2- about the ssl certificate, i wanted to try my website if this will work to earn money, if i cant earn money, then purchasing ssl certificate will be a waste. can i use this plugin without ssl certificate first? i wanted to test it out for a month, if my site works and good to earn extra money, that is the time i will purchase ssl certificate.

    Thread Starter pryde1919

    (@pryde1919)

    and do you have an actual video or paid membership pro, from user choosing levels, pays in paypal, and expires? a walkthrough how the systems workflows, not the tutorial or setup, frontend user workflow from start to end. any video? or screenshots.

    Thread Starter pryde1919

    (@pryde1919)

    and how do you disable the cancel button in membership account page?

    Plugin Author Andrew Lima

    (@andrewza)

    You are most welcome ??

    1. Here is a blog post to show the current users level, which you can easily change into a shortcode – https://www.paidmembershipspro.com/display-the-current-users-membership-level-name/

    2. Paid Memberships Pro does work without SSL but there is a free SSL service which is great – letsencrypt.org

    You may find all the Paid Memberships Pro documentation on https://www.paidmembershipspro.com/documentation which includes written docs and some video tutorials.

    You may disable the ‘cancel’ button with some CSS and code.

    PMPro is very flexible.

    I hope this helps! ??

    Thread Starter pryde1919

    (@pryde1919)

    thankyou andrew ??

    Plugin Author Andrew Lima

    (@andrewza)

    You are most welcome.

    Please can you mark this thread as resolved if you do not require any further assistance.

    If you do require any further assistance, please could you open up a new thread in our support forums ??

    Have a great day further.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘if the user is silver member, show this’ is closed to new replies.