• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

[How to] Null All MyThemeShop Themes and Plugins

alexmisaila

Without any interest
Banned User
In the file mythemeshop-connect.php, comment out line 15 which is
Code:
private $api_url = "https://mythemeshop.com/mtsapi/v1/";
Then change line 55 to
Code:
$connected = true;
Now find the function "get_data()" around line 940 and change this line:
Code:
if ( empty( $options ) ) $options = array( 'connected' => false);
to this:
Code:
if ( empty( $options ) ) $options = array( 'connected' => true );

Should all be good now.
 
Code:
How to Activate MyThemeShop Themes and Plugins

    December 15, 2019 Posted by author-avatar    *********

15 Dec

Please follow the steps below to activate MyThemeShop themes and plugins.
Step 1:

Make sure you are using a fresh untouched theme again and go to the folder:

“mts_sense/functions/” – this can be any theme. E.g. mts_adsense
Step 2:

In that folder, look for the file “theme-actions.php”. Open that file in a text editor and look for the following lines:

function mts_nhp_sections_override() {
define( 'MTS_THEME_INIT', 1 );

(I found it in line #845 and #846)
Step 3:

Right after the second line, put a “return;” (without quotes).

It should look like this:

function mts_nhp_sections_override() {
define( 'MTS_THEME_INIT', 1 );
return;
if ( class_exists('mts_connection') && defined('MTS_CONNECT_ACTIVE') && MTS_CONNECT_ACTIVE ) {
return;
}

(do not get confused with the returns that were already there. Those do not need to be touched.)
Step 4:

Deactivate the MyThemeShop Connect plugin.
Step 5:

Save the file and that’s it. That will defeat the Update connector.
Final note:

I guess this will be in a theme by theme basis, but first, I guess most of the themes will have that similar structure and second, that is why I mentioned the two lines. That is because even when the line “define( ‘MTS_THEME_INIT’, 1 )” is unique in that file, it will help you look in any other of the themes you would like to null. You will just need to confirm that it is right after the line “function mts_nhp_sections_override() {“. If not, then that is not the one.

This is for the themes that apply and as for the plugins, as long as you do not install the connect plugin you are good to go.

If something does not work in this or any other theme, just drop a line. I’ll be more than glad to take a look at it for you.
 
Code:
How to Activate MyThemeShop Themes and Plugins

    December 15, 2019 Posted by author-avatar    *********

15 Dec

Please follow the steps below to activate MyThemeShop themes and plugins.
Step 1:

Make sure you are using a fresh untouched theme again and go to the folder:

“mts_sense/functions/” – this can be any theme. E.g. mts_adsense
Step 2:

In that folder, look for the file “theme-actions.php”. Open that file in a text editor and look for the following lines:

function mts_nhp_sections_override() {
define( 'MTS_THEME_INIT', 1 );

(I found it in line #845 and #846)
Step 3:

Right after the second line, put a “return;” (without quotes).

It should look like this:

function mts_nhp_sections_override() {
define( 'MTS_THEME_INIT', 1 );
return;
if ( class_exists('mts_connection') && defined('MTS_CONNECT_ACTIVE') && MTS_CONNECT_ACTIVE ) {
return;
}

(do not get confused with the returns that were already there. Those do not need to be touched.)
Step 4:

Deactivate the MyThemeShop Connect plugin.
Step 5:

Save the file and that’s it. That will defeat the Update connector.
Final note:

I guess this will be in a theme by theme basis, but first, I guess most of the themes will have that similar structure and second, that is why I mentioned the two lines. That is because even when the line “define( ‘MTS_THEME_INIT’, 1 )” is unique in that file, it will help you look in any other of the themes you would like to null. You will just need to confirm that it is right after the line “function mts_nhp_sections_override() {“. If not, then that is not the one.

This is for the themes that apply and as for the plugins, as long as you do not install the connect plugin you are good to go.

If something does not work in this or any other theme, just drop a line. I’ll be more than glad to take a look at it for you.
Maybe you want to make some tutorials about how to null themes and plugins.... The info I've posted isn't mine, I found it and I've shared here because I found it useful....
I know isn't easy to null a theme or plugin, but maybe you can explain a little bit what we need to look for and where.... I'm pretty sure who are a coder will know what you'll explain.
 
  • Like
Reactions: Saint Gabriel
Esto ya no funciona, aparentemente algunas cosas han cambiado, ahora lo que aparece dentro de este archivo es esto:

Code:
<?php
/**
 * Plugin Name: MyThemeShop Theme & Plugin Updater
 * Plugin URI: https://mythemeshop.com
 * Description: Update MyThemeShop themes & plugins right from your WordPress dashboard.
 * Version: 3.0.7
 * Author: MyThemeShop
 * Author URI: https://mythemeshop.com
 * License: GPLv2
 * MTS Product Type: Free
 *
 * @package MyThemeShop_Connect
 */

use MyThemeShop_Connect\Core;


defined( 'ABSPATH' ) || die;

/* Sets the plugin version constant. */
define( 'MTS_CONNECT_VERSION', '3.0.7' );

/* Sets the plugin slug constant. */
define( 'MTS_CONNECT_PLUGIN_FILE', 'mythemeshop-connect/mythemeshop-connect.php' );

/* Sets the path to the plugin directory. */
define( 'MTS_CONNECT_DIR', trailingslashit( plugin_dir_path( __FILE__ ) ) );

/* Sets the path to the plugin directory URI. */
define( 'MTS_CONNECT_URI', trailingslashit( plugin_dir_url( __FILE__ ) ) );

/* Sets the path to the `includes` directory. */
define( 'MTS_CONNECT_INCLUDES', MTS_CONNECT_DIR . trailingslashit( 'includes' ) );

/* Sets the path to the `assets` directory. */
define( 'MTS_CONNECT_ASSETS', MTS_CONNECT_URI . 'assets/' );

/* We're here. */
define( 'MTS_CONNECT_ACTIVE', true );

/* Dependencies. */
$files = array(
    'ajax',
    'checker',
    'compatibility',
    'notifications',
    'plugin-checker',
    'settings',
    'theme-checker',

    // Legacy classes for backwards compatibility.
    'mts-connector',
    'mts-connection',
);
foreach ( $files as $file ) {
    require_once MTS_CONNECT_INCLUDES . 'class-' . $file . '.php';
}

/* Require main class. */
require_once MTS_CONNECT_INCLUDES . 'class-core.php';

/* Hook init. */
add_action( 'plugins_loaded', 'mythemeshop_connect_init' );
function mythemeshop_connect_init() {
    $mts_connection = Core::get_instance();
}
 
  • Like
Reactions: Mbahdarmo
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock