Bravo List
Register
Go Back   > Bravo List > Source Code > Active Trackers > Torrent Trader > Mods & Themes
Reply
  #1  
Old 31st July 2017, 09:01
EagleLake EagleLake is offline
Senior Member
 
Join Date: Aug 2011
France
Posts: 31
Default Magnet Link torrent
hello this hack enabled you to download the torrent using MAGNET LINKS

go!

Click the image to open in full size.




Open torrents-details.php and look for:

PHP Code:
print ("<table border='0' cellpadding='0' width='100%'><tr><td  align='center' valign='middle' width='54'><a  href="download.php?id=$id&amp;name=" .  rawurlencode($row["filename"]) . ""><img  src="".$site_config["SITEURL"]."/images/download_torrent.png"  border="0" alt='' /></a></td>"); 


Replace with:


PHP Code:
print ("<table border='0' cellpadding='0' width='100%'><tr><td  align='center' valign='middle' width='54'><a  href="download.php?id=$id&amp;name=" .  rawurlencode($row["filename"]) . ""><img  src="".$site_config["SITEURL"]."/images/download_torrent.png"  border="0" title="Télécharger le torrent !"  /></a></td>"); print ("<td valign='top'><a  href="download.php?id=$id&amp;name=" .  rawurlencode($row["filename"]) .  "">".T_("DOWNLOAD_TORRENT")."</a>&nbsp;<a  href="magnet:?xt=urn:btih:" . $row['info_hash'] . "&dn=" .  rawurlencode($row['name']) . "&tr=" . $row['announce'] .  ""><img src="".$site_config["SITEURL"]."/images/magnetique.png"  width="38" height="36" border="0" title="Télécharger le torrent  magnétique !" /></a><br />"); 


Search for:


PHP Code:
print ("<td valign='top'><a  href="download.php?id=$id&amp;name=" .  rawurlencode($row["filename"]) .  "">".T_("DOWNLOAD_TORRENT")."</a><br />"); 


Add after:


PHP Code:
print ("<a href="magnet:?xt=urn:btih:" . $row['info_hash'] . "&dn=" .  rawurlencode($row['name']) . "&tr=" . $row['announce'] .  ""><font  size=5pt>".T_("MAGNET")."</font></a><br />"); 
Attached Files
File Type: rar IMG Torrent magnétique.rar (30.2 KB, 41 views)
Reply With Quote
The Following User Says Thank You to EagleLake For This Useful Post:
Fynnon (31st July 2017)
  #2  
Old 31st July 2017, 09:19
Fynnon's Avatar
Fynnon Fynnon is offline
xxx
 
Join Date: Nov 2007
P2P
Posts: 984
Default
Great. I edited the title of your topic to better reflect what this mod is about
Reply With Quote
  #3  
Old 31st July 2017, 09:29
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,241
Default
yep looks good
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
Reply With Quote
  #4  
Old 4th January 2021, 21:40
spheres spheres is offline
Member
 
Join Date: Mar 2015
P2P
Posts: 2
Default
If the torrent site is not public you need put the announce + passkey in the magnet url

<a rel="nofollow" href="magnet:?xt=urn:btih:(INFO_HASH&amp;dn=(FILEN AME)&amp;tr=(TRACKER_WITHPASSKEY)">maglink</a>
Reply With Quote
Reply

Tags
link , magnet , torrent

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 14:58. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.