Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent)
Reply
  #1  
Old 7th March 2013, 23:11
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default Magnet Link Mod for pmbt?
Is there a magnet link mod for pmbt 2.4?
Reply With Quote
  #2  
Old 7th March 2013, 23:16
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
lol I was just working on it for BT.Manager
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
Giorgatzelos (7th March 2013)
  #3  
Old 7th March 2013, 23:18
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default
Will it be soon released for pmbt Joe?Can you give a clue? lol
Reply With Quote
  #4  
Old 7th March 2013, 23:21
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
BT.Manager is the new PMBT3.0 and is in beta stage now.
I am putting together this mod for you now.
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
Giorgatzelos (7th March 2013)
  #5  
Old 7th March 2013, 23:23
x360zone's Avatar
x360zone x360zone is offline
Senior Member
 
Join Date: Jul 2011
United Kingdom
Posts: 915
Default hi
nice joe
__________________

7.5 tsse
future tracker source & hosting, vps
trackers installs + Themes
http://www.foxyhosting.co.uk
http://www.downmy.top testing zone
offshore vps & cpanel hosting & Shoutcast & VPN
STOP cyberbullying
any setups tracker installs vps hosting vps setups themes mods hit me up
over the last three months ive become a snake breeder,pythons,hogs,boa,corn,rat,king,carpet and what joy it is


Reply With Quote
  #6  
Old 7th March 2013, 23:24
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default
Thanks Joe i appreciate it man...
Reply With Quote
  #7  
Old 7th March 2013, 23:40
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
in ajax.php find
PHP Code:
if ($torrent["exeem"] != "" AND $can_access) echo pic("exeem.gif",$torrent["exeem"],_btalt_exeem); 
and add before
PHP Code:
        $maglinks_b = array();
        if (
$user->passkey != "" )$passkey $query_char."passkey=".urlencode($user->passkey);
        else
        
$passkey "";
        if (
$torrent["tracker"] == "") {
                
$maglinks_b[] = $siteurl '/announce.php?' $passkey;
        } else {
                
$maglinks_b[] = $torrent["tracker"];
        }
        if (
$torrent["tracker_list"] != "") {
                
$trackers explode("\n\n",$torrent["tracker_list"]);
                for (
$i 0$i count($trackers); $i++) {
                        
$trackers[$i] = explode("\n",$trackers[$i]);

                        for (
$j 0$j count($trackers[$i]); $j++) {
                                
$pos strpos($trackers[$i][$j], $announce_url);
                                if (
$pos !== false$maglinks_b[] = $trackers[$i][$j] . '/announce.php?' $passkey;
                                else
                                
$maglinks_b[] = $trackers[$i][$j];
                        }

                }
        }


$mag_link 'magnet:?xt=urn:btih:' hex_to_base32($infohash_hex) . '&xl=6745696&dn=text.txt&dn=' $torrent["filename"] . '&tr=' implode('&tr=',$maglinks_b);
echo 
pic("magnet.gif",$mag_link,_btalt_magnet); 
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
Giorgatzelos (7th March 2013)
  #8  
Old 8th March 2013, 01:56
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default
Working like a charm!
Thanx Joe!



Bump: Joe how could i remove ed2k links completely and just leave magnet links?
When i try to upload it needs ed2k link even i want only magnet link to upload...Besides that it works fine...
Reply With Quote
Reply

Tags
link , magnet , mod , pmbt

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 21:59. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.