• Resolved theunvarnished

    (@theunvarnished)


    I really like your plugin but unfortunately it does not work when my admin is SSL protected. In admin, when I am trying to setup the actions that trigger the popup they are all below the editor and not to the right of it. The corresponding links for the various actions (conditions) seem to be dead. It does work on my development site that is not SSL protected. Any ideas on how I can make it work?

    theunvarnished.com

    https://wordpress.org/plugins/wordpress-popup/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi @theunvarnished,

    Thank you for your question and sorry to hear the problem you are having.

    This is the known issue and will be fixed in the future version of plugin.

    In the meanwhile to fix it just overwrite the set_popover_url() function with the following changed function in the plugin file :

    plugins/wordpress-popup/popoverincludes/includes/functions.php

    function set_popover_url($base) {
    
    	global $popover_url;
    
    	if(defined('WPMU_PLUGIN_URL') && defined('WPMU_PLUGIN_DIR') && file_exists(WPMU_PLUGIN_DIR . '/' . basename($base))) {
    		$popover_url = trailingslashit(WPMU_PLUGIN_URL);
    	} elseif(plugins_url() && defined('WP_PLUGIN_DIR') && file_exists(WP_PLUGIN_DIR . '/'.PO_PLUGIN_DIR.'/' . basename($base))) {
    		$popover_url = trailingslashit(plugins_url() . '/'.PO_PLUGIN_DIR);
    	} else {
    		$popover_url = trailingslashit(plugins_url() . '/'.PO_PLUGIN_DIR);
    	}
    
    }

    Note: You are making changes in the core plugin file and it will be overwritten when you update the plugin so you have to make these changes again after updating the plugin.

    Cheers,

    Thread Starter theunvarnished

    (@theunvarnished)

    Great. Yes I figured this would be a common problem since most people would probably have their admin secured.

    Thank you very much and I look forward to the future version.

    Theunvarnished

    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi @theunvarnished,

    You are most welcome, if I can be of any further assistance please don’t hesitate to ask 🙂

    Cheers,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Does not work in SSL (HTTPS) Pages’ is closed to new replies.