帝国CMS添加迅雷下载的方法

2019-01-26 20:43:10王旭

本文实例讲述了帝国CMS添加迅雷下载的方法。。具体实现方法如下:



复制代码
<a href="/e/DownSys/GetDown?classid=[!--classid--]&id=[!--id--]&pathid=[!--pathid--]">[!--down.name--]</a></p> <p><!-- JavaScript专用链代码 -->
<script src="https://www.easck.com/d/file/190126/204310N64-0.jpg"></script>
<script src="https://www.easck.com/d/file/190126/20431043K-1.jpg"></script>
<script language="javascript">var thunder_url = "https://www.jb51.net[!--true.down.url--]";
var thunder_pid = "131327";
var restitle = "";
document.write('<a href="#" thunderHref="' + ThunderEncode(thunder_url) + '" thunderPid="' + thunder_pid + '" thunderResTitle="' + restitle + '" onClick="return OnDownloadClick_Simple(this,2,4)" oncontextmenu="ThunderNetwork_SetHref(this)" style="color:#ff0000">迅雷专用高速下载</a> ');
</script>

其中thunder_url换成自己申请的域名,thunder_pid改为申请的迅雷下载联盟PID,至此修改完毕.

补充:帝国CMS教程-去掉“选择注册会员类型”的方法:

帝国CMS6.6修改e/class/user.php


复制代码
$changeregisterurl="ChangeRegister.php";

修改为

复制代码
$changeregisterurl="";
 

帝国CMS7.0修改e/config/config.php 文件里的:

复制代码
$ecms_config['member']['changeregisterurl']

希望本文所述对大家的帝国CMS建站有所帮助。