dedecms 下載地址加迅雷專用鏈的操作方法 比較全
發(fā)布時間:2010-01-20 00:40:02 作者:佚名
我要評論

織夢dedecms5.5加迅雷專用鏈的操作說明(鏈接到跳轉(zhuǎn)頁面加專用鏈)
特別注意?。。。。。。。。。。。?!
一. 用管理員賬號登陸dedecms5.5后臺管理系統(tǒng)
二. 點(diǎn)擊 “系統(tǒng)” –》 “軟件頻道設(shè)置”
三. 在軟件頻道設(shè)置面里面找到“附件下載方式”,千萬要注意以下三點(diǎn):
1) 如果你的網(wǎng)站管理系統(tǒng)里面是選的“鏈接到真實(shí)軟件地址”這個選項,你就按照附件里面提供的“鏈接到真實(shí)軟件地址加專用鏈”文件夾下的說明文檔操作吧。
2) 如果你的網(wǎng)站管理系統(tǒng)里面選的是“鏈接到跳轉(zhuǎn)頁面”這個選項,你就按照附件里面提供的“鏈接到跳轉(zhuǎn)頁面加專用鏈”文件夾下的說明文檔操作吧。
3) 因?yàn)?ldquo;鏈接到真實(shí)軟件地址加專用鏈”和“鏈接到跳轉(zhuǎn)頁面加專用鏈”這兩個文件夾下提供的操作說明文檔是不一樣的,你要根據(jù)你網(wǎng)站管理系統(tǒng)的設(shè)置,選擇對應(yīng)的修改說明文檔,千萬不要選錯了!
四.把文章模塊的下載鏈接轉(zhuǎn)換成專用鏈的修改方法請按照“修改文章模塊的改法”這個里面提供的改法修改。
部分化修改方法:
1.部分迅雷化:是保留你的本地資源下載鏈接,在你的本地資源下載鏈接的旁邊單獨(dú)添加一個迅雷專用鏈接。
2.部分迅雷化,需要修改templets\system\channel_downlinks.htm和\plus\download.php這2個文件,打開這個templets\system\channel_downlinks.htm文件,找到以下代碼:
<li><a href="~link~" target="_blank">~server~</a></li>
在這句代碼的前面加上以下代碼:
<li><a target=_blank href='~link~&flag=1'><font color=red>迅雷專用高速下載</font></a></li>
3.templets\system\channel_downlinks.htm這個文件修改完畢,詳情請查看附件里面的channel_downlinks.htm這個文件。
4.打開\plus\download.php這個文件:
A) 找到以下代碼:
require_once(DEDEINC."/channelunit.class.php");
在這句代碼的下面加上以下代碼:
$flag=(int)$_GET['flag'];
B) 找到以下代碼:
header("location:$link");
把這句代碼替換成以下代碼:
if ($flag == 1)
{
$thunderPrefix="AA";
$thunderPosix="ZZ";
$thunderTitle="thunder://";
$name = $link;
$pan = "://";
$con = explode($pan,$name);
if (count($con)>1)
{
$thunderUrl=$thunderTitle.base64_encode($thunderPrefix.$link.$thunderPosix);
}
else
{
$thunderUrl=$thunderTitle.base64_encode($thunderPrefix."http://localhost:6070/dedecms55/".$link.$thunderPosix);
}
echo "<script src='http://pstatic.xunlei.com/js/webThunderDetect.js'></script><script>OnDownloadClick('".$thunderUrl."','',location.href,'92922',2,'')</script>";
echo "<script>window.opener=null;window.close();</script>";
}
else
{
header("location:$link");
}
C) 找到以下代碼:
header("location:{$softUrl}");
把這句代碼替換成以下代碼:
if ($flag == 1)
{
$thunderPrefix="AA";
$thunderPosix="ZZ";
$thunderTitle="thunder://";
$name = $softUrl;
$pan = "://";
$con = explode($pan,$name);
if (count($con)>1)
{
$thunderUrl=$thunderTitle.base64_encode($thunderPrefix.$softUrl.$thunderPosix);
}
else
{
$thunderUrl=$thunderTitle.base64_encode($thunderPrefix."http://localhost:6070/dedecms55/".$softUrl.$thunderPosix);
}
echo "<script src='http://pstatic.xunlei.com/js/webThunderDetect.js'></script><script>OnDownloadClick('".$thunderUrl."','',location.href,'92922',2,'')</script>";
echo "<script>window.opener=null;window.close();</script>";
}
else
{
header("location:{$softUrl}");
}
注意:
1)把以上所有代碼里面的“http://localhost:6070/dedecms55/”這個全部修改成你自己的域名。
2)把 <script>OnDownloadClick('".$thunderUrl."','',location.href,'92922',2,'')</script>這句里面的92922修改成你自己的聯(lián)盟號
5.download.php這個文件修改完畢,詳情請查看附件里面的download.php文件。
6.覆蓋說明:
1)用修改好的download.php這個文件覆蓋你網(wǎng)站管理系統(tǒng)里面的\plus\download.php這個文件。
2)用修改好的channel_downlinks.htm這個文件覆蓋系統(tǒng)里面的templets\system\channel_downlinks.htm這個文件。
3)覆蓋后全部重新生成一下就可以了。
全部迅雷化的改法
1.全部迅雷化:是把你網(wǎng)站上的所有資源下載鏈接都轉(zhuǎn)換成迅雷專用鏈接。
2.全部迅雷化只需要修改\plus\download.php這個文件就可以了。
3.打開\plus\download.php這個文件:
A) 找到以下代碼:
header("location:$link");
把這句代碼替換成以下代碼:
$thunderPrefix="AA";
$thunderPosix="ZZ";
$thunderTitle="thunder://";
$name = $link;
$pan = "://";
$con = explode($pan,$name);
if (count($con)>1)
{
$thunderUrl=$thunderTitle.base64_encode($thunderPrefix.$link.$thunderPosix);
}
else
{
$thunderUrl=$thunderTitle.base64_encode($thunderPrefix."http://localhost:6070/dedecms55/".$link.$thunderPosix);
}
echo "<script src='http://pstatic.xunlei.com/js/webThunderDetect.js'></script><script>OnDownloadClick('".$thunderUrl."','',location.href,'92922',2,'')</script>";
echo "<script>window.opener=null;window.close();</script>";
B) 找到以下代碼:
header("location:{$softUrl}");
把這句代碼替換成以下代碼:
$thunderPrefix="AA";
$thunderPosix="ZZ";
$thunderTitle="thunder://";
$name = $softUrl;
$pan = "://";
$con = explode($pan,$name);
if (count($con)>1)
{
$thunderUrl=$thunderTitle.base64_encode($thunderPrefix.$softUrl.$thunderPosix);
}
else
{
$thunderUrl=$thunderTitle.base64_encode($thunderPrefix."http://localhost:6070/dedecms55/".$softUrl.$thunderPosix);
}
echo "<script src='http://pstatic.xunlei.com/js/webThunderDetect.js'></script><script>OnDownloadClick('".$thunderUrl."','',location.href,'92922',2,'')</script>";
echo "<script>window.opener=null;window.close();</script>";
注意:
1)把以上所有代碼里面的“http://localhost:6070/dedecms55/”這個全部修改成你自己的域名。
2)把 <script>OnDownloadClick('".$thunderUrl."','',location.href,'92922',2,'')</script>這句里面的92922修改成你自己的聯(lián)盟號
4.download.php這個文件修改完畢,詳情請查看附件里面的download.php文件。
5.覆蓋說明:
1)用修改好的download.php這個文件覆蓋你網(wǎng)站管理系統(tǒng)里面的\plus\download.php這個文件。
2)覆蓋后全部重新生成一下就可以了。
以上附件打包下載
一. 用管理員賬號登陸dedecms5.5后臺管理系統(tǒng)
二. 點(diǎn)擊 “系統(tǒng)” –》 “軟件頻道設(shè)置”
三. 在軟件頻道設(shè)置面里面找到“附件下載方式”,千萬要注意以下三點(diǎn):
1) 如果你的網(wǎng)站管理系統(tǒng)里面是選的“鏈接到真實(shí)軟件地址”這個選項,你就按照附件里面提供的“鏈接到真實(shí)軟件地址加專用鏈”文件夾下的說明文檔操作吧。
2) 如果你的網(wǎng)站管理系統(tǒng)里面選的是“鏈接到跳轉(zhuǎn)頁面”這個選項,你就按照附件里面提供的“鏈接到跳轉(zhuǎn)頁面加專用鏈”文件夾下的說明文檔操作吧。
3) 因?yàn)?ldquo;鏈接到真實(shí)軟件地址加專用鏈”和“鏈接到跳轉(zhuǎn)頁面加專用鏈”這兩個文件夾下提供的操作說明文檔是不一樣的,你要根據(jù)你網(wǎng)站管理系統(tǒng)的設(shè)置,選擇對應(yīng)的修改說明文檔,千萬不要選錯了!
四.把文章模塊的下載鏈接轉(zhuǎn)換成專用鏈的修改方法請按照“修改文章模塊的改法”這個里面提供的改法修改。
部分化修改方法:
1.部分迅雷化:是保留你的本地資源下載鏈接,在你的本地資源下載鏈接的旁邊單獨(dú)添加一個迅雷專用鏈接。
2.部分迅雷化,需要修改templets\system\channel_downlinks.htm和\plus\download.php這2個文件,打開這個templets\system\channel_downlinks.htm文件,找到以下代碼:
<li><a href="~link~" target="_blank">~server~</a></li>
在這句代碼的前面加上以下代碼:
<li><a target=_blank href='~link~&flag=1'><font color=red>迅雷專用高速下載</font></a></li>
3.templets\system\channel_downlinks.htm這個文件修改完畢,詳情請查看附件里面的channel_downlinks.htm這個文件。
4.打開\plus\download.php這個文件:
A) 找到以下代碼:
require_once(DEDEINC."/channelunit.class.php");
在這句代碼的下面加上以下代碼:
$flag=(int)$_GET['flag'];
B) 找到以下代碼:
header("location:$link");
把這句代碼替換成以下代碼:
if ($flag == 1)
{
$thunderPrefix="AA";
$thunderPosix="ZZ";
$thunderTitle="thunder://";
$name = $link;
$pan = "://";
$con = explode($pan,$name);
if (count($con)>1)
{
$thunderUrl=$thunderTitle.base64_encode($thunderPrefix.$link.$thunderPosix);
}
else
{
$thunderUrl=$thunderTitle.base64_encode($thunderPrefix."http://localhost:6070/dedecms55/".$link.$thunderPosix);
}
echo "<script src='http://pstatic.xunlei.com/js/webThunderDetect.js'></script><script>OnDownloadClick('".$thunderUrl."','',location.href,'92922',2,'')</script>";
echo "<script>window.opener=null;window.close();</script>";
}
else
{
header("location:$link");
}
C) 找到以下代碼:
header("location:{$softUrl}");
把這句代碼替換成以下代碼:
if ($flag == 1)
{
$thunderPrefix="AA";
$thunderPosix="ZZ";
$thunderTitle="thunder://";
$name = $softUrl;
$pan = "://";
$con = explode($pan,$name);
if (count($con)>1)
{
$thunderUrl=$thunderTitle.base64_encode($thunderPrefix.$softUrl.$thunderPosix);
}
else
{
$thunderUrl=$thunderTitle.base64_encode($thunderPrefix."http://localhost:6070/dedecms55/".$softUrl.$thunderPosix);
}
echo "<script src='http://pstatic.xunlei.com/js/webThunderDetect.js'></script><script>OnDownloadClick('".$thunderUrl."','',location.href,'92922',2,'')</script>";
echo "<script>window.opener=null;window.close();</script>";
}
else
{
header("location:{$softUrl}");
}
注意:
1)把以上所有代碼里面的“http://localhost:6070/dedecms55/”這個全部修改成你自己的域名。
2)把 <script>OnDownloadClick('".$thunderUrl."','',location.href,'92922',2,'')</script>這句里面的92922修改成你自己的聯(lián)盟號
5.download.php這個文件修改完畢,詳情請查看附件里面的download.php文件。
6.覆蓋說明:
1)用修改好的download.php這個文件覆蓋你網(wǎng)站管理系統(tǒng)里面的\plus\download.php這個文件。
2)用修改好的channel_downlinks.htm這個文件覆蓋系統(tǒng)里面的templets\system\channel_downlinks.htm這個文件。
3)覆蓋后全部重新生成一下就可以了。

