| blanconero | 2006-12-15 00:21:00 |
![]() Posts: 373 Topics participated: 97 Topics started: 5 First post: 2006-12-08 14:16:00 Last post: 2008-08-25 19:10:00 |
Modifications: - connectable / unconnectable in xbt_files_users - calculated upload / download speed by xbt - user agent and peer_id stored in xbt_files_users It's not too hard to customize your TBDEV based tracker to use XBT, you need to rewrite some queries. xbt_config table: CREATE TABLE `xbt_config` ( `name` varchar(255) NOT NULL default '', `value` varchar(255) NOT NULL default '' ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- T |
![]() |
Page 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
Customized XBT
| ibank | 2006-12-15 14:48:00 |
![]() Posts: 14 Topics participated: 7 Topics started: 2 First post: 2006-07-26 04:45:00 Last post: 2007-02-07 18:41:00 |
u have demo or screenshot ? |
![]() |
| blanconero | 2006-12-15 15:03:00 |
![]() Posts: 373 Topics participated: 97 Topics started: 5 First post: 2006-12-08 14:16:00 Last post: 2008-08-25 19:10:00 |
This is not a php frontend :) |
![]() |
| CoLdFuSiOn | 2006-12-16 13:04:00 |
![]() Posts: 2312 Topics participated: 1240 Topics started: 124 First post: 2006-02-25 21:12:00 Last post: 2009-01-03 14:56:00 |
I had a look through your code...looks good, people could definately use some of those options. btw, what release is your code based on? xbt release that is. Only I saw in another thread you don't use the latest release. I will give this a whirl on my existing front/backend once I get my linux box back up after the HD went skyward! |
![]() |
| blanconero | 2006-12-16 13:20:00 |
![]() Posts: 373 Topics participated: 97 Topics started: 5 First post: 2006-12-08 14:16:00 Last post: 2008-08-25 19:10:00 |
I can't remember the revision number, but the date is Tue Nov 8 16:39:44 2005 in original xbt directory :) On old sources, torrents identified by info_hash, not by fid. |
![]() |
| CoLdFuSiOn | 2006-12-16 14:13:00 |
![]() Posts: 2312 Topics participated: 1240 Topics started: 124 First post: 2006-02-25 21:12:00 Last post: 2009-01-03 14:56:00 |
Ok. I'm itching to give it a whirl now...but won't be until next week when my new drive turns up. |
![]() |
| TheSpunkyLobster | 2006-12-20 13:34:00 |
![]() Posts: 12 Topics participated: 1 Topics started: 0 First post: 2006-12-20 13:34:00 Last post: 2007-07-12 00:51:00 |
After making the changes to the xbt config like shown above, what are we looking at with regard to mysql queries that need to be changed? I see from the sql code that you're also adding extra options to the xbt config. Mind explaining what each of these are, or are these tables from an older version of xbt? |
![]() |
| blanconero | 2006-12-20 15:05:00 |
![]() Posts: 373 Topics participated: 97 Topics started: 5 First post: 2006-12-08 14:16:00 Last post: 2008-08-25 19:10:00 |
You need to change all 'peer related' queries, because tbdev and xbt column names are different. First change is the 'currently seeding / leeching' in bittorrent.php $res2 = mysql_query("SELECT COUNT(*) FROM `xbt_files_users` WHERE uid=" . $CURUSER["id"] . " AND `left`=0"); $row = mysql_fetch_row($res2); $activeseed = $row[0]; $res2 = mysql_query("SELECT COUNT(*) FROM `xbt_files_users` WHERE uid=" . $CURUSER["id"] . " AND `left`>0"); $row = mysql_fetch_row($res2); $activeleech = $row[0]; The next modification is in the details.php $hash = mysql_escape_string($row["info_hash"]); $subres = mysql_query("SELECT * FROM xbt_files_users WHERE info_hash = '$hash'") or sqlerr(); ..... function leech_sort($a,$b) { if ( isset( $_GET["usort"] ) ) return seed_sort($a,$b); $x = $a["left"]; $y = $b["left"]; ....... And you need to change column names in dltable() to display the peer table in details.php xbt tables: I don't use all xbt tables, but all required to start xbt tracker :-) xbt_announce_log is used when you activate announce logging xbt_files = torrents xbt_files_updates is required when you activate access logging xbt_users = users xbt_files_users = peers I added custom culomn names to xbt_files_uses because I'd like 'torrentbits-like' peer statistics :-) |
![]() |
| TheSpunkyLobster | 2006-12-20 16:14:00 |
![]() Posts: 12 Topics participated: 1 Topics started: 0 First post: 2006-12-20 13:34:00 Last post: 2007-07-12 00:51:00 |
I'm presuming we also need to make changes with regard to upload for the xbt tracker? |
![]() |
| blanconero | 2006-12-20 16:22:00 |
![]() Posts: 373 Topics participated: 97 Topics started: 5 First post: 2006-12-08 14:16:00 Last post: 2008-08-25 19:10:00 |
No, you don't need to change anything in upload files (upload.php, takeupload.php) or db structure. |
![]() |
Similar threads
| Topic | Posts | Last post |
|---|---|---|
| Customized tracker - Help | 1 | 2007-03-28 01:09:00 |
| Need Help for XBT | 2 | 2007-09-02 20:45:00 |
| Xbt integration | 1 | 2007-12-31 21:04:00 |
| gone all torrents on XBT | 3 | 2007-03-15 09:34:00 |
| Our XBT installation is not finsih... | 1 | 2008-10-18 17:08:00 |
Statistics
| Today's active topics · | |
|---|---|
| User(s) active in the past 30 minutes | |
| 28 Guests, 20 Members Baroi, swamp doggie, roots, Tester123, holsv1, cronner, Hassano, maniek999, ricardoheeren, coda, JBTC, webzi, LighTer, quork, olol123, -XtReMe-, grandmaster, abbas, Dragon, Lagrave Pożyczki , OPISY GG , bts , zdjęcia ślubne , Darmowe gry java Tanie kredyty konsolidacyjne Kartki pozycjonowanie Procreate Sp. z o.o. gotta sing | |
| Often viewed topics | |
| · Ratio Master · ballon tooltip · torrent uppload... · Add/Remove Style · theme system · last 10 forum ... · Problem with ID... · Nice signup usi... · new Message · Rating using ajax · Stats on index · Auto Cleanup! · Warned users (o... · Preliminary XSS... · Save PMs to temp! · Pre-time withou... · Question about ... · browse.php · Inactive Member... · Null Announce. | |
| Forthcoming Calendar Events within the next 5 days | |
| There are no forthcoming calendar events | |




