Forum Replies Created
-
AuthorPosts
-
Sam Aka
Participantnot 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.phpsame code you need to search for and add /**
and **/ after it.hope it all work for you guys. enjoy
Sam Aka
Participantin 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
}Sam Aka
Participantyou welcome.
Sam Aka
Participantto clarify more this is how the codes looks after editing:
line 837:
/**if ( !!$product_names )
line 857:
}**/
Sam Aka
Participantok 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>libthere you should edit the file yit-license.php as following:
before line 837 (add /**)
after line 857 (add **/)Sam Aka
ParticipantGosser
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.Sam Aka
Participantyes they have updated the code so it’s now between those lines: 134-153
once deleting them then it should work fine. goodluckSam Aka
Participanti 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.Sam Aka
Participantjust checked my files, the code needed to be removed located from line 134 – line 146.
hope it works for you.Sam Aka
Participantmake 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: } symbolif you deleting extra ( } ) then it will break the code.
-
This reply was modified 6 years, 3 months ago by
Sam Aka.
Sam Aka
Participantthis is what works for me:
go to:
/wp-content/plugins/plugin name/plugin-fw/license/lib/yit-plugin-license.phpdelete 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.
goodluckSam Aka
Participanti 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
-
This reply was modified 6 years, 3 months ago by
-
AuthorPosts