Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jhnpldng

    (@jhnpldng)

    Update. That front end 404 only happened once but I still had isssues so I did a fresh install of wp multisite with no plugins except for Paid Membership Pro. Went through checkout and it creates a site just fine. Installed and activated Multisite Cloner, set a subsite as default for cloning and went through checkout again and PmPro gave the white screen of death. It DOES create a site and user for it but can’t seem to retrieve the site/user info and display it on the page like it normally would. I could pay them $100 for support but they would probably tell me it’s not their problem. So if you can do something for me, that would be great. I could get around a lot of this with mu-plugins and if I was a php programmer, a functions.php file but I’m not a programmer.

    Regards, John

    I’d like to second this request for PMP support!

    Thread Starter jhnpldng

    (@jhnpldng)

    Hey zanzaboonda, I did find a workaround. In pmpro-network.php, I changed lines 88-91 from this

    <div>
                                <p>You will be reclaiming your site <strong><?php echo $blogname;?></strong>.</p>
                                <input type="hidden" name="blog_id" value="<?php echo $blog_id;?>" />
                            </div>

    to this

    <div>
                                <a style="color:red;" href="<?php echo home_url(PMPRO_NETWORK_MANAGE_SITES_SLUG);?>"><?php _e('Click here to Manage your Site &raquo;') ?></a>
    </div>

    I also pasted the pmpron_pmpro_confirmation_message function just below that but it doesn’t do anything. It’s supposed to display the new blog with a link to the front and backend of it. The above PMPRO_NETWORK_MANAGE_SITES_SLUG is just a link to the manage-sites page, done in red to be sure they see it. The clones don’t show up in the dropdown menu “My Site” in the admin bar but they do show in Network>Sites>All Sites and can alss get there from the dropdown if you follow My Sites>Network>Sites.

    The above code change is quite the hack but regardless, I’ve got it so people can pick a membership level, checkout, site gets created and the hack gives them a link to manage it. That file is the addon that creates sites and is a one file plugin that didn’t come from wp.org so no worries about updates on it unless pmpro makes a new one and we manually download and install it.

    Not sure if you’re using paypal express or a gateway but I found Stripe was real easy to set up and they never have to leave the site for checkout. There’s also a new pmpro addon to add paypal express as an option to a gateway. In that case, they will leave the site and I haven’t tested it yet to see where they end up when they come back. If I can’t hack that, then I’ll put some kind of message on the pp checkout page that they’ll have to wait for an email with their site credentials which may take 1-2 business days, etc etc.
    Guess I should do the pp express test today. I’m almost ready to go live.

    Sweet! Nice work.

    I’m currently using PayPal Express, mostly because I’m already familiar with it. But I keep hearing about Stripe. I guess I should check it out!

    Thanks for the update! I’ll read over this again later when I have time to fully digest what it exactly does. (Running out the door atm.)

    Thanks again!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can you get this working with paid memberships pro?’ is closed to new replies.