• Resolved viorel

    (@vioreleremia)


    Hi guys,

    I’m a developer of the brizy plugin. We have a few users using Speed booster with brizy and there are some issues between our plugins.
    The problem is our iframe gets broken when the minify html is enabled. I’ve looked over the code and I see you guys tried to solve something when brizy is installed.
    I’m talking about the function should_plugin_run in the class Speed_Booster_Pack that has a key 'brizy' => 'edit'. I can’t understand what it means but we don’t have such requests through GET. So I think that check makes no sense or I am missing something.
    Anyway, at the moment to fix this broken iframe we need to have another check when brizy is installed

    
    if (
    	class_exists( 'Brizy_Editor' )
    	&&
    	( isset( $_GET[ Brizy_Editor::prefix( '-edit' ) ] ) || isset( $_GET[ Brizy_Editor::prefix( '-edit-iframe' ) ] ) )
    ) {
    	return false;
    }
    

    Can you guys add this code after that foreach in the function should_plugin_run?
    I used our function Brizy_Editor::prefix() because we have a feature named White Label where users can create their own brand so in this case they can change all prefixes and the var brizy-edit will become userPrefix-edit.
    If I don’t miss something, we should also delete the variable brizy from that array.

    All the Best,
    Viorel

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimocha

    (@optimocha)

    Hi @vioreleremia,

    Thanks for reaching out to us! I don’t remember when we added it but I remember seeing the editor URL having a query string like /?brizy=edit. Obviously I’m wrong if you’re saying that there’s no query string like that 🙂

    Can you contact us through https://speedboosterpack.com/contact/ and provide us with a testing environment? Just a demo page with the wp-admin credentials would suffice.

    Cheers,
    Barış from Optimocha

    Thread Starter viorel

    (@vioreleremia)

    Hi Barış,

    You can remove that string I’m sure about it.
    About a demo page you can install both plugins on any wp installation even on localhost and make sure the option Minify HTML is enabled, after, edit any page and click on the button Edit With Brizy you’ll see an infinite loading of our preloader. I didn’t check what is going on but it seems that our scripts are not loaded. Try to inspect the iframe there should be some js scripts like editor.js etc. but they aren’t

    Regards,
    Viorel

    Plugin Author Optimocha

    (@optimocha)

    Hey @vioreleremia,

    Sorry for the late response. We’ve pushed this change to version 4.1 and it’ll be released this month. Thank you for the valuable input! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Compatibility with Brizy Plugin’ is closed to new replies.