Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
[HACK] Collapsible Backup Trackers in to
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2007-11-30 00:17:08
Well not sure how many people use backup trackers.

But the list can sometimes get pretty long especially if you

have external torrents. This will make the backup

trackers list collapsible and put the backup trackers into

a nice table like the File List and Peers List (see attached pic).

In torrents-details.php

Find:

if (isset($annlist)){

echo "<br><B>This Torrent also has backup trackers</B>";

foreach ($annlist as $alist) {

echo "<br>";

echo $alist[0];

}

}
Replace with:


if (isset($annlist)){

echo "<br><B>This Torrent also has backup trackers:</B> <img src='images/plus.gif' id='pic1' onclick='klappe_torrent(4)'><div id='k4' style='display:none'><table align=center cellpadding=0 cellspacing=0 class=table_table border=1 width=45%><TR><TD class=table_head align=center><B>Backup Trackers</B</TD></tr> ";

 foreach ($annlist as $alist) {

echo "<TR><td class=table_col1>".$alist[0]."</td></tr>";

}

echo "</table></div>";

}






-deicide
backup_trackers.jpg
backup_trackers.jpg
Unknown User
2010-12-10 21:18:28
nice , keeps page very clean , thanks
Unknown User
2011-01-02 02:56:34
Here is a modification i made for somebody i think it looks rather nice :rolleyes:
Unknown User
2011-01-02 06:33:36
"djhowarth, post: 68977":
Here is a modification i made for somebody i think it looks rather nice  :rolleyes:

excellent work there dj m8 as usual :angry:
Unknown User
2011-01-11 19:24:25
"djhowarth, post: 68977":
Here is a modification i made for somebody i think it looks rather nice  :rolleyes:

And how can i do that ??
Unknown User
2011-01-11 19:40:02
Look at the bug reports topic. I ended up doing that when i was moving tracker & file lists to the database.
Unknown User
2011-01-11 20:44:26
in 2.07 i will make a mod to add the local announce to the external torrent then it will be possible to show local peers on a local torrent. All this mod does is uses the torrent-details.php to loop through the announce list and scrape data like it normally would, however some one wanted me to make it update the torrents database table with all this data so when your in your bittorrent client it makes it looks like you have alot of peers/seeds when it is just the info from the other trackers...

- And looking over Torrential storm's code i will say that his code his done better than mine, so just use his :rolleyes:
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728