
10-04-2006, 05:59 AM
|
 |
|
|
Join Date: Aug 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by AndrewD
LDM is currently hard coded to accept certain protocols. From what I see, ed2k protocol is straightforward to handle. If you are comfortable playing around with the code, take a look in includes/local_links_include.php Find the block
Code:
// Protocols supported
define('MODE_HIDE', 0);
define('MODE_REDIRECT', 1);
define('MODE_OPEN', 2);
$protocol_schemes = array(
"http"=> array("mode"=>MODE_HIDE, "validate"=>1, "musicbox"=>1),
"https"=> array("mode"=>MODE_HIDE, "validate"=>1, "musicbox"=>1),
"ftp"=> array("mode"=>MODE_HIDE, "validate"=>1, "musicbox"=>1),
"irc"=> array("mode"=>MODE_OPEN, "validate"=>0, "musicbox"=>0),
"mms"=> array("mode"=>MODE_HIDE, "validate"=>0, "musicbox"=>2),
);
Maybe you just have to add a new row to the protocol_schemes array, e.g.
Code:
"ed2k"=> array("mode"=>MODE_HIDE, "validate"=>0, "musicbox"=>0),
I have not tried this.
|
Okey it add the Link,but not Add this in Client
That search for the file on my Server???
Thx for to do this
2. i want implantet this Links and Downloads Manager - Patch forumhome to display thumbs of new links/hot linksin cmps 2.2.0 Portal,is ther any modul for to do??
|