全部迅雷化的改法
1.全部迅雷化:是把你網(wǎng)站上的所有資源下載鏈接都轉(zhuǎn)換成迅雷專用鏈接。
2.全部迅雷化只需要修改\plus\download.php這個文件就可以了。
3.打開\plus\download.php這個文件:
A) 找到以下代碼:
header("location:$link");
把這句代碼替換成以下代碼:
$thunderPrefix="AA";
$thunderPosix="ZZ";
$thunderTitle="thunder://";
$name = $link;
$pan = "://";
$con = explode($pan,$name);
if (count($con)>1)
{
$thunderUrl=$thunderTitle.base64_encode($thunderPrefix.$link.$thunderPosix);
}
else
{
$thunderUrl=$thunderTitle.base64_encode($thunderPrefix."http://localhost:6070/dedecms55/".$link.$thunderPosix);
}
echo "<script src='http://pstatic.xunlei.com/js/webThunderDetect.js'></script><script>OnDownloadClick('".$thunderUrl."','',location.href,'92922',2,'')</script>";
echo "<script>window.opener=null;window.close();</script>";
B) 找到以下代碼:
header("location:{$softUrl}");
把這句代碼替換成以下代碼:
$thunderPrefix="AA";
$thunderPosix="ZZ";
$thunderTitle="thunder://";
$name = $softUrl;
$pan = "://";
$con = explode($pan,$name);
if (count($con)>1)
{
$thunderUrl=$thunderTitle.base64_encode($thunderPrefix.$softUrl.$thunderPosix);
}
else
{
$thunderUrl=$thunderTitle.base64_encode($thunderPrefix."http://localhost:6070/dedecms55/".$softUrl.$thunderPosix);
}
echo "<script src='http://pstatic.xunlei.com/js/webThunderDetect.js'></script><script>OnDownloadClick('".$thunderUrl."','',location.href,'92922',2,'')</script>";
echo "<script>window.opener=null;window.close();</script>";
注意:
1)把以上所有代碼里面的“http://localhost:6070/dedecms55/”這個全部修改成你自己的域名。
2)把 <script>OnDownloadClick('".$thunderUrl."','',location.href,'92922',2,'')</script>這句里面的92922修改成你自己的聯(lián)盟號
4.download.php這個文件修改完畢,詳情請查看附件里面的download.php文件。
5.覆蓋說明:
1)用修改好的download.php這個文件覆蓋你網(wǎng)站管理系統(tǒng)里面的\plus\download.php這個文件。
2)覆蓋后全部重新生成一下就可以了。

