Home Forums LoveStory How can I restrict your registration LoveStory buttons until payment is made?

How can I restrict your registration LoveStory buttons until payment is made?

  • lcwhitfield

    Using Paid Membership Pro. How can I restrict your registration LoveStory buttons until payment is made? Is there a php code string I can use to do this and where in the code should it be placed?

    ihor Staff

    Please sign in or register to view replies from the support staff.

    lcwhitfield

    Which one should I use? Can you give me an example of how the code should be placed on the page?

    https://gist.github.com/strangerstudios/2706590
    https://gist.github.com/andrewlimaza/2321f87a321aa064fb1583c74a5b0dc3

    How to Lock Files for Members Only?
    Are these the steps below to add file protection for members only to your WordPress membership site?

    Do I add this line to your wp-config.php file? – define(‘PMPRO_GETFILE_ENABLED’, true);

    Or,

    RewriteBase /
    RewriteRule ^wp-content/uploads/(.*)$ /wp-content/plugins/paid-memberships-pro/services/getfile.php [L]

    ihor Staff

    Please sign in or register to view replies from the support staff.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.