• Resolved harvis

    (@harvis)


    Hi , not sure if this is the right place, but i made a plugin conflict test and Green Popups (formerly Layered Popups) when its activated its disappearing all wpforms icons on editing form mode.

    here is an image https://snipboard.io/VlWIO5.jpg

    thanks in advance

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Kenneth Macharia

    (@kmacharia)

    Hey @harvis,

    Thanks for reaching out and sorry for the trouble here.

    I’ve just tried to install the Layered Popups plugin on my testing site to test this first hand but it triggered a fatal error and I could activate it.
    Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in ...\wp-content\plugins\layered-pop\layered-pop.php:178

    This issue that you are experiencing suggests that Layered Popups might be loading a different version of the FontAwesome icon library that is overriding the version from our plugin.

    I can recommend reaching out to the author of this plugin and check if they can offer a fix for this. As a workaround, you could also try the following code:

    /**
     * Override the Fontawesome font when viewing the form builder
     *
     */
    function wpf_override_fontawesome_font() {
        // Only load if we are actually on the builder.
        if (function_exists('wpforms_is_admin_page')) {
    	if ( ! wpforms_is_admin_page( 'builder' ) ) {
    		return;
    	}
    	
        echo "
        <style type='text/css'>
        .fa{
    	  font: normal normal normal 14px/1 FontAwesome;
    	}
        </style>
        ";
    	}
    }
    add_action( 'admin_head', 'wpf_override_fontawesome_font' );

    Hope this helps!

    Thread Starter harvis

    (@harvis)

    Hi @kmacharia i contacted the green popups supports and this is what they told me

    Hi. My plugin uses latest version of Font Awesome which is 5. Your plugin uses Font Awesome 4. Unfortunately, versions 4 and 5 are not compatible with each other.
    You need contact author of your plugin and ask them to upgrade Font Awesome to latest version.

    Regards,
    Ivan

    Seems to be WPforms is using and older version from what they say.

    Any other suggestion?

    Plugin Support Kenneth Macharia

    (@kmacharia)

    Hey @harvis

    Apologies for the delay.

    Did you get a chance to try the code fix I recommended earlier?

    Please let me know!

    Thread Starter harvis

    (@harvis)

    @kmacharia Hi bro, that code go in the php editor? Sorry im kind of confused?

    Plugin Support Kenneth Macharia

    (@kmacharia)

    Hi @harvis,

    Great question!

    Here’s our tutorial with the most common ways to add custom code like this.

    For the most beginner-friendly option in that tutorial, I’d recommend using the Code Snippets plugin.

    I hope this helps!

    Thread Starter harvis

    (@harvis)

    Hi @kmacharia it didnt work but it not a big deal i will mark it as solved, thanks for trying to help me!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Wpforms conflict with Green Popups (formerly Layered Popups)’ is closed to new replies.