以上附件打包下載
相關(guān)文章
織夢dedecms安全漏洞include/common.inc.php漏洞解決方法
據(jù)悉DEDECMS的全局變量初始化存在漏洞,可以任意覆蓋任意全局變量,下面是具體的解決方法,需要的朋友可以參考下2021-05-13織夢DEDECMS建立模型、簡單分表、索引優(yōu)化操作方法
最近因?yàn)槭褂玫膁ede系統(tǒng)考慮后期數(shù)據(jù)量大的問題,所以提前將dedecms優(yōu)化一下,應(yīng)對后期數(shù)據(jù)量大導(dǎo)致后臺卡等問題,這里為大家分享一下,主要是思路對于新版本的dedecms需要2021-05-12DedeCMS大數(shù)據(jù)負(fù)載性能優(yōu)化方案(簡單幾招讓你提速N倍)
今天我們分享一下DedeCMS數(shù)據(jù)負(fù)載性能優(yōu)化的方法,因?yàn)槟壳?0w條記錄,導(dǎo)致站點(diǎn)后臺查詢慢,生成HTML也很吃力,經(jīng)過下面的優(yōu)化確實(shí)可以提升不少2021-05-12mysql織夢索引優(yōu)化之MySQL Order By索引優(yōu)化
最近基于mysql數(shù)據(jù)庫的織夢系統(tǒng)查詢與生成靜態(tài)頁面比較慢,所以想優(yōu)化一下索引試試能不能提高一下執(zhí)行效率下面是具體的實(shí)現(xiàn)步驟,需要的朋友可以參考一下2021-05-12織夢dedecms頁面空白后開啟錯誤信息提示功能方便調(diào)試錯誤
織夢后臺空白、織夢后臺左側(cè)空白等相關(guān)問題,如果沒有報錯提示信息,不顯示任何內(nèi)容,對新手來說摸不著頭腦,無從下手,開啟織夢錯誤信息提示錯誤調(diào)試設(shè)置,讓程序告訴我們2021-05-12織夢DedeCMS 分表實(shí)現(xiàn)一個欄目對應(yīng)一個表(圖)
最近考慮用dedecms做個大數(shù)據(jù)量的網(wǎng)站,為什么用dedecms呢因?yàn)檫@個系統(tǒng)特別好用,但負(fù)載是軟肋,很多功能只能自己動手實(shí)現(xiàn)了,下面就為大家分享一下具體的方法2021-05-12- 這篇文章主要介紹了加固版織夢CMS整站源碼通用安裝教程,本文給大家介紹的非常詳細(xì),對大家的學(xué)習(xí)或工作具有一定的參考借鑒價值,需要的朋友可以參考下2021-03-17
織夢DEDECMS robots優(yōu)化設(shè)置的具體方法
這篇文章主要介紹了織夢DEDECMS robots優(yōu)化設(shè)置的具體方法,DEDECMS自帶的robots.txt文件設(shè)置很簡單,并不能完全滿足網(wǎng)站的優(yōu)化要求,需要的朋友可以參考下本篇方法2020-12-02Dedecms網(wǎng)站Title標(biāo)簽SEO優(yōu)化方法
這篇文章主要介紹了Dedecms網(wǎng)站Title標(biāo)簽SEO優(yōu)化方法,主要涉及到如何實(shí)現(xiàn)"三級欄目_二級欄目_一級欄目_網(wǎng)站名稱"的問題,需要的朋友可以參考下小編的方法2020-12-02dedecms文章關(guān)鍵字(自動內(nèi)鏈)php5.5以上版本urf-8失效的解決方法
這篇文章主要為大家詳細(xì)介紹了dedecms文章關(guān)鍵字(自動內(nèi)鏈)php5.5以上版本urf-8失效的解決方法,具有一定的參考價值,感興趣的小伙伴們可以參考一下,有需要的朋友可以收藏2020-11-18