Paid Memberships Pro

Hello Guys,
I have the latest version of Paid Memberships Pro on my website www.beclickable.co.uk and the problem is that any pages that use Beaver Builder can not be protected or have restricted access!

Is there any way this can be resolved please?

Steve

Hey Steve,

Thanks for getting in touch and welcome to the BB forums! We have the exact same problem on User Role Editor Pro.
http://forum.wpbeaverbuilder.com/support/q/working-with-a-plugin-user-role-editor-pro-restrict-access-to-editing-a-page/

Do you think you can also send us a copy of the plugin so our lead dev can check? You can send it over to themes [at] fastlinemedia [dot] com.

Ben

Hello Ben,

I have emailed the plugin as requested.

Hi Steve,

Thanks for sending that over. I did some testing and it looks like the issue is that PMP is running their check to see if a post is restricted to members before BB’s content is rendered. That means that once BB’s content is rendered, it’s overriding PMP’s login/register form.

Many plugins, including BB, use the same filter (the_content) as they do to modify page content. For example, a social buttons plugin uses that to insert its buttons in the post content. You’ll see in the screen shot below that their plugin is even running before that, so the social buttons still show…

That’s just one example of the issue, I’m sure other page builders that don’t use shortcodes like BB and instead use the_content will have this same issue.

The reason this is happening is because PMP’s check is happening at an earlier priority of 5 whereas the default is 10…

add_filter('the_content', 'pmpro_membership_content_filter', 5);

I changed the priority to 11 and it works with BB and the social buttons plugin, so I believe the issue is on their end. I don’t have access to their support forums, so you might try posting in there and linking to this thread to see if they would be willing to get the priority changed to prevent issues like this.

Sorry I don’t have a better answer! Let me know how it goes.

Justin

Hi Justin,

I’ve had an enquiry today for a membership website and wouldn’t want to use anything other than BB to build that.

You’ve mentioned in this ticket that some plugins don’t play well out of the box with BB, are you or anyone else in the BB community able reference any membership plugins that have been used successfully with BB?

Thanks,

Gerry

Hi Gerry,

I don’t have much experience with membership/e-commerce plugins other than WooCommerce and Easy Digital Downloads.

Chris Lema has been reviewing a new membership plugin almost every day on his blog, so that might be worth a look… http://chrislema.com/blog/

You could also try posting in the Facebook users group to see if anyone from the BB community has any advice… https://www.facebook.com/groups/beaverbuilders/

Sorry for the hassle!

Justin

Hi Justin,

Thanks for response.

I’m a Chris Lema subscriber and a big fan (I’ll be forever grateful - he introduced me to BB!)

His memnbership series is typically thorough however it doesn’t rate the plugins on my number 1 priority i.e. compatibility with BB.

Testing might be my best option.

Thanks, Gerry

Justin,

Just a question regarding Easy Digital Downloads. Maybe this belongs in the BB Theme support.

I don’t see an “EDD” compatible indication on the BB site, like I do with Woocommerce. Any issues with integrating an EDD solution with the BB Theme and plugin?

Thanks.
Doug

You’re welcome, Gerry.

Doug, I don’t believe there are any issues with EDD. I haven’t used it personally in a while, but we had originally built this site using it before deciding to go with WooCommerce.

Justin

The PMP developer just got back to us with this script that you can add to a child theme for PMP/BB compatibility… https://gist.github.com/strangerstudios/d605744f483087ff9526

Let me know if you have any questions!

Justin

Hello Guys,

That works brilliantly, thanks for all your help and support.

Steve

You’re welcome, Steve! Happy to help.

Justin

Hey there,

can you hold my hand and step me through implementing this fix? We too want to use PMP?

Is it in the CODE or directly within a specific file?

Is it just editing the PMP content.php file or something withing BB that needs editing?

Hey Chris,

Are you using the BB theme? Simply place it inside your Child Theme’s functions.php file. If you’re not sure about that, go ahead and share temp admin access so we can take a look for you.

Ben

Ok, I’ll give that a shot and thanks for the support on working with other plugin/systems.

No worries! Let us know how it goes! :slight_smile:

Ben