codas
Member
- Nov 30, 2018
- 32
- 8
- 8
there are changes in files and codes , the null method you use doesn't work anymore 
/*
|---------------------------------------------------------------------------------------------------
| 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 );
}
*/
/*
|---------------------------------------------------------------------------------------------------
| 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";
}
Download Master Popups v3.0.0 - WordPress Popup Plugin for Email Subscription Nulled Free
= v3.0.0 (15 October 2019) =
* Fixed - Fixed "Exit Intent Event" in Internet Explorer & Microsoft Edge.
Download Master Popups v3.0.1 - WordPress Popup Plugin for Email Subscription Nulled Free
= ر3.0.1 (17 October 2019) =
* Added - New option "Display all Tags in the Popup Editor" in General Settings.
seems cant be fully nulledHello 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 adviseThanks before
Ok, thanks anywayseems cant be fully nulled
did you use that Null method i wrote up there ?Ok, thanks anyway![]()
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.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 adviseThanks before
Download Master Popups v3.0.2 - WordPress Popup Plugin for Email Subscription Nulled Free
v3.0.2 (28 October 2019)
* Update - The functionality of the "Open On Scroll" trigger was improved
Download Master Popups v3.0.3 - WordPress Popup Plugin for Email Subscription Nulled Free
= v3.0.3 (30 October 2019) =
* Fixed - Fixed a "CountDown Timer" problem in Safari Browser.
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...