Home>Support>S2Member and Page Builder ?

S2Member and Page Builder ?

I am running S2Member Membership Plugin.

I have the feeling that Page Builder and S2Member are NOT compatible with each other.

If they are compatible, then would someone please tell me how ?

Thanks.

Miles.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 4 months ago Andrew Misplon
    Hi, I Work Here

    Hi Miles

    Thanks for your question.

    In order to block or restrict content, membership plugins need to know where to find it. Unfortunately, without compatibility code in place, it’s unlikely this will happen as Page Builder’s content isn’t stored in the same place as regular Visual/Text tab content. I believe that WP-Members is compatible with Page Builder. Unfortunately, I don’t have a hotfix for getting Page Builder and S2Member working, it’s something that would ideally need to be tackled from their side, they’d need to add support for Page Builder.

  2. 8 years, 4 months ago Miles Works

    Andrew,

    Ok, that’s not helpful.

    I know, it’s not your product, it’s theirs.

    I’ve asked the same thing of them, and they’re telling me exactly the same thing that YOU have to fix your code to accommodate THEM.

    I wish the two of you would talk directly to each other.

    As to the page protection part…WP-Members is a, to put it bluntly, doesn’t fit my needs. I need something far more comprehensive and robust than WP-Members can provide.

    PageBuilder makes things about 10000 times easier in certain respects that I can build a page and replicate that build over and over again. However, if I have to drop your product then that’s what’s going to happen. I need security more than I need a pretty page and ease of use.

    I would rather NOT do that as I have HUNDREDS of pages to build right now and your product greatly simplifies that process! However if it comes down to a choice between having my videos stolen and me not eating because of it…OR a nice page building tool….I think the answer is pretty plain.

    So, I know it’s a lot to ask, but could you boys get on the same page with each other ????

    Miles.

  3. 8 years, 4 months ago Andrew Misplon
    Hi, I Work Here

    Thanks for your detailed feedback.

    We’re a really small team, I’ll definitely log your request and pass your suggestions to our developers. Unfortunately, the development team works largely on a project type basis. That’s to say, they’re working to a plan with milestones and unless there is a super urgent bug that’s breaking a product, I’m unable to shift them off that plan for a product enhancement. We definitely want to see Page Builder and S2Member working together. It’s a pity they’re unable to take a look at the problem right now. The fix for WP-Members was provided by their development team. I understand WP-Members isn’t suitable for all projects, the reason I like it is because it’s so lightweight, I can see how that could be the downside for your project.

    Sorry I don’t have better news for the short term.

  4. 8 years, 4 months ago Miles Works

    Andrew,

    I know you’re a small development house.

    And this is very specific. You have other things to concern yourself with.

    Hmmmm….I just thought of something….is it possible to have PageBuilder run on a PART of a page ? To localize it ? If so then S2Member and PageBuilder could run side by side….

    Miles.

  5. 8 years, 4 months ago Andrew Misplon
    Hi, I Work Here

    Can you explain how s2Member and Page Builder aren’t working?

    Can you confirm that you’ve set a Membership Options page? This is done from s2MemberGeneral OptionsMembership Options Page. Once I’ve set this page and set another page from Pages to Level 1-4 and try view it when logged out of WordPress I get forwarded to the Membership Options page.

  6. 8 years, 4 months ago Miles Works

    Andrew,

    I have a membership options page….

    It doesn’t do much at the moment….

    But I have one.

    Confirmed.

    >I get forwarded to the Membership Options page.

    That’s what should happen. However, when I add a pagebuilder block to whatever page, it fails. I’ll create a screen capture so you can see what I am on about…

    Miles.

  7. 8 years, 4 months ago Andrew Misplon
    Hi, I Work Here

    If you could, that would be great. So far, I’m unable to find a problem. I’ve only done basic testing, I can get s2Member shortcodes to work in the Text widget in Page Builder and I can block access to a Page Builder page.

  8. 8 years, 4 months ago Miles Works

    Andrew.

    https://drive.google.com/file/d/0B2KTjplqJOLBc3dVTjZwaVI3YUU/view?usp=sharing

    Miles.

  9. 8 years, 4 months ago Andrew Misplon
    Hi, I Work Here

    Thanks for the awesome video, really appreciate that. I’m winding down for the evening but will mock this up tomorrow and get back to you with feedback. Thanks again for taking the time to demonstrate the challenge you’re facing.

  10. 8 years, 4 months ago Andrew Misplon
    Hi, I Work Here

    Thanks for the wait. It seems the [/else] statement works only in the pro version. For the free version you’ll need to use two if statements.

    [s2If something()]
    Show if YES.
    [/s2If]
    [s2If !something()]
    Show if NO.
    [/s2If]
    

    Ref topic: https://wordpress.org/support/topic/else-shortcode-not-working-properly

    My own example for testing (outside of Page Builder), doesn’t work:

    Content for everyone.
    
    [s2If is_user_logged_in()]
    
    You're logged in.
    
    [/else]
    
    You're logged out.
    
    [/s2If]
    
  11. 8 years, 4 months ago Andrew Misplon
    Hi, I Work Here

    Or put another way, can you get your else statement working correctly in another page, without Page Builder?

  12. 8 years, 4 months ago Miles Works

    Your ELSE statement has a / in front of it. So it won’t work.

    Further you are correct your [ELSE] statement won’t work if you have the free version.

    I have the PRO version. :-)

    However, you can accomplish the same with TWO IF statements.

    Either way….yes I can get my code to run outside a pagebuilder page.

    Perfectly. See ? https://drive.google.com/file/d/0B2KTjplqJOLBRDZhTjh2V3QxNEU/view?usp=sharing

  13. 8 years, 4 months ago Andrew Misplon
    Hi, I Work Here

    Super, thanks for clearing that up. I’ll mail s2Member and ask them for a copy. For the short term then the hotfix would be to rewrite your conditional using if statements only. Once we have a copy I’ll log this so our developers can take a look. Appreciate all the testing :)

  14. 8 years, 4 months ago Miles Works

    So you're saying that pagebuilder DOES work with S2Member but as conditional IF Statements ONLY? Without the ELSE?
    Confirm please.

  15. 8 years, 4 months ago Andrew Misplon
    Hi, I Work Here

    Conditional statements without else do seem to work, please, try this in a new Page Builder quickly, I used a Text widget in this case.

    [s2If is_user_logged_in()]
    You're logged in.
    [/s2If]
    
    [s2If !is_user_logged_in()]
    You're logged out.
    [/s2If]
    

    Testing with one browser incognito and another logged in, that seems to work normally for me.

  16. 8 years, 4 months ago Andrew Misplon
    Hi, I Work Here

    Works normally in a SiteOrigin Editor widget too. It’s a very basic test for sure but looks promising. I’ve mailed s2Member for a copy of Pro.

  17. 8 years, 4 months ago Andrew Misplon
    Hi, I Work Here

    I’m setup with Pro. Please, could you send me a copy of the page with the else statement if you still have it?

    To do so, go to the page in question, click Prebuilt > Import/Export > Download Layout. Please, upload the file to a Dropbox public folder or a site like https://www.wetransfer.com/ and send the link to download using the Private Reply checkbox bottom right. Thanks :)

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More