Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the operation method of dedecms download address plus Xunlei dedicated chain

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail about the operation of the dedecms download address plus Xunlei dedicated chain. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.

Dedecms download address plus Xunlei dedicated chain how to operate?

Dream weaving dedecms5.5 plus Thunderbolt special chain operation instructions (link to jump page plus special chain)

Pay special attention!

One. Log in to the dedecms5.5 background management system with the administrator account

Two. Click "system"-"Software Channel Settings"

Three. To find the "attachment download method" in the software channel settings, be sure to pay attention to the following three points:

1) if the option "link to real software address" is selected in your website management system, follow the instructions under the "link to real software address plus dedicated link" folder provided in the attachment.

2) if the option "Link to Jump Page" is selected in your website management system, follow the instructions under the "Link to Jump Page plus dedicated Link" folder provided in the attachment.

3) because the operation instructions provided under the two folders of "Link to real software address plus dedicated chain" and "Link to jump page plus dedicated chain" are not the same, you should choose the corresponding modification documentation according to the settings of your website management system. Don't make a mistake!

Four. for the modification method of converting the download link of the article module into a dedicated chain, please follow the modification provided in "modifying the reform of the article module".

Partial modification method:

1. Partial Thunderbolt: keep your local resource download link and add a separate Thunderbolt dedicated link next to your local resource download link.

two。 Partial thunderstorm. You need to modify the two files templets\ system\ channel_downlinks.htm and\ plus\ download.php. Open the templets\ system\ channel_downlinks.htm file and find the following code:

~ server~

Add the following code to the front of this code:

High-speed download for Thunderbolt

The file 3.templets\ system\ channel_downlinks.htm has been modified. For more information, please see the channel_downlinks.htm file in the attachment.

4. Open the file\ plus\ download.php:

A) find the following code:

Require_once (DEDEINC. "/ channelunit.class.php"

Add the following code at the bottom of this code:

$flag= (int) $_ GET ['flag']

B) find the following code:

Header ("location:$link")

Replace this code with the following code:

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" OnDownloadClick ('. $thunderUrl. ",', location.href,'92922',2,'')" Echo "window.opener=null;window.close ();";} else {header ("location:$link");}

C) find the following code:

Header ("location: {$softUrl}")

Replace this code with the following code:

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" OnDownloadClick ('. $thunderUrl. ",', location.href,'92922',2,'')" Echo "window.opener=null;window.close ();";} else {header ("location: {$softUrl}");}

Note:

1) change all the words "http://localhost:6070/dedecms55/"" in all the above codes to your own domain name.

2) change the 92922 in the sentence OnDownloadClick (''. $thunderUrl.',', location.href,'92922',2,'') to your own alliance number

The 5.download.php file has been modified. Please refer to the download.php file in the attachment for details.

6. Override description:

1) overwrite the\ plus\ download.php file in your website management system with the modified download.php file.

2) overwrite the templets\ system\ channel_downlinks.htm file in the system with the modified channel_downlinks.htm file.

3) after overwriting, it can be regenerated.

All the rapid changes in the law

1. All Thunderbolt: is to convert all the resource download links on your site into dedicated links to Thunderbolt.

two。 All you need to do is modify the file\ plus\ download.php.

3. Open the file\ plus\ download.php:

A) find the following code:

Header ("location:$link")

Replace this code with the following code:

$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" OnDownloadClick ('. $thunderUrl. "',', location.href,'92922',2,'')"; echo "window.opener=null" Window.close (); "

B) find the following code:

Header ("location: {$softUrl}")

Replace this code with the following code:

$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" OnDownloadClick ('. $thunderUrl. "',', location.href,'92922',2,'')"; echo "window.opener=null" Window.close (); "

Note:

1) change all the words "http://localhost:6070/dedecms55/"" in all the above codes to your own domain name.

2) change the 92922 in the sentence OnDownloadClick (''. $thunderUrl.',', location.href,'92922',2,'') to your own alliance number

The 4.download.php file has been modified. Please refer to the download.php file in the attachment for details.

5. Override description:

1) overwrite the\ plus\ download.php file in your website management system with the modified download.php file.

2) after overwriting, it can be regenerated.

On the dedecms download address plus Xunlei dedicated chain of operation is what is shared here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report