Home >CMS Tutorial >Empire CMS >How to add Thunder downloads to Imperial CMS

How to add Thunder downloads to Imperial CMS

silencement
silencementforward
2019-11-26 14:39:582039browse

How to add Thunder downloads to Imperial CMS

The example in this article describes the method of adding Thunder downloads to Empire CMS. Share it with everyone for your reference. The specific implementation method is as follows:

The code is as follows:

<a href="/e/DownSys/GetDown?classid=[!--classid--]&id=[!--id--]&pathid=[!--pathid--]">[!--down.name--]</a></p>
 <p><!-- JavaScript专用链代码 -->
<script src="http://pstatic.xunlei.com/js/webThunderDetect.js"></script>
<script src="http://pstatic.xunlei.com/js/base64.js"></script>
<script language="javascript">var thunder_url = "https://www.jb51.net[!--true.down.url--]";
var thunder_pid = "131327";
var restitle = "";
document.write(&#39;<a href="#" thunderHref="&#39; + ThunderEncode(thunder_url) + &#39;" thunderPid="&#39; + thunder_pid + &#39;"
 thunderResTitle="&#39; + restitle + &#39;" onClick="return OnDownloadClick_Simple(this,2,4)" oncontextmenu="
 ThunderNetwork_SetHref(this)" style="color:#ff0000">迅雷专用高速下载</a> &#39;);
</script>

It is recommended to study "Empire cms tutorial"

where thunder_url is replaced with the domain name you applied for, thunder_pid Change to the applied Thunder Download Alliance PID, and the modification is completed.

Supplementary: Empire CMS Tutorial-How to remove "Select Registration Member Type":

Empire CMS6.6 Modification e/class/ user.php

code is as follows:

$changeregisterurl="ChangeRegister.php";

is modified to

code is as follows:

$changeregisterurl="";

Empire CMS7.0 modified e/config/config The code in the .php file:

is as follows:

$ecms_config[&#39;member&#39;][&#39;changeregisterurl&#39;]

I hope this article will be helpful to everyone’s Imperial CMS website building.

The above is the detailed content of How to add Thunder downloads to Imperial CMS. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:www.word666.com. If there is any infringement, please contact admin@php.cn delete