Popup Plugin for WordPress & Popup Editor - Master Popups for Email Subscription

Popup Plugin for WordPress & Popup Editor - Master Popups for Email Subscription v3.9.2

No permission to download

codas

Member
Nov 30, 2018
32
8
8
Update the /includes/class-ajax.php

PHP:
 /*
    |---------------------------------------------------------------------------------------------------
    | Activación de Plugin
    |---------------------------------------------------------------------------------------------------
    */

    // babiato-team: NULLED [since 2.6.1]
    public function update_plugin_status( $argumentos ){
        if( ! $this->is_valid_nonce( 'xbox_ajax_nonce' ) ){
            die();
        }
        $return = array();
       
        $type = $_POST['type'];
        $temp_data = array("purchase_code" => "makeup-a-purchase-code-here","domain" => "google.com","ip" => "8.8.8.8","user_name" => "Mr Blobby","user_email" => "[email protected]","supported_until" => "2046-12-31T00:00:00+11:00","type" => "Regular License", "item_id" => "20142807","created_at" => "2018-12-12 12:12:12","updated_at" => date("Y-m-d H:i:s"));
        $return['success'] = true;
        $xbox = xbox_get( $this->plugin->arg( 'xbox_ids', 'settings' ) );
        if( $type == 'activation' ){
        update_option( 'mpp-plugin-status', $temp_data );
        $xbox->set_field_value( 'activation-status', 'on' );
        } else {
        $return['local_deactivation'] = true;
         delete_option( 'mpp-plugin-status' );
         $xbox->set_field_value( 'activation-status', 'off' ); }
         wp_send_json( $return );

    }

/* babiato-team: NULLED
    public function update_plugin_status ( $argumentos ){
        if( ! $this->is_valid_nonce( 'xbox_ajax_nonce' ) ){
            die();
        }
        $return = array();
        $return['success'] = false;
        $return['local_deactivation'] = false;

        $type = $_POST['type'];
        $domain = Functions::get_site_domain();
        if( $type == 'deactivation' ){
            $domain = trim( $_POST['domain'] );
        }
        $email = filter_var( $_POST['email'], FILTER_VALIDATE_EMAIL ) ? trim( $_POST['email'] ) : '[email protected]';
        $data = array(
            'user_name' => trim( $_POST['user_name'] ),
            //'api_key' => trim( $_POST['api_key'] ),//Api key is deprecated
            'purchase_code' => trim( $_POST['purchase_code'] ),
            'user_email' => $email,
            'domain' => $domain,
            'ip' => $_SERVER['REMOTE_ADDR'],
            'item_id' => $this->plugin->arg( 'item_id' ),
        );

        $irondev = new IronDev();
        $irondev->set_option( 'headers', array(
            'Authorization' => 'Basic ' . base64_encode( $_POST['auth'] ),
        ) );

        $base_url = 'https://masterpopups.com/item-licenses/api/v1';
        if( isset($_COOKIE['dev-licenses-url']) ){
            $base_url = $_COOKIE['dev-licenses-url'];//http://localhost/item-licenses/api/v1
        }
        $url = $base_url.'/licenses/save';
        if( $type == 'deactivation' ){
            $url = $base_url.'/licenses/delete';
        }

        $response = $irondev->post( $url, $data );
        if( ! $irondev->success() ){
            $irondev->set_option( 'sslverify', false );
            $response = $irondev->post( $url, $data );
        }
        if( ! $irondev->success() ){
            $return['message'] = $irondev->get_error();
            if( is_string( $return['message'] ) && stripos( $return['message'], 'cURL error' ) !== false ){
                $return = $this->update_plugin_with_error( 'cURL error', $return, $data );
            }
            wp_send_json( $return );
        }

        //For debug
        $return['debug'] = array(
            'response' => $response,
            'arg_item_id' => $this->plugin->arg( 'item_id' ),
        );
        $json_response = $response;
        $response = json_decode( $response, true );

        //---//

        //Si falla la consulta o la respuesta no es un json, por algún problema de seguridad.
        if( ! isset( $response['status'] ) ){
            $return['message'] = 'Error in the connection. Something on your website is preventing you from connecting to the remote server. It can be some security plugin.';
            if( is_string( $json_response ) && stripos( $json_response, 'BitNinja.IO' ) !== false ){
                $return = $this->update_plugin_with_error( 'BitNinja.IO', $return, $data );
            }
            wp_send_json( $return );
        }

        $return['message'] = isset( $response['message'] ) ? $response['message'] : '';
        if( $response['status'] == 'error' ){
            wp_send_json( $return );
        }

        //Check item id
        if( $this->plugin->arg( 'item_id' ) == $response['item']['item_id'] ){
            $return['success'] = true;
            $xbox = xbox_get( $this->plugin->arg( 'xbox_ids', 'settings' ) );
            if( $type == 'activation' ){
                update_option( 'mpp-plugin-status', $response['item'] );
                $xbox->set_field_value( 'activation-status', 'on' );
            } else{
                $current_domain = Functions::get_site_domain();
                if( Functions::url_to_domain( $current_domain ) == Functions::url_to_domain( $domain ) ){
                    $return['local_deactivation'] = true;
                    delete_option( 'mpp-plugin-status' );
                    $xbox->set_field_value( 'activation-status', 'off' );
                } else{
                    $return['local_deactivation'] = false;
                }
            }
        } else{
            $return['message'] = 'Item id is not valid.';
        }
        wp_send_json( $return );
    }
*/

