Forum Replies Created

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • in reply to: YITH premium plugin activation #21527
    Sam Aka
    Participant

    not all of their plugins have been updated with the latest framework, so in some plugins you won’t find the folder called plugin-upgrade. in this case the older trick still applies which editing the file in:
    plugin-name/plugin-fw/licence/lib/yit-plugin-licence.php

    same code you need to search for and add /**
    and **/ after it.

    hope it all work for you guys. enjoy

    in reply to: YITH premium plugin activation #21526
    Sam Aka
    Participant

    in case they try to change the code order so you need to know what code to edit in that file instead of relying on line numbers, so here is the code which we need to comment out by adding /** before it and **/ after it.
    the code is:

    if ( !!$product_names ) {
    $start = '<span style="display:inline-block; padding:3px 10px; margin: 0 10px 10px 0; background: #f1f1f1; border-radius: 4px;">';
    $end = '</span>';
    $product_list = '' . $start . implode( $end . $start, $product_names ) . $end . '';
    $activation_url = $this->lru_esnecil_teg();
    $c = str_replace( '##y2cgKsAXLQ##', '', '##y2cgKsAXLQ##y##y2cgKsAXLQ##i##y2cgKsAXLQ##t##y2cgKsAXLQ##h##y2cgKsAXLQ##-l##y2cgKsAXLQ##i##y2cgKsAXLQ##c##y2cgKsAXLQ##e##y2cgKsAXLQ##n##y2cgKsAXLQ##s##y2cgKsAXLQ##e##y2cgKsAXLQ##-##y2cgKsAXLQ##n##y2cgKsAXLQ##o##y2cgKsAXLQ##t##y2cgKsAXLQ##i##y2cgKsAXLQ##c##y2cgKsAXLQ##e##y2cgKsAXLQ##' );
    ?>
    ">

    %s %s:', _x( 'Warning!', "[Part of]: Warning! You didn't set license key for the following products:[Plugins List] which means you're missing out on updates and support. Enter your license key, please.", 'yith-plugin-upgrade-fw' ), _x( "You didn't set license key for the following YITH products", "[Part of]: Warning! You didn't set license key for the following products:[Plugins List] which means you're missing out on updates and support. Enter your license key, please.",'yith-plugin-upgrade-fw' ) ); ?>

    %s, %s",
    _x( "which means you're missing out on updates and support", "[Part of]: Warning! You didn't set license key for the following products:[Plugins List] which means you're missing out on updates and support. Enter your license key, please.", 'yith-plugin-upgrade-fw' ),
    $activation_url,
    _x( 'Enter your license key', "[Part of]: Warning! You didn't set license key for the following products:[Plugins List] which means you're missing out on updates and support. Enter your license key, please.", 'yith-plugin-upgrade-fw' ),
    _x( 'please', "[Part of]: Warning! You didn't set license key for the following products:[Plugins List] which means you're missing out on updates and support. Enter your license key, please.", 'yith-plugin-upgrade-fw' )
    ); ?>

    <?php
    }

    in reply to: YITH premium plugin activation #21501
    Sam Aka
    Participant

    you welcome.

    in reply to: YITH premium plugin activation #21491
    Sam Aka
    Participant

    to clarify more this is how the codes looks after editing:
    line 837:
    /**if ( !!$product_names )

    line 857:
    }**/

    in reply to: YITH premium plugin activation #21490
    Sam Aka
    Participant

    ok everyone, looks like they have changed their code again. so this is how we work around it in the last versions as of July 2019 versions:

    inside the Yith plugin root folder go to:
    plugin-upgrade>lib

    there you should edit the file yit-license.php as following:

    before line 837 (add /**)
    after line 857 (add **/)

    in reply to: YITH premium plugin activation #21118
    Sam Aka
    Participant

    Gosser
    in your method it will disable the check for update notification as well as being checked for update in the WP update plugins page!!! i don’t recommend that because you still want to be notified when there is an update available so you can come here gpldl.com and download the update, all what the users want is just to disable and hide the nag screen about license activation only. at least this is my opinion but it’s up to you.

    in reply to: YITH premium plugin activation #21117
    Sam Aka
    Participant

    yes they have updated the code so it’s now between those lines: 134-153
    once deleting them then it should work fine. goodluck

    in reply to: YITH premium plugin activation #20888
    Sam Aka
    Participant

    i never used the wp plugin editor. i access the file from the host cPanel and edit it from there. i noticed in all YITH plugins it’s all from line 134-146.
    i’m glad it works for you, but remember you have to do this in every YITH plugin installed.

    in reply to: YITH premium plugin activation #20858
    Sam Aka
    Participant

    just checked my files, the code needed to be removed located from line 134 – line 146.
    hope it works for you.

    in reply to: YITH premium plugin activation #20856
    Sam Aka
    Participant

    make sure to edit and save the file in utf-8 encoding. also make sure you not missing any line so delete from where it says: If
    to the: } symbol

    if you deleting extra ( } ) then it will break the code.

    • This reply was modified 5 years, 2 months ago by Sam Aka.
    in reply to: YITH premium plugin activation #20824
    Sam Aka
    Participant

    this is what works for me:
    go to:
    /wp-content/plugins/plugin name/plugin-fw/license/lib/yit-plugin-license.php

    delete the entire following code:

    if ( !!$product_names ) {
    $start = '<span style="display:inline-block; padding:3px 10px; margin: 0 10px 10px 0; background: #f1f1f1; border-radius: 4px;">';
    $end = '</span>';
    $product_list = '' . $start . implode( $end . $start, $product_names ) . $end . '';
    $activation_url = self::get_license_activation_url();
    ?>

    Warning! You didn't set license key for the following products:

    which means you're missing out on updates and support. '>Enter your license key, please.

    <?php
    }

    by doing this, the nag message will stop completely. but you have to do that in every YITH plugin you have installed.
    goodluck

    in reply to: need to update divi #20823
    Sam Aka
    Participant

    i could download the v3.19.3 which is the current one from my ElegantThemes account, but how can i contribute it to here? should i just upload it to a sharing server and publish the link here or i should give the link only to the admins here via private message? i’m asking because i don’t want to break your rules here. Thanks

Viewing 12 posts - 1 through 12 (of 12 total)