52ky 发表于 2021-12-18 16:49:58

解决最新版discuz安装模板插件提示“对不起,您安装的不是正版应用”

最新版的Discuz3.4 在安装模板或者插件的时候提示“对不起,您安装的不是正版应用”,需要修改以下几个地方:
1、source\function\function_cloudaddons.php120行,去掉以下代码cpmsg('cloudaddons_genuine_message', '', 'error', array('addonid' => $addonid));
2、source\admincp\admincp_styles.php283行,去掉以下代码cpmsg('clo'.'uda'.'ddon'.'s_gen'.'uine_'.'mes'.'sage', '', 'error', array('addonid' => $addonid));
3、source\admincp\admincp_plugins.php419行,去掉以下代码cpmsg('c'.'lou'.'dad'.'dons'.'_genu'.'ine_m'.'essa'.'ge', '', 'error', array('addonid' => $addonid));
完成以上修改即可!
(The latest version of Discuz3.4 prompts "Sorry, you are not a genuine application" when installing a template or plug-in. You need to modify the following points:
1. Source\function\function_cloudaddons.php 120 lines, remove the following codecpmsg('cloudaddons_genuine_message','','error', array('addonid' => $addonid));
2. Line 283 of source\admincp\admincp_styles.php, remove the following codecpmsg('clo'.'uda'.'ddon'.'s_gen'.'uine_'.'mes'.'sage','','error', array('addonid' => $addonid));
3. Line 419 of source\admincp\admincp_plugins.php, remove the following codecpmsg('c'.'lou'.'dad'.'dons'.'_genu'.'ine_m'.'essa'.'ge','','error', array('addonid' => $addonid ));
Just complete the above modification!)

页: [1]
查看完整版本: 解决最新版discuz安装模板插件提示“对不起,您安装的不是正版应用”