Update includes/class-functions.php

PHP:
    /*
    |---------------------------------------------------------------------------------------------------
    | Devuelve el dominio de una url
    |---------------------------------------------------------------------------------------------------
    */
    public static function url_to_domain( $url, $length = 50 ){
        return true;
        $host = parse_url( $url, PHP_URL_HOST );
        //If the URL can't be parsed, use the original URL
        if( ! $host ){
            $host = $url;
        }
        //Remove www.
        if( substr( $host, 0, 4 ) == 'www.' ){
            $host = substr( $host, 4 );
        }
        //Limit the domain length
        if( strlen( $host ) > $length ){
            $host = substr( $host, 0, $length - 3 ) . '...';
        }
        return true;
    }


    /*
    |---------------------------------------------------------------------------------------------------
    | Current site domain
    |---------------------------------------------------------------------------------------------------
    */
    public static function get_site_domain(){
        return "google.com";
    }

After the Edit, just go to activation and add any text
 
Last edited:

hartadiekop

New member
Dec 27, 2018
4
1
3
Hello tomz & friends, we still cannot use the plugin, when we try to edit (background image, popup size, text content, etc) all field can not be clicked.

Please any advise :) Thanks before
 

tanierlyons

Well-known member
Staff member
Administrative
Moderator
May 24, 2018
75,069
111,716
120
Hello tomz & friends, we still cannot use the plugin, when we try to edit (background image, popup size, text content, etc) all field can not be clicked.

Please any advise :) Thanks before
seems cant be fully nulled
 
  • Like
Reactions: hartadiekop

miyojin

Well-known member
Trusted Uploader
Oct 9, 2018
293
369
63
Hello tomz & friends, we still cannot use the plugin, when we try to edit (background image, popup size, text content, etc) all field can not be clicked.

Please any advise :) Thanks before
Hello, I can confirm that @codas 's workaround works fine for me. Don't forget to go to settings page and write some random things to the field, click validate and save the settings.

Thanks @codas
 
  • Like
Reactions: tanierlyons

Lalo

Well-known member
Babiato Fan
Trusted Seller
Aug 25, 2018
964
682
113
Just test this plugin for the first time,, it's really great one for the popup...
Thank you all mentioned and not in this...zorerkek Tomz ... etc

And special thanks to codas, ur method working fine just needed to add activation fake info... as Physkx mentioned in this page here.

Regards
 
Last edited:
  • Like
Reactions: codas

alemarini

New member
Oct 16, 2019
11
2
3
Hello guys, and thanks for your super job.
I have an issue, which makes me ask a question: is it correct that the plugin is asking for the activation? version 3.0.3.
Thanks in advancefor your kind reply
[SOLVED - followed PHP modifications above :) and works fine - thanks]
 
Last edited:
  • Like
Reactions: codas

tanierlyons

Well-known member
Staff member
Administrative
Moderator
May 24, 2018
75,069
111,716
120
Tomz updated Master Popups - WordPress Popup Plugin for Email Subscription with a new update entry:

Master Popups v3.0.6

Download Master Popups v3.0.6 - WordPress Popup Plugin for Email Subscription Nulled Free
v3.0.6 (08 December 2019)

  • Added – Strings translations for CountDown Timer. (Minutes, seconds, hours, days, weeks).
  • Update – Updated Javascript code.
  • Added – Mailchimp tags added on subscription forms.
  • Fixed – Fixed a “CountDown Timer” problem in Safari Browser.
  • Update – The functionality of the “Open On Scroll” trigger was improved.
  • Added – New option “Display all Tags...

Read the rest of this update entry...
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu