[string global_cpnav_top]
设为首页收藏本站[string global_cpnav_extra1]
[string global_cpnav_extra2]切换到宽版
[ad headerbanner/wp a_h]

 找回密码
 立即注册
[string global_login_extra]

QQ登录

只需一步,快速开始

[ad subnavbanner/a_mu]
搜索
[string global_header]
[string viewthread_top] [ad text/wp a_t]
返回列表 发新帖[string viewthread_postbutton_top]
[string viewthread_beginline]
查看: 4149|回复: 0

[教程] DZ bbs 6.1 加迅雷下载联盟代码方法

[复制链接] [string viewthread_title_extra]
[string viewthread_title_row]
[array viewthread_avatartop/0]
[array viewthread_avatar/0]
  • 打卡等级:本地老炮
[array viewthread_sidetop/0]

9337

威望

7452

金钱

1万

贡献

管理员

自由的灵魂

积分
107438
主题
5631
回帖
26662
注册时间
2003-4-10
最后登录
2026-10-2
[array viewthread_sidebottom/0]
发表于 2008-11-11 10:11:52 | 显示全部楼层 |阅读模式 [array viewthread_postheader/0]
[ad thread/a_pt/2/0]
[array viewthread_posttop/0]
[ad thread/a_pr/3/0]

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册 [string global_login_text]

×
  1. Discuz!6.1迅雷专用链改法
  2. Discuz!_6.1全部迅雷化操作说明:1.找到discuzcode.htm和viewthread.htm这两个文件,文件路径为:templates/default/ discuzcode.htm , templates/default/ viewthread.htm
  3. 2.先改viewthread.htm这个文件,打开这个文件找到以下代码:
  4. 复制内容到剪贴板
  5. 代码:
  6. <script type="text/javascript" src="include/javascript/viewthread.js"></script>
  7. <script type="text/javascript">zoomstatus = parseInt($zoomstatus);</script>
  8. 在这个后面加上以下代码:
  9. 复制内容到剪贴板
  10. 代码:
  11. <script src='http://pstatic.xunlei.com/js/webThunderDetect.js'></script>
  12. <script src='http://pstatic.xunlei.com/js/base64.js'></script>
  13. <script src='http://pstatic.xunlei.com/js/thunderForumLinker.js'></script>
  14. <script language="javascript">
  15. var thunderPid="15356";//这里改为你自己的联盟号
  16. function outPutThunder()
  17. {
  18. var thunderCh=unescape("%u8FC5%u96F7%u4E13%u7528%u9AD8%u901F%u4E0B%u8F7D");var arg=arguments; var til=""; if(arg[0]=="undefined") return; if(arg[1]!="undefined") til=arg[1]; var th_Pid=""; if(arg[3])th_Pid=arg[3];else if(!isNaN(thunderPid) && thunderPid!="") th_Pid=thunderPid; else return; var th_href=arg[0]; if(th_href.indexOf("://")<=0){if(th_href.substr(0,1)!="/"){var a=document.location.href;th_href=a.substr(0,a.lastIndexOf("/")+1)+th_href;}else{th_href="http://"+document.location.host+th_href;}}

  19. var tagEx=arguments[2]?arguments[2]:'';
  20. var thunderURL=ThunderEncode(th_href);
  21. var thunderRes="";
  22. var thunderName=thunderCh+(til?("_"+til):"");

  23. document.write("<a href="#" thunderHref=""+thunderURL+"" thunderPid=""+th_Pid+"" thunderType="08" thunderResTitle=""+thunderRes+"" onClick="return OnDownloadClick_Simple(this,2);" oncontextmenu="ThunderNetwork_SetHref(this);" title=""+thunderCh+"" "+tagEx+">"+thunderName+"<\/a>");
  24. }
  25. </script>
  26. 3. 打开discuzcode.htm这个文件。

  27. 找到以下代码:
  28. 复制内容到剪贴板
  29. 代码:
  30. <a href="attachment.php?aid=$attach[aid]&k=$k&t=$timestamp&not;humb=yes" class="bold" target="_blank">$attach[filename]</a>
  31. 替换成:
  32. 复制内容到剪贴板
  33. 代码:
  34. <script language="javascript">
  35. outPutThunder("attachment.php?aid=$attach[aid]&k=$k&t=$timestamp&not;humb=yes","$attach[filename]","style="color:red;font-weight:bold;"");
  36. </script>
  37. 找到以下代码:
  38. 复制内容到剪贴板
  39. 代码:
  40. <a href="attachment.php?aid=$attach[aid]&k=$k&t=$timestamp" target="_blank">$attach[filename]</a>
  41. 替换成:
  42. 复制内容到剪贴板
  43. 代码:
  44. <script language="javascript">
  45. outPutThunder("attachment.php?aid=$attach[aid]&k=$k&t=$timestamp","$attach[filename]","style="color:red;font-weight:bold;"");
  46. </script>
  47. 找到以下代码:
  48. 复制内容到剪贴板
  49. 代码:
  50. <a href="attachment.php?aid=$attach[aid]&k=$k&t=$timestamp" target="_blank">[b]$attach[filename][/b]</a>
  51. 替换成:
  52. 复制内容到剪贴板
  53. 代码:
  54. <script language="javascript">
  55. var ss=window.location.protocol;
  56. var s=window.location.host;
  57. var thunder=ss+"//"+s + "/attachment.php?aid=$attach[aid]&k=$k&t=$timestamp";
  58. var thunder_url = thunder;
  59. var thunder_pid = "15356";//这里改为你自己的联盟号
  60. var restitle = "";
  61. document.write('<a href="#" thunderHref="' + ThunderEncode(thunder_url) + '" thunderPid="' + thunder_pid + '" thunderResTitle="' + restitle + '" onClick="return OnDownloadClick_Simple(this,2)" oncontextmenu="ThunderNetwork_SetHref(this)"><font color=red>迅雷专用高速下载_$attach[filename]</font></a> ');
  62. </script>
  63. 找到以下代码:
  64. 复制内容到剪贴板
  65. 代码:
  66. <a href="attachment.php?aid=$attach[aid]&k=$k&t=$timestamp" target="_blank">[b]$attach[filename][/b]</a>
  67. 替换成:
  68. 复制内容到剪贴板
  69. 代码:
  70. <script language="javascript">
  71. var ss=window.location.protocol;
  72. var s=window.location.host;
  73. var thunder=ss+"//"+s + "/attachment.php?aid=$attach[aid]&k=$k&t=$timestamp";
  74. var thunder_url = thunder;
  75. var thunder_pid = "15356";//这里改为你自己的联盟号
  76. var restitle = "";
  77. document.write('<a href="#" thunderHref="' + ThunderEncode(thunder_url) + '" thunderPid="' + thunder_pid + '" thunderResTitle="' + restitle + '" onClick="return OnDownloadClick_Simple(this,2)" oncontextmenu="ThunderNetwork_SetHref(this)"><font color=red>迅雷专用高速下载_$attach[filename]</font></a> ');
  78. </script>
  79. 4.修改完毕,详情请查看discuzcode.htm和viewthread.htm这两个文件
  80. --------------------------------------------------------------------------------------------------------------------
  81. Discuz!_6.1部分迅雷化操作说明:
  82. 1.找到discuzcode.htm和viewthread.htm这两个文件,文件路径为:templates/default/ discuzcode.htm , templates/default/ viewthread.htm
  83. 2.先改viewthread.htm这个文件,打开这个文件找到以下代码:
  84. 复制内容到剪贴板
  85. 代码:
  86. <script type="text/javascript" src="include/javascript/viewthread.js"></script>
  87. <script type="text/javascript">zoomstatus = parseInt($zoomstatus);</script>
  88. 在这个后面加上以下代码:
  89. 复制内容到剪贴板
  90. 代码:
  91. <script src='http://pstatic.xunlei.com/js/webThunderDetect.js'></script>
  92. <script src='http://pstatic.xunlei.com/js/base64.js'></script>
  93. <script src='http://pstatic.xunlei.com/js/thunderForumLinker.js'></script>
  94. <script language="javascript">
  95. var thunderPid="15356";//这里修改成你自己的联盟号
  96. function outPutThunder()
  97. {
  98. var thunderCh=unescape("%u8FC5%u96F7%u4E13%u7528%u9AD8%u901F%u4E0B%u8F7D");var arg=arguments; var til=""; if(arg[0]=="undefined") return; if(arg[1]!="undefined") til=arg[1]; var th_Pid=""; if(arg[3])th_Pid=arg[3];else if(!isNaN(thunderPid) && thunderPid!="") th_Pid=thunderPid; else return; var th_href=arg[0]; if(th_href.indexOf("://")<=0){if(th_href.substr(0,1)!="/"){var a=document.location.href;th_href=a.substr(0,a.lastIndexOf("/")+1)+th_href;}else{th_href="http://"+document.location.host+th_href;}}
  99. var tagEx=arguments[2]?arguments[2]:'';
  100. var thunderURL=ThunderEncode(th_href);
  101. var thunderRes="";
  102. var thunderName=thunderCh+(til?("_"+til):"");
  103. document.write("<a href="#" thunderHref=""+thunderURL+"" thunderPid=""+th_Pid+"" thunderType="08" thunderResTitle=""+thunderRes+"" onClick="return OnDownloadClick_Simple(this,2);" oncontextmenu="ThunderNetwork_SetHref(this);" title=""+thunderCh+"" "+tagEx+">"+thunderName+"<\/a>");
  104. }
  105. var thunderAppend=true;
  106. </script>
  107. 3. 打开discuzcode.htm这个文件。

  108. 找到以下代码:
  109. 复制内容到剪贴板
  110. 代码:
  111. <a href="attachment.php?aid=$attach[aid]&k=$k&t=$timestamp&not;humb=yes" class="bold" target="_blank">$attach[filename]</a>
  112. 在这个前面加上
  113. 复制内容到剪贴板
  114. 代码:
  115. <script language="javascript">
  116. outPutThunder("attachment.php?aid=$attach[aid]&k=$k&t=$timestamp&not;humb=yes","$attach[filename]","style="color:red;font-weight:bold;"");
  117. </script>
  118. [/p]
  119. $attach[attachicon]
  120. 找到以下代码:
  121. 复制内容到剪贴板
  122. 代码:
  123. <a href="attachment.php?aid=$attach[aid]&k=$k&t=$timestamp" target="_blank">$attach[filename]</a>
  124. 在这个前面加上
  125. 复制内容到剪贴板
  126. 代码:
  127. <script language="javascript">
  128. outPutThunder("attachment.php?aid=$attach[aid]&k=$k&t=$timestamp","$attach[filename]","style="color:red;font-weight:bold;"");
  129. </script>
  130. [/p]
  131. $attach[attachicon]
  132. 找到以下代码:
  133. 复制内容到剪贴板
  134. 代码:
  135. <a href="attachment.php?aid=$attach[aid]&k=$k&t=$timestamp" target="_blank">[b]$attach[filename][/b]</a>
  136. 在这个前面加上:
  137. 复制内容到剪贴板
  138. 代码:
  139. <script language="javascript">
  140. var ss=window.location.protocol;
  141. var s=window.location.host;
  142. var thunder=ss+"//"+s + "/attachment.php?aid=$attach[aid]&k=$k&t=$timestamp";
  143. var thunder_url = thunder;
  144. var thunder_pid = "15356";//这里改为你自己的联盟号
  145. var restitle = "";
  146. document.write('<a href="#" thunderHref="' + ThunderEncode(thunder_url) + '" thunderPid="' + thunder_pid + '" thunderResTitle="' + restitle + '" onClick="return OnDownloadClick_Simple(this,2)" oncontextmenu="ThunderNetwork_SetHref(this)"><font color=red>迅雷专用高速下载_$attach[filename]</font></a> ');
  147. </script>

  148. 找到以下代码:
  149. 复制内容到剪贴板
  150. 代码:
  151. <a href="attachment.php?aid=$attach[aid]&k=$k&t=$timestamp" target="_blank">[b]$attach[filename][/b]</a>
  152. 在这个前面加上:
  153. 复制内容到剪贴板
  154. 代码:
  155. <script language="javascript">
  156. var ss=window.location.protocol;
  157. var s=window.location.host;
  158. var thunder=ss+"//"+s + "/attachment.php?aid=$attach[aid]&k=$k&t=$timestamp";
  159. var thunder_url = thunder;
  160. var thunder_pid = "15356";//这里改为你自己的联盟号
  161. var restitle = "";
  162. document.write('<a href="#" thunderHref="' + ThunderEncode(thunder_url) + '" thunderPid="' + thunder_pid + '" thunderResTitle="' + restitle + '" onClick="return OnDownloadClick_Simple(this,2)" oncontextmenu="ThunderNetwork_SetHref(this)"><font color=red>迅雷专用高速下载_$attach[filename]</font></a> ');
  163. </script>

  164. 4.修改完毕
复制代码
[array viewthread_postbottom/0]
不懂就搜!点此搜点拨论坛。如果本坛没有,请尝试点此问AI,或跟帖提问。
发帖前注意看置顶帖。
不定期借助AI对点拨论坛陈年老帖进行挖坟回复,打扰勿怪!
[array viewthread_postsightmlafter/0][ad thread/a_pb/1/0]
书山有路勤为径,学海无涯苦作舟。
回复 [array viewthread_postfooter/0]

使用道具 举报 [array viewthread_postaction/0]

[array viewthread_endline/0]
[string viewthread_middle]
[string viewthread_fastpost_side] [string viewthread_fastpost_content]
[string viewthread_fastpost_func_extra]高级模式 [string viewthread_fastpost_ctrl_extra]
您需要登录后才可以回帖 登录 | 立即注册 [string global_login_text]

本版积分规则 [string viewthread_fastpost_btn_extra]

[string viewthread_bottom]
[ad footerbanner/wp a_f/1][ad footerbanner/wp a_f/2][ad footerbanner/wp a_f/3][ad float/a_fl/1][ad float/a_fr/2][ad couplebanner/a_fl a_cb/1][ad couplebanner/a_fr a_cb/2][ad cornerbanner/a_cn][string global_footer]

QQ|手机版|小黑屋|点拨论坛 [string global_footerlink]|网站地图

GMT+8, 2026-10-2 13:38 , Processed in 0.037515 second(s), 3 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表