Advertisement:

Author Topic: [WIP mod] Bittorrent Tracker for SMF 2.0RC3  (Read 184188 times)

Offline djfye

  • Newbie
  • *
  • Posts: 2
Re: [WIP mod] Bittorrent Tracker for SMF 2.0b3
« Reply #20 on: July 25, 2008, 08:52:32 AM »
yup, when I try attaching a torrent it ends up like

[torrent]Array[/torrent] just like wdm2005's

Offline goldenboy48

  • Jr. Member
  • **
  • Posts: 228
    • CricFire
Re: [WIP mod] Bittorrent Tracker for SMF 2.0b3
« Reply #21 on: July 31, 2008, 04:00:57 AM »
^^^^ I had that problem as well

Offline niko

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,003
  • Gender: Male
    • Madjoki
Re: [WIP mod] Bittorrent Tracker for SMF 2.0b3
« Reply #22 on: July 31, 2008, 05:05:13 AM »
Added later build, it should have this fixed.

Offline djfye

  • Newbie
  • *
  • Posts: 2
Re: [WIP mod] Bittorrent Tracker for SMF 2.0b3
« Reply #23 on: August 23, 2008, 04:05:36 AM »
so what would the tracker be after you apply the mod? hxxp:yoursite.com/announce.php?? [nonactive]
« Last Edit: August 23, 2008, 07:25:39 AM by djfye »

aishaweb

  • Guest
Re: [WIP mod] Bittorrent Tracker for SMF 2.0b3
« Reply #24 on: September 01, 2008, 04:55:59 AM »
From the package info xml file:


<install for="2.0 Beta 3 Public, 2.0 Beta 3.1 Public">
	
	
<require-
file name="Sources/TorrentDatabase.php" destination="$sourcedir/>
	
	
<
database>installDatabase.php</database>

	
	
<require-
file name="announce.php" destination="$boarddir/>
	
	
<require-
file name="scrape.php" destination="$boarddir/>

Offline Sun11

  • Semi-Newbie
  • *
  • Posts: 99
  • Gender: Male
Re: [WIP mod] Bittorrent Tracker for SMF 2.0b3
« Reply #25 on: September 01, 2008, 04:27:16 PM »
how come Seeder and Leecher stays as 0?
does the info come from the site which the torrent was made in e.g. mininova, demonoid
or the site which smf torrent is installed??

Offline niko

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,003
  • Gender: Male
    • Madjoki
Re: [WIP mod] Bittorrent Tracker for SMF 2.0b3/b4
« Reply #26 on: September 13, 2008, 08:02:42 AM »
Added build with Beta 4 support.

how come Seeder and Leecher stays as 0?
does the info come from the site which the torrent was made in e.g. mininova, demonoid
or the site which smf torrent is installed??

Currently it can't show data from external trackers.

Offline dttrader2

  • Newbie
  • *
  • Posts: 1
Re: [WIP mod] Bittorrent Tracker for SMF 2.0b3/b4
« Reply #27 on: September 19, 2008, 08:10:02 PM »
Hi,

first post, and i can tell than i love smf, and your plug, BUT  O:)
is it possible to list all torrent ? I share it with a topic and i would like share in listing too, one page with all torrent contain on the tracker with seeders leechers comment etc.. like torrentpier and the others

How can i do that, im not php guru
Thanks for all !!

Offline gianluca.giuman

  • Newbie
  • *
  • Posts: 1
Re: [WIP mod] Bittorrent Tracker for SMF 2.0b3/b4
« Reply #28 on: October 13, 2008, 02:07:24 AM »
Hi ...
Nice mod....
I'm seeking for long time for  this mod.....
How about to implement the xbt engine?

Offline jensvanherck

  • Semi-Newbie
  • *
  • Posts: 66
  • Gender: Male
  • I reject the reality and substitute my own
    • Uppy.org
Re: [WIP mod] Bittorrent Tracker for SMF 2.0b3/b4
« Reply #29 on: November 01, 2008, 02:08:05 PM »
is there a mod like this for smf 1.1.x ?

Offline redlands

  • Newbie
  • *
  • Posts: 5
Re: [WIP mod] Bittorrent Tracker for SMF 2.0b3/b4
« Reply #30 on: November 12, 2008, 12:39:06 PM »
Hi,
Very nice mod, looks promising!!
I got it up and running,  clients can connect but no bytes transferred.
I found this in the error log:

PHP Notice:  Undefined variable: k in ... /announce.php on line 63
PHP Notice:  Undefined index:  is_admin in ... /Sources/Security.php on line 769
PHP Notice:  Undefined index:  permissions in ... /Sources/Security.php on line 776
PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in ... /Sources/Security.php on line 776


Any help is appreciated.
« Last Edit: November 13, 2008, 01:36:14 PM by redlands »

Offline HuRRR

  • Semi-Newbie
  • *
  • Posts: 84
Re: [WIP mod] Bittorrent Tracker for SMF 2.0b3/b4
« Reply #31 on: November 14, 2008, 01:14:04 PM »
Permission and attachment have been correctly set, but I have this error on a white page when I puch Post button :

Code: [Select]
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/iworldz/domains/sowarez.net/public_html/smftorrent/Sources/BEncode.php on line 25

Someone can help me :please :) ?

Offline niko

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,003
  • Gender: Male
    • Madjoki
Re: [WIP mod] Bittorrent Tracker for SMF 2.0b3/b4
« Reply #32 on: November 14, 2008, 02:44:16 PM »
Permission and attachment have been correctly set, but I have this error on a white page when I puch Post button :

Code: [Select]
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/iworldz/domains/sowarez.net/public_html/smftorrent/Sources/BEncode.php on line 25
Someone can help me :please :) ?

Post.php find:

require_once($sourcedir . '/BEncode.php');

replace with

loadClassFile('BEncode.php');

Replace announce.php with attached version
Replace Sources/Tracker.php with attached version

Hi,
Very nice mod, looks promising!!
I got it up and running,  clients can connect but no bytes transferred.
I found this in the error log:

PHP Notice:  Undefined variable: k in ... /announce.php on line 63
PHP Notice:  Undefined index:  is_admin in ... /Sources/Security.php on line 769
PHP Notice:  Undefined index:  permissions in ... /Sources/Security.php on line 776
PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in ... /Sources/Security.php on line 776


Any help is appreciated.

Replace announce.php with attached version

Offline redlands

  • Newbie
  • *
  • Posts: 5
Re: [WIP mod] Bittorrent Tracker for SMF 2.0b3/b4
« Reply #33 on: November 15, 2008, 03:14:11 AM »
Thanks for your reply, Niko!


Replace announce.php with attached version
OK, the new annonnce.php got rid of the errors.
(By the way these errors only occured when connecting with BitTornado and BitTorrent clients.)

Still, can´t get any transfers to start, everything looks good in tracker statistics, leechers and seeders
show up but no bytes transferred.

When I save permissions I get errors in forum log:

8: Undefined index: permissionname_tracker_edit
File: ..../Sources/ManagePermissions.php
Line: 1636

8: Undefined index: permissionname_tracker_edit_own
File: ..../Sources/ManagePermissions.php
Line: 1642

8: Undefined index: permissionname_tracker_edit_any
File: ..../Sources/ManagePermissions.php
Line: 1646


Furthermore, there are two tracker permissions with no "name" !?
« Last Edit: November 15, 2008, 03:51:54 AM by redlands »

Offline HuRRR

  • Semi-Newbie
  • *
  • Posts: 84
Re: [WIP mod] Bittorrent Tracker for SMF 2.0b3/b4
« Reply #34 on: November 15, 2008, 04:47:08 PM »
Post.php find:

require_once($sourcedir . '/BEncode.php');

replace with

loadClassFile('BEncode.php');

Replace announce.php with attached version
Replace Sources/Tracker.php with attached version

Ok it's done, but now, I have this one :s :

Code: [Select]
Fatal error: Call to undefined function: file_put_contents() in /home/iworldz/domains/sowarez.net/public_html/smftorrent/Sources/Subs-Tracker.php on line 956
And take a look at my permission board (in Classic View Mode)



 ???
« Last Edit: November 15, 2008, 04:54:58 PM by HuRRR »

Offline kurosaki00

  • Semi-Newbie
  • *
  • Posts: 81
Re: [WIP mod] Bittorrent Tracker for SMF 2.0b3/b4
« Reply #35 on: November 17, 2008, 03:30:48 AM »
hopefully this will be available soon for 1.1.x

Offline HuRRR

  • Semi-Newbie
  • *
  • Posts: 84
Re: [WIP mod] Bittorrent Tracker for SMF 2.0b3/b4
« Reply #36 on: November 17, 2008, 09:27:07 AM »
Take a look at this one. I know (from the source code) that they are using EzTorrent v0.5 ...




 ;)

Offline redlands

  • Newbie
  • *
  • Posts: 5
Re: [WIP mod] Bittorrent Tracker for SMF 2.0b3/b4
« Reply #37 on: November 17, 2008, 01:05:55 PM »
My tracker is up and running for testing ;D.
Only tested with 3 users so far, uploading/downloading.
Working mighty fine 8).


I´m getting some errors in the logs:
Type of error: General
.../index.php?action=tracker;torrent=3;showPeers
2: Division by zero
File: .../Sources/Tracker.php
Line: 173

Type of error: Undefined
.../index.php?action=tracker;torrent=3;showPeers
8: Undefined index: filesize
File: .../Themes/default/Tracker.template.php (torrent_view sub template - eval?)
Line: 72

Type of error: Undefined
.../index.php?action=tracker;torrent=3;showPeers
8: Undefined variable: size
File: .../Sources/Tracker.php
Line: 173

 Type of error: Undefined
.../index.php?action=admin;area=permissions;sesc
8: Undefined index: permissionname_tracker_edit
File: .../Sources/ManagePermissions.php
Line: 1636

Type of error: Undefined
.../index.php?action=admin;area=permissions;sesc
8: Undefined index: permissionname_tracker_edit_own
File: .../Sources/ManagePermissions.php
Line: 1642

Type of error: Undefined
.../index.php?action=admin;area=permissions;sesc
8: Undefined index: permissionname_tracker_edit_any
File: .../Sources/ManagePermissions.php
Line: 1646

Offline HuRRR

  • Semi-Newbie
  • *
  • Posts: 84
Re: [WIP mod] Bittorrent Tracker for SMF 2.0b3/b4
« Reply #38 on: November 17, 2008, 01:46:25 PM »
redlands, which version of SMF are you using ?

Offline redlands

  • Newbie
  • *
  • Posts: 5
Re: [WIP mod] Bittorrent Tracker for SMF 2.0b3/b4
« Reply #39 on: November 17, 2008, 01:48:38 PM »
redlands, which version of SMF are you using ?
SMF 2.0b4
« Last Edit: November 17, 2008, 01:57:28 PM by redlands »