FTP upload to the root directory, and then install the template in the background interface style. If it prompts that it cannot be installed, please read the following content!
After the discuz community updated to 2.0 or above, it added version detection for plug-ins. During installation, a prompt may appear: "Sorry, you are not installing a genuine application, and the installation program cannot continue." It is actually quite easy to solve this problem. , the following files were found:
/source/function/function_cloudaddons.php
Find the cloudaddons_validator process in the file, comment out the middle prompt, and change it to something like the following and you're done. .
function cloudaddons_validator($addonid) {
$array = cloudaddons_getmd5($addonid);
if(cloudaddons_open('&mod=app&ac=validator&addonid='.$addonid.($array !== false ? '&rid='.$array['RevisionID'].'&sn='.$array['SN']. '&rd='.$array['RevisionDateline'] : '')) === '0') {
/**
cpmsg('cloudaddons_genuine_message', '', 'error', array('addonid' => $addonid));
*/
}
}
Expand