• Nullsto Rules must be read before making a post, otherwise you will get permanent warning points or a permanent ban.

    Nullsto Forum provides CLEAN and SAFE resources. You can use them for development and testing if you are on Windows and have an antivirus that alerts you about a possible infection: It is a false positive since every script is double checked by our experts. While downloading a resource, we recommend that you add Nullsto to your trusted sites/sources or temporarily disable your antivirus. "Enjoy your presence on Nullsto"

Tricks How to activate/null mythemeshop coupon theme

Kundra

Be a part of Nullsto's Growth ;)
Staff member
Moderator
Nullsto Lover
GiveAway Master
Trusted Uploader
Joined
Sep 16, 2022
Messages
4,219
Reaction score
6,568
Points
193
Five easy steps to do it.

============= STEP #1 ==============
First, as usual, make sure that the " mythemeshop_connect " plugin is not installed. It installs by itself when you first run the theme. If installed, delete it.

============= STEP #2 ==============
FILE: mts_coupon \ functions \ plugin-activation.php
LINE #4480

Add double-slash to the beginning of the line.

This:
add_filter( 'plugins_api', 'mts_connect_plugin_install_url', 10, 3 );

To This:
// add_filter( 'plugins_api', 'mts_connect_plugin_install_url', 10, 3 );

============= STEP #3 ==============
SAME FILE
LINE: #4498

The same as above.

This:
add_filter( 'pre_set_site_transient_update_plugins', 'mts_connect_plugin_update_url' );

To This:
// add_filter( 'pre_set_site_transient_update_plugins', 'mts_connect_plugin_update_url' );

============= STEP #4 ==============
FILE: mts_coupon \ functions \ theme-actions.php
LINE #904

Add RETURN; in that line right after " function mts_theme_activation( $oldtheme_name = null, $oldtheme = null ) { "

This:
function mts_theme_activation( $oldtheme_name = null, $oldtheme = null ) {

To This:
function mts_theme_activation( $oldtheme_name = null, $oldtheme = null ) { RETURN;

============= STEP #5 ==============
SAME FILE
LINE #976

Add RETURN; in that line right after " define( 'MTS_THEME_INIT', 1 ); "

This:
define( 'MTS_THEME_INIT', 1 );

To This:
define( 'MTS_THEME_INIT', 1 ); RETURN;


Done!


NOTE: Remember that when you install the theme, it will show a list of needed plugins. That list will include "MyThemeShop Theme/Plugin Updater". Do not install that one. It is "needed" for checking the connection to the licensing server. Nothing else.

If it bothers to see it in that list, rip it off by editing this file:

mts-coupon \ functions \ plugin-activation.php

Remove from line #3810 through line #3817

Code being removed:


Code:
array(
            'name'      => 'MyThemeShop Theme/Plugin Updater ',
            'slug'      => 'mythemeshop-connect',
            'description' => __( 'A simple and easy way to update your MyThemeShop themes and plugins to the the latest versions using good old one click method!', 'coupon' ),
            'required'  => false,
            'source'    => 'https://mythemeshop.com/mythemeshop-connect.zip',
            'tab'       => 'both'
        ),
 
Back
Top