phpMyBitTorrent

Powered by
SourceForge.net Logo

Today's Messages (OFF)  | Unanswered Messages (ON)

Forum: Feature Request
 Topic: tracker info (stats)
tracker info (stats) [message #1982] Sat, 03 May 2008 16:55
DrAgon  
Messages: 186
Registered: August 2007
Super-Seeder
Bug hunter
a menu or block bar full of tracker stats..
seeds/leech/traffic/users/online peers and etc....perhaps timezone/clock for user ip location vs tracker timezone/time

refreshed smartly without too much db hits and cached..and refreshed when needed..
 Topic: some feature request
icon14.gif  some feature request [message #1901] Sat, 29 March 2008 22:04
ancraz  is currently offline ancraz  
Messages: 12
Registered: March 2008
Leecher
these are some of the that would be great to see(atleast for me Very Happy )

ad management system

new template system(what i mean is the forum and tracker using the same template

ability to pull post from the forum and place it as site news

ability to add Avatar by URL & to set dimension.
 Topic: View Sent Messages in PM Inbox
View Sent Messages in PM Inbox [message #1139] Fri, 22 June 2007 06:45
southp  is currently offline southp  
Messages: 13
Registered: June 2007
Leecher
Would be a nice feature to be able to see your sent PM messages through your inbox. Just have one more icon in the inbox which clicks into all the messages you've sent.


MONTREAL TORRENTS
 Topic: [REQ] Window Vista Style
[REQ] Window Vista Style [message #922] Tue, 24 April 2007 09:41
timv  is currently offline timv  
Messages: 2
Registered: April 2007
Leecher
Hello,
Can somone make a windows vista style for phpmybittorrent?

Gerads,
Tim V

[Updated on: Tue, 24 April 2007 09:42]

 Topic: translation for rules hack
translation for rules hack [message #671] Fri, 16 February 2007 11:28
joeroberts  is currently offline joeroberts  
Messages: 683
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer

can I get some translations please


** General Rules **

** User Rules **

** Premium Rules **

** Moderator Rules **

** Admin Rules **

I need this to add to lang for my new hack
would like to get asmany traslations as I can thankyou

[Updated on: Fri, 16 February 2007 11:31]


http://www.moviegamesmore.net/themes/test/pics/logo.png
Forum: Bug Reports
 Topic: [FIX]_remove the bug who add ;; ;; caracters in posts
[FIX]_remove the bug who add ;; ;; caracters in posts [message #2211] Mon, 08 September 2008 21:11
RazorSK  is currently offline RazorSK  
Messages: 52
Registered: April 2008
Seeder
hi all the community, after a lot of tests i have make a very simple solution to eradic the bad ";;" added automaticly in your post if you make an edition, and if you post contain <br /> or &nbsp or something like a line jump.

you need to modify only one file, the details.php

i'mg going to bed becaus i'm back from my work, i work of night this weeke, so i'm very tired, but i just want to inform the pmbt community of the fix i found because that bug is the most bad of pmbt for me Smile

Ehhh one word more, my solution only work for the display of the torrent description, but if you edit this description the ;; are not removed, i just remove ;; from the display to doesn't modify the database.

Does anyone is interested with this bug fix ?

[Updated on: Wed, 10 September 2008 10:38]

 Topic: Refresh Error !
Refresh Error ! [message #2180] Tue, 26 August 2008 19:02
jackie9mm  is currently offline jackie9mm  
Messages: 12
Registered: July 2008
Leecher
 Topic: Time of generating the page
Time of generating the page [message #2172] Tue, 26 August 2008 02:22
Revan  is currently offline Revan  
Messages: 117
Registered: April 2007
Super-Seeder
modd team
I think I found little bug in the value of the time that the page is being generated...
I know it doesn't influence anything, but I thought I'd post it anyway...

So instead of: $startpagetime = microtime(); in header.php
there should be:
$start_time = microtime();
$start_time = array_sum (explode (' ', $start_time));

and in footer.php, instead of:
echo abs(round(microtime()-$startpagetime,2))
should be:
echo round(array_sum(explode(' ', microtime()))-$startpagetime,2)

Like I said not a big deal, but I thought I'd post it Smile
 Topic: comment notification language
comment notification language [message #1756] Thu, 07 February 2008 07:02
Revan  is currently offline Revan  
Messages: 117
Registered: April 2007
Super-Seeder
modd team
I discovered a bug that causes comment notifications to be sent in language of the poster of comment and not in the language of ppl that receive notifications...
here's a fix, find:
$sql = "SELECT name, email FROM ".$db_prefix."_users U, ".$db_prefix."_comments_notify C WHERE C.user = U.id AND C.status = 'active' AND C.torrent = '".$id."' AND U.id != '".$user->id."' ;";

replace with:
$sql = "SELECT name, email, language FROM ".$db_prefix."_users U, ".$db_prefix."_comments_notify C WHERE C.user = U.id AND C.status = 'active' AND C.torrent = '".$id."' AND U.id != '".$user->id."' ;";


then find:
while($row = $db->sql_fetchrow($res)) $notify_mail->Add($row["email"]);
$notify_mail->sender = $admin_email;
$notify_mail->subject = $commnotifysub[$language];
$search = Array("**sitename**","**siteurl**","**torrenturl**","**unwatchurl**","**name**");
$replace = Array($sitename,$siteurl,$siteurl."/details.php?id=".$id,$siteurl."/details.php?id=".$id."&op=comment&trig=off",$tortn["name"]);
$notify_mail->body = str_replace($search,$replace,$commnotifytext[$language]);

and replace with:
while($row = $db->sql_fetchrow($res))
{
if ($row["language"] != "") $language = $row["language"];
else $language = "english";
$notify_mail->Add($row["email"]);
$notify_mail->subject = $commnotifysub[$language];
$search = Array("**sitename**","**siteurl**","**torrenturl**","**unwatchurl**","**name**");
$replace = Array($sitename,$siteurl,$siteurl."/details.php?id=".$id,$siteurl."/details.php?id=".$id."&op=comment&trig=off",$tortn["name"]);
$notify_mail->body = str_replace($search,$replace,$commnotifytext[$language]);
}
$notify_mail->sender = $admin_email;


This should fix it...
 Topic: V1.2beta1 and cvs
V1.2beta1 and cvs [message #976] Tue, 01 May 2007 10:35
joeroberts  is currently offline joeroberts  
Messages: 683
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer

we need your help to make V1.2beta1 move forward
If you are using V1.2beta1 or cvs snapshot please report your bug
to http://sourceforge.net/tracker/?func=add&group_id=129993 &atid=716488
along with here so that we may track them better and assign them to the proper person.

[Updated on: Tue, 01 May 2007 12:18] by Moderator


http://www.moviegamesmore.net/themes/test/pics/logo.png
 Topic: How to get support on this Forum
How to get support on this Forum [message #74] Fri, 14 July 2006 17:01
djechelon  is currently offline djechelon  
Messages: 200
Registered: June 2006
Location: Ercolano, NA
Releaser
Administrator

This Forum is meant for bug reporting on OFFICIAL phpMyBitTorrent versions. You should always install the lastest version.

In order to get proper support, please fully describe your problem and don't forget to:

  1. Say what version you're using
  2. Say how to replicate the problem
  3. Make a short summary of server configuration (ie. Apache 2.0 under Linux)
  4. If possible, tell us your tracker URL address


Please remember that some bugs have been already identified and fixed, and the only way to get rid of them is to upgrade to CVS version. At this time phpMyBitTorrent offers no tutorial for CVS upgrade, but you should find appropriate documentation on SourceForge.net.


/usr/local/ΕΨΗΕΛΩΝ
Forum: General Help
 Topic: Do you need designer?
Do you need designer? [message #2171] Sun, 24 August 2008 23:41
Villain  is currently offline Villain  
Messages: 1
Registered: August 2008
Leecher
Hello

I am skilled designer looking for some job. I have been in webdesigning for 4 years and I have designed about: ~15 private torrent trackers, 2 public and ~120 of other projects. If you need a good looking design then please send me mail on villain.themes[at]gmail[dot]com.


Note: designers like me don't work for free
 Topic: private tracking
private tracking [message #1696] Mon, 31 December 2007 14:50
DrAgon  
Messages: 186
Registered: August 2007
Super-Seeder
Bug hunter
something has gone wrong...don't know what happened

I changed tracker to private and non of the torrents that I'm seeding in client does prompt for username and password?

I thought this was working in the past...when I changed it to private once for few moments.

any ideas?

which part of announce.php or db tables should I be looking at ?

did I break something?

edit:

I see bunch of 401 error in logs..maybe it working

HTTP/1.1" 401

[Updated on: Mon, 31 December 2007 15:26]

 Topic: bunch of apache error in logs
bunch of apache error in logs [message #1557] Sun, 18 November 2007 21:08
DrAgon  
Messages: 186
Registered: August 2007
Super-Seeder
Bug hunter
v1.2.2
I am getting tons of errors like this in apache error logs, while clients are scraping/announcing . any idea?

[Sun Nov 18 21:05:06 2007] [error] [client 130.243.156.230] PHP Notice: Undefined property: q
uery_result in /usr/local/www/apache22/data/pmbt/include/db/mysql4.php on line 118
[Sun Nov 18 21:05:07 2007] [error] [client 65.182.51.67] PHP Notice: Undefined index: max_num
_file_day_e in /usr/local/www/apache22/data/pmbt/include/config_lite.php on line 92
[Sun Nov 18 21:05:07 2007] [error] [client 65.182.51.67] PHP Notice: Undefined index: max_num
_file_week_e in /usr/local/www/apache22/data/pmbt/include/config_lite.php on line 93
[Sun Nov 18 21:05:07 2007] [error] [client 65.182.51.67] PHP Notice: Undefined index: maxuplo
ad_day_num in /usr/local/www/apache22/data/pmbt/include/config_lite.php on line 96
[Sun Nov 18 21:05:07 2007] [error] [client 65.182.51.67] PHP Notice: Undefined index: maxuplo
ad_day_share in /usr/local/www/apache22/data/pmbt/include/config_lite.php on line 97
[Sun Nov 18 21:05:07 2007] [error] [client 65.182.51.67] PHP Notice: Undefined variable: row2
in /usr/local/www/apache22/data/pmbt/include/config_lite.php on line 103
[Sun Nov 18 21:05:07 2007] [error] [client 65.182.51.67] PHP Notice: Undefined variable: row2
in /usr/local/www/apache22/data/pmbt/include/config_lite.php on line 104
[Sun Nov 18 21:05:07 2007] [error] [client 65.182.51.67] PHP Notice: Undefined variable: row2
in /usr/local/www/apache22/data/pmbt/include/config_lite.php on line 105
[Sun Nov 18 21:05:07 2007] [error] [client 65.182.51.67] PHP Notice: Undefined variable: row2
in /usr/local/www/apache22/data/pmbt/include/config_lite.php on line 106
[Sun Nov 18 21:05:07 2007] [error] [client 65.182.51.67] PHP Notice: Undefined variable: row2
in /usr/local/www/apache22/data/pmbt/include/config_lite.php on line 107
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined index: max_num_file_day_e in /usr/local/www/
apache22/data/pmbt/include/config_lite.php on line 92
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined index: max_num_file_week_e in /usr/local/www
/apache22/data/pmbt/include/config_lite.php on line 93
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined index: maxupload_day_num in /usr/local/www/a
pache22/data/pmbt/include/config_lite.php on line 96
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined index: maxupload_day_share in /usr/local/www
/apache22/data/pmbt/include/config_lite.php on line 97
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined variable: row2 in /usr/local/www/apache22/da
ta/pmbt/include/config_lite.php on line 103
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined variable: row2 in /usr/local/www/apache22/da
ta/pmbt/include/config_lite.php on line 104
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined variable: row2 in /usr/local/www/apache22/da
ta/pmbt/include/config_lite.php on line 105
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined variable: row2 in /usr/local/www/apache22/da
ta/pmbt/include/config_lite.php on line 106
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined variable: row2 in /usr/local/www/apache22/da
ta/pmbt/include/config_lite.php on line 107
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined variable: row2 in /usr/local/www/apache22/da
ta/pmbt/include/config_lite.php on line 108
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined variable: info_hash_arr in /usr/local/www/ap
ache22/data/pmbt/scrape.php on line 64
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined variable: r in /usr/local/www/apache22/data/
pmbt/scrape.php on line 70
[Fri Nov 16 16:26:25 2007] [error] [client 61.153.150.99] PHP Notice: Undefined property: query_result in /usr/local/www/apa
che22/data/pmbt/include/db/mysql4.php on line 118
[Fri Nov 16 16:26:45 2007] [error] [client 194.242.202.241] PHP Notice: Undefined index: max_num_file_day_e in /usr/local/ww
w/apache22/data/pmbt/include/config_lite.php on line 92
[Fri Nov 16 16:26:45 2007] [error] [client 194.242.202.241] PHP Notice: Undefined index: max_num_file_week_e in /usr/local/w
ww/apache22/data/pmbt/include/config_lite.php on line 93
[Fri Nov 16 16:26:45 2007] [error] [client 194.242.202.241] PHP Notice: Undefined index: maxupload_day_num in /usr/local/www
/apache22/data/pmbt/include/config_lite.php on line 96
[Fri Nov 16 16:26:45 2007] [error] [client 194.242.202.241] PHP Notice: Undefined index: maxupload_day_share in /usr/local/w
ww/apache22/data/pmbt/include/config_lite.php on line 97
[Fri Nov 16 16:26:45 2007] [error] [client 194.242.202.241] PHP Notice: Undefined variable: row2 in /usr/local/www/apache22/
data/pmbt/include/config_lite.php on line 103
[Fri Nov 16 16:26:45 2007] [error] [client 194.242.202.241] PHP Notice: Undefined variable: row2 in /usr/local/www/apache22/
data/pmbt/include/config_lite.php on line 104
[Fri Nov 16 16:26:45 2007] [error] [client 194.242.202.241] PHP Notice: Undefined variable: row2 in /usr/local/www/apache22/
data/pmbt/include/config_lite.php on line 105
[Fri Nov 16 16:26:45 2007] [error] [client 194.242.202.241] PHP Notice: Undefined variable: row2 in /usr/local/www/apache22/
data/pmbt/include/config_lite.php on line 106
[Fri Nov 16 16:26:45 2007] [error] [client 194.242.202.241] PHP Notice: Undefined variable: row2 in /usr/local/www/apache22
 Topic: if u have problem with finding trackers sites
icon14.gif  if u have problem with finding trackers sites [message #1551] Sun, 18 November 2007 08:49
nour140  is currently offline nour140
Messages: 1
Registered: September 2006
Leecher
guys if u want to have invite to most of trackers and torrents sites or u have invites and want to trade with anyone u can make in this site it is fast and new and grow up fast try it ....

http://tracker-invites.org/index.php?referredby=2546


good luck

[Updated on: Sun, 18 November 2007 08:51]

 Topic: php security
php security [message #1510] Tue, 06 November 2007 09:07
DrAgon  
Messages: 186
Registered: August 2007
Super-Seeder
Bug hunter
Anyone running PMBT with suphp, suexec, CGI binary or interpreter and other security measures?

How is it working? any problems? what are the benefits and disadvantages? is performance effected?

thnx.
 Topic: Apache 2 a must?
Apache 2 a must? [message #1379] Sun, 07 October 2007 13:59
dcarey  
Messages: 8
Registered: October 2007
Leecher
Hi I'm trying to install and I keep getting 403s. I read something someplace tending to indicate that just about any webserver would work. Then I read something that said only Apache 2.0 and higher. Currently my hoster is runner 1.3.36 . Just want to find a definite yes or no on this. Thanks in advance.

-Dave
 Topic: Invite Problem
Invite Problem [message #1313] Thu, 06 September 2007 09:08
wwwdoidosorg  is currently offline wwwdoidosorg  
Messages: 14
Registered: September 2007
Leecher
i was testing invite system and i got this error

i followed the confirmation link i got this page

....confirminvite.php?id=.....

where i had to put name, password, retype pass and accept rules, faq and age...


the error was:

the password confirmation didnt work and alway got this message

Password dont match in the file

...takeconfirminvite.php?id=....


Any ideas to fix it?

thanks

Very Happy
 Topic: IRC
IRC [message #1238] Sat, 04 August 2007 13:03
joeroberts  is currently offline joeroberts  
Messages: 683
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer

* How do I join a channel?
Quote:

All IRC channel names start with the pound sign (#). So, if the channel name is FooBar, you would type "/join #FooBar". Do not include the double quotes in the command.

* How do I change my IRC nickname?
Quote:

To change your IRC nickname (nick), type "/nick newnick", without the double quotes. For expample, if you wanted your nick to be "Slasher", you would type "/nick Slasher".

* How do I send a private message?
Quote:

To send a private message to just one person on the server, you would use the /msg command. For example, to send a private message to [TFK]Slasher to inform him that a scrimmage is about to start, you would type "/msg [TFK]Slasher Come to the #TFK room, our scrimmage is starting soon."

* How do I find a friend in IRC?
Quote:

There are two ways to do this. First, if you know what channel they are in, you could join that channel and see if their name is on the user list at the right hand side of the screen. Or, you could use the /whois command. The /whois command tells you a small amount of information about a user on the IRC server. If you wanted to get the /whois information about [TFK]Slasher, you would type "/whois [TFK]Slasher".

* How do I register my IRC nickname?
Quote:

To register your nickname, send a private message to 'nickserv' containing your password and email address. For example: '/msg nickserv register foobar address@domain.com' - type that (not including the single quotes) to register your current nickname with the password 'foobar' under the email address 'address@domain.com'. You should see a message in your status window from nickserv confirming your registration. You will receive an email address with instructions for authorizing your newly registered nick. Be sure to enter a valid email address so that you can receive the authorization code. After you register your nick, each time you connect to the IRC, you will need to identify yourself by typing: '/msg nickserv identify foobar' (without the single quotes.) Substitute your password instead of 'foobar', of course.

* How do I register my IRC channel?
Quote:

To register your channel, you must first register your nickname. Then once you have registered and identified with nickserv, you can register your channel by sending a private message to 'chanserv' containing the channel, the password you want for the channel, and the channel description. For example: '/msg chanserv register #my_room foobar This is my room' - type that (not including the single quotes) to register the room called #my_room with the password 'foobar', and the description 'This is my room'. You should see a message in your status window from chanserv confirming your registration.

* How do I change the topic in my room?
Quote:

If your channel is registered type the following:

/msg Chanserv SET #channelname TOPIC newtopic

If your channel is not registered type the following:

/topic #channelname newtopic

* How do get a user to be auto-opped when they join my channel?
Quote:

First of all, the channel must be registered with chanserv. Also, the nick for the person that you want to get auto-opped must be registered with nickserv. Once that is done, use the following command to add the person to the op list for the channel:

/msg chanserv access #channelname add nick 50
* How do I ban users from my channel?
Your best bet here is to use a program called mIRC to connect to the Dynamix IRC server. You can get mIRC from http://www.mirc.com. Install the software and use it to connect to the Dynamix IRC server at irc.dynamix.com, port 6667. You can then use the built-in menus in mIRC to kick and ban users from your channel.

* How do I talk in white letters?
Quote:

This is called an 'action'. To do an action, you use the /me command. For example, if your name is Slasher, and you wanted to do an action that says 'Slasher waves to everyone', you would type:

/me waves to everyone

* Where can I get a channel bot?
Quote:

There are hundreds of freely available IRC bots on the web. Most of them are add-on scripts for mIRC. Others are stand-alone programs. In order to have a bot in your channel at all the times, you need a permanent internet connection. The methods for installing and operating each bot are different. Consult the documentation for the bot you wish to use.


http://www.moviegamesmore.net/themes/test/pics/logo.png
 Topic: error in the texts
error in the texts [message #738] Tue, 20 March 2007 18:07
joeroberts  is currently offline joeroberts  
Messages: 683
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer

ok there is an error in my shoutbox, pm, and coments.
any one know how to stop this?
when ever " ' " is used it shows like \'


http://www.moviegamesmore.net/themes/test/pics/logo.png
 Topic: "Invalid encoding" error in bencoder-domxml.php
"Invalid encoding" error in bencoder-domxml.php [message #393] Wed, 22 November 2006 03:01
lodp  is currently offline lodp  
Messages: 336
Registered: June 2006
Releaser
i've got severe problems getting phpMyBitTorrent workin on my new virtual server. it runs php 4.4, and the domxml extension is included and recognized by the setup script.

the problem is in bencoder-domxml.php. when you upload an externally tracked torrent, this error message results:

Quote:


*Warning*: Invalid encoding. Node type must be one of the following:
String, Dictionary, List, Integer in
*[...]/pmbt/include/bencoder-domxml.php* on line
*87*

*Notice*: Node content: in
*[...]/pmbt/include/bencoder-domxml.php* on line
*88*

*Warning*: Empty Result:
files/da39a3ee5e6b4b0d3255bfef95601890afd80709/complete(Inte ger) in
*[...]/pmbt/include/bdecoder-domxml.php* on line
*227

_btscrapeerror
_btnoseedersontracker


that's it -- the torrent is not getting listed. i tried 100 different torrents, it's the same everywhere.

when it's an internally tracked torrent, it's very similar:

Quote:

**Warning*: Invalid encoding. Node type must be one of the following:
String, Dictionary, List, Integer in
*[...]/pmbt/include/bencoder-domxml.php* on line
*87*

*Notice*: Node content: in
*[...]/pmbt/include/bencoder-domxml.php* on line *88
**
Warning*: Invalid encoding. Node type must be one of the following:
String, Dictionary, List, Integer in
*[...]/pmbt/include/bencoder-domxml.php* on line
*87*

*Notice*: Node content: in
*[...]/pmbt/include/bencoder-domxml.php* on line
*88*


internally tracked torrents DO get listed, but they're displayed with 0 seeds, 0 peers, and you can't connect to the tracker in a client (ktorrent says "invalid response" for example).

i already told djechelon about this, and he says he can't tell exacty why this is, but he suspects that it's socket problems on the server.

can anybody give me a clue maybe?
 Topic: Whole HOST of problems
Whole HOST of problems [message #259] Mon, 09 October 2006 12:54
lodp  is currently offline lodp  
Messages: 336
Registered: June 2006
Releaser
I've done some testing since we got phpmybittorrent 1.0 going on our new server (thanks again, Antonio!).

I ran into a whole host of problems, though. I hope we can work this out here one by one. I did a complete fresh install of version 1.0.


1. Uploading torrents with the local tracker
as announce URL results in the following:

Quote:

Warning: Invalid encoding. Node type must be one of the following: String, Dictionary, List, Integer in /webpages/ChomskyTorrents.org/pmbt2/include/bencoder-domxml. php on line 87

Notice: Node content: in /webpages/ChomskyTorrents.org/pmbt2/include/bencoder-domxml. php on line 88

Warning: Invalid encoding. Node type must be one of the following: String, Dictionary, List, Integer in /webpages/ChomskyTorrents.org/pmbt2/include/bencoder-domxml. php on line 87

Notice: Node content: in /webpages/ChomskyTorrents.org/pmbt2/include/bencoder-domxml. php on line 88



The thing does pop up in the list. But when i try to seed, kTorrent says "Invalid response from tracker". And phpmybittorrent doesn't see me as a seeder either.



2. Uploading external torrents
results in the following:

Quote:

Warning: Invalid encoding. Node type must be one of the following: String, Dictionary, List, Integer in /webpages/ChomskyTorrents.org/pmbt2/include/bencoder-domxml. php on line 87

Notice: Node content: in /webpages/ChomskyTorrents.org/pmbt2/include/bencoder-domxml. php on line 88
Error!!_btscrapeerror

Invalid data on external tracker. There can be server problems on the tracker. Please try again later.


i made sure the tracker was working and the torrent was well seeded.


3. Uploading ed2K links


adding links in the form works, and a entry is created successfully, but in the file list there's no files showing up.

EDIT:

4. Confirmation mails


...aren't sent off, it seems. could it be there's some mail daemon missing on my server or something? i DID check the spam-filter, btw Smile



that's it so far Sad situation seems pretty bleak..


[Updated on: Mon, 09 October 2006 13:54]

 Topic: DOM XML help
icon4.gif  DOM XML help [message #177] Sun, 27 August 2006 07:33
djechelon  is currently offline djechelon  
Messages: 200
Registered: June 2006
Location: Ercolano, NA
Releaser
Administrator

I decided to open this topic to help who is having problems with DOM XML.

This topic is read only in order to not make eccessive confusion during discussions. Consider this topic as a collection of FAQs that will be updated on every new issue.


  • Part 0: What if I can't use DOM XML?

Before following this tutorial, you must know that if you can't use DOM XML you can't use phpMyBitTorrent at all. You will be able only to install versions up to 0.7.10. But, if DOM XML has failed till now it doesn't directly mean that you can't use it at all. So try this tutorial before throwing the towel.


  • Part 1: What you should know about DOM XML


DOM XML is a PHP extension that allows to handle XML documents with an advanced set of classes, as defined in DOM XML standards by W3C.
phpMyBitTorrent uses DOM XML to make operations on Torrents that else wouldn't have been possible. At the time I'm writing, the feature that actively uses DOM XML is not yet present, but I'm working on it. DOM XML makes also possible the generation of an RDF feed that is compliant with the specifications of the W3C, and to easily read the structure of Torrents.
In few words, DOM XML goes beyond the limits of the old bencoder core.


  • Part 2: Can everybody use DOM XML?

Unfortunately, not everybody. In order to use DOM XML, you server must be able to use it! Seems a word-game, but it's not. We can't tell you a priori (before you test it) if your server supports DOM XML, but we know the situation for some users. Let's examine what can determine you ability to execute DOM XML


  • If Safe Mode is enabled, you cannot use DOM XML
  • If your PHP version is less than 4.0, you cannot use DOM XML
  • If you use PHP 5, can use DOM XML
  • If you use Windows, you may use DOM XML
  • If you are the owner of your server, you can use DOM XML after properly configuring PHP
  • If you are using a free or cheap hosting service, you may not use DOM XML


You will know that you can use DOM XML only after seeing phpMyBitTorrent work good


  • Part 3: Recompiling DOM XML

The following applies on UNIX system. If your server uses Windows, you don't need to recompile anything.

First of all, why recompiling?
The answer is simple: if you get a load error while trying to load DOM XML, it means that you can't use the version provided with phpMyBitTorrent (at this time you can't say you can't use DOM XML yet). The first thing you should try is recompiling DOM XML. Unfortunately, you can recompile DOM XML in a way that it will 90% works (the left 10% is the possibility that your server admin applied some kind of protection that doesn't allow you to use DOM XML or other extensions at all) ONLY if you have shell access, even with restricted privileges. If your server has SSH, and you have an account, you can recompile DOM XML.
If you can't recompile DOM XML, you can try to recompile DOM XML on a machine that has the same hardware and software configuration of the server. The success probabilities are of the 70%, according on how precisely you match the server configuration (refer to phpinfo()).
The last option is to try one of the domxml.so files that we will distribute on this topic. Some will be made using SourceForge compile farm.

How to manually recompile?
Download the source package of YOUR PHP VERSION and decompress it in any directory.
With user shell, enter that directory and use the following commands:

  • $ ./configure
  • $ make
  • $ cd extensions

Then, using cp command, copy the domxml.so file you find in that directory into phpMyBitTorrent's extensions directory.

Will it work?
Probabily.


  • Part 4: known scenarios

We have been reported that phpMyBitTorrent refuses torrents on FreeBSD. We don't know the reason, but plaese avoid FreeBSD when choosing server environment.


If you have more problems please open a topic, possibly linking a phpinfo script or reporting its summary here (please use [SPOILER] tags for best appearence)

[Updated on: Sat, 01 December 2007 18:26] by Moderator


/usr/local/ΕΨΗΕΛΩΝ
 Topic: member list
icon1.gif  member list [message #147] Fri, 04 August 2006 12:19
joeroberts  is currently offline joeroberts  
Messages: 683
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer

Can some one help me with this code? It pulls out and displays what i want but i also want it to link to the names any help?
<html> 

<body> 
<?php 
$database="joerobe_mybittorrent"; 
@mysql_select_db($database) or die( "Unable to select database"); 
$result = mysql_query( "SELECT username, id, level, uploaded, downloaded FROM torrent_users" ) 
or die("SELECT Error: ".mysql_error()); 
$num_rows = mysql_num_rows($result); 
print "<font size=80/>There are <strong>$num_rows</strong> members.<P>"; 
print "<table width=400 border=1>\n"; 
print "\t<td><font color=#996600 font face=arial size=3/><strong>MEMBER</strong></td></td>\n"; 
print "\t<td><font color=#996600 font face=arial size=3/><strong>ID</strong></td></td>\n";
print "\t<td><font color=#996600 font face=arial size=3/><strong>LEVEL</strong></td></td>\n";
print "\t<td><font color=#996600 font face=arial size=3/><strong>UPLOADED</strong></td></td>\n";
print "\t<td><font color=#996600 font face=arial size=3/><strong>DOWNLOADED</strong></td></td>\n";
while ($get_info = mysql_fetch_row($result)){
print "<tr>\n"; 
foreach ($get_info as $field) 
print "\t<td><font face=arial size=2/>$field</font></td>\n"; 
print "</tr>\n"; 
} 
print "</table>\n"; 
?> 
</body> 
</html> 


http://www.moviegamesmore.net/themes/test/pics/logo.png
Forum: M0dZ &amp; HaCkZ
 Topic: Last IP in view profile
Last IP in view profile [message #2219] Fri, 07 November 2008 22:04
DrAgon  
Messages: 186
Registered: August 2007
Super-Seeder
Bug hunter
for
v1.2.2
and
v2 beta

open user/profile.php

find
#User Class

add before

if(($user->admin)){

echo "<tr><td><p>Last IP</p></td>\n";
echo "<td><p>".long2ip($userrow["lastip"])."</p></td>\n";
}

[Updated on: Fri, 07 November 2008 22:22]

 Topic: phpMyBitTorrentV2.0.2 themes
phpMyBitTorrentV2.0.2 themes [message #2217] Thu, 30 October 2008 21:34
joeroberts  is currently offline joeroberts  
Messages: 683
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer

acidtech(tracker and forum)


http://www.moviegamesmore.net/themes/test/pics/logo.png
 Topic: Additional Anti-cheat check
Additional Anti-cheat check [message #2158] Tue, 29 July 2008 05:32
Revan  is currently offline Revan  
Messages: 117
Registered: April 2007
Super-Seeder
modd team
At the moment we use User Agent to discover if user is accessing announce from web browser or not, but if some smart ass would change user agent to something else it would very easily allow cheating...
This is fixed on lots of tbdev trackers however so I took their code and edited it to our purpose - thanks to the original creator!

So far we have this:
if (eregi("(Mozilla|Opera|Lynx|Netscape)",$HTTP_SERVER_VARS["HTTP_USER_AGENT"])) {
        die("<html><head><title>Error!</title></head><body><h3>Sorry, but this file is not suitable for browsers.</h3></body></html>");
}


What I'm suggesting is adding these lines below:
    $headers = getallheaders();
    if (isset($headers["Cookie"]) || isset($headers["Accept-Language"]) || isset($headers["Accept-Charset"])) {
    die("<html><head><title>Error!</title></head><body><h3>Sorry, but this file is not suitable for browsers.</h3></body></html>");
    }
    unset($headers);


If your server doesn't have (or allow) function getallheaders like mine (you're not using apache for example), then add these before the code:
if (!function_exists('getallheaders'))
{
    function getallheaders()
    {
       foreach ($_SERVER as $name => $value)
       {
           if (substr($name, 0, 5) == 'HTTP_')
           {
               $headers[str_replace(' ', '-', ucwords(strtolower(str_replace('_', ' ', substr($name, 5)))))] = $value;
           }
       }
       return $headers;
    }
}
 Topic: shoutbox display invertion
shoutbox display invertion [message #2133] Fri, 04 July 2008 02:01
RazorSK  is currently offline RazorSK  
Messages: 52
Registered: April 2008
Seeder
hi all the community, i'm blammed to use the shoutbox because there is a problem with the scroll and display some times. If a lot of people send essage and the shoutbox is refreshing, you have to constantly scroll down to get the last message. So to remove this problem i have inverted the display, so the last message are the 1st displayed. If you want to do the same thing, do that:

in frame.php
search
."        window.scroll(0, 3000);\n"

or if you have done the joe fix search
."        window.scroll(1,199999);\n"


and replace it with:
."        window.scroll(1,1);\n"


now go 3 lines after, you have that:
$sql = "SELECT S.*, U.id as uid, U.avatar as avat, IF(U.name IS NULL, U.username, U.name) as user_name FROM ".$db_prefix."_shouts S LEFT JOIN ".$db_prefix."_users U ON S.user = U.id ORDER BY posted ASC;";


just replace it with:
$sql = "SELECT S.*, U.id as uid, U.avatar as avat, IF(U.name IS NULL, U.username, U.name) as user_name FROM ".$db_prefix."_shouts S LEFT JOIN ".$db_prefix."_users U ON S.user = U.id ORDER BY posted DESC;";


now the first line displayed is the last shout.

[Updated on: Fri, 04 July 2008 02:03]

 Topic: offline
offline [message #2127] Mon, 30 June 2008 22:41
DrAgon  
Messages: 186
Registered: August 2007
Super-Seeder
Bug hunter
v 1.2.2
This a simple offline method that I use to put site in maintenance and announce/scrape still working.

1) open header.php

before
$startpagetime = microtime();

add
include("offline.php");


2) create offline.php and put following in it:
<?php
if ($_SERVER["REMOTE_ADDR"] != 'xxx.xxx.xxx.xxx')
#header( 'Location: http://www.xxxxxxxxxxx.com/maintain/index.html');
?>


put your ip instead of xxx.xxx.xxx.xxx above so you still can access site.
put your domain instead of xxxxxxxxxxx above

3) create maintain folder/directory in your webroot folder/directory

create index.html file with following:

<body bgcolor="#000000">

<p align="center">
<img border="0" src="http://www.xxxxxxxxxxxxxxxxx.com/maintain/logo.gif" width
="800" height="121"></p>
<p>&nbsp;</p>
<p align="center"><font color="#FFFFFF"><b>We are performing site maintenance. W
e'll be back soon.</font></b>
</p>

</body>


add your gif or jpg logo above accordingly.

--------------------------------------

if you want to put site offline just (uncomment) remove # from header line in offline.php
You can bring site back online by (commenting) putting # back on heeder line in offline.php



 Topic: phpbb3 integration problem
phpbb3 integration problem [message #2110] Sun, 08 June 2008 08:12
RazorSK  is currently offline RazorSK  
Messages: 52
Registered: April 2008
Seeder
hi all the community, i got a problem with my phpbb3 integration, my tracker is located here:

http://ks358108.kimsufi.com/

if i import users, i got an error page with the message:

"Erreur d'encodage de contenu" -> "Content Encoding Error"

anyone know what is that problem ?

Very Happy

edit: it import some users 4 or 5 before the error

[Updated on: Sun, 08 June 2008 08:16]

 Topic: torrent peerlist pecentage completion bar
torrent peerlist pecentage completion bar [message #2049] Tue, 20 May 2008 16:35
DrAgon  
Messages: 186
Registered: August 2007
Super-Seeder
Bug hunter
for ver 1.2.2
I added a bar for completion percentage of each peer in torrent details.

used fews sections of donation bar progress ..and modified it for frame.php in peerlist section...

I ain't not expert in php/mysql..

find
$s .= _btpercent."

add following before or after:
$perc=sprintf("%.2f%%", (1 - ($row["to_go"] / $row["torrent_size"])) * 100);


find
echo $usertxt;


add before :

$usertxt.="<center><font size='1'><br><table class=main border=0 width=100><tr><td style='p
adding: 0px; background-image: url(images/loadbarbg.gif); background-repeat: repeat-x'>";
$pic = "loadbargreen.gif";
$width = round(1 * $perc);
$usertxt.="<img height=15 width=$width src=\"images/$pic\" alt='$donatein)%'><br><font size
='1'color=\"white\"><center>$perc</center></font></td></tr></table>";


oops...then clean up alt$donatein.. Razz

visually much more efficient and faster for me (perhaps other users too), than just moving the mouse over each transfer icon to see how much each peer has completed a torrent....!!

in a few days...I also might move the peer list.. all in a table vertically and sorted by progress bar (completion percentage) from...top to bottom...instead of left to right icons...

[Updated on: Tue, 20 May 2008 18:19]

 Topic: invisible admin group
invisible admin group [message #1931] Thu, 10 April 2008 13:47
DrAgon  
Messages: 186
Registered: August 2007
Super-Seeder
Bug hunter
in ver 1.2.2

I modified header.php to check for admin group before it writes to online_users tables....therefore admin group is invisible

#if ($user->user) {^M
if (!$user->admin and $user->user) {
//Update online user list^M
$pagename = substr($_SERVER["PHP_SELF"],strrpos($_SERVER["PHP_SELF"], "/"
)+1);^M
$sqlupdate = "UPDATE ".$db_prefix."_online_users SET page = '".addslashe
s($pagename)."', last_action = NOW() WHERE id = ".$user->id.";";^M
$sqlinsert = "INSERT INTO ".$db_prefix."_online_users VALUES ('".$user->
id."','".addslashes($pagename)."', NOW(), NOW())";^M
 Topic: date/time torrent posted
date/time torrent posted [message #1930] Thu, 10 April 2008 13:40
DrAgon  
Messages: 186
Registered: August 2007
Super-Seeder
Bug hunter
in my ver of 1.2.2, I set btadded in english.php and then added time/date torrent posted in the detail page.. before seperator of description in details.php

#date posted
echo "<tr><td><p>"._btadded."</p></td><td><p>".$torrent["added "]."</p></td></tr>
\n";

#Separator^M
echo "<tr><td><HR SIZE=1 NOSHADE></td><td></td></tr>\n";^M
^M
#Description^M

 Topic: Check all pms on the page
Check all pms on the page [message #1731] Wed, 30 January 2008 09:18
Revan  is currently offline Revan  
Messages: 117
Registered: April 2007
Super-Seeder
modd team
Hi guys, I did a checkbox on the pm list that lets you check or uncheck all pms on the page... what you need to do is:

find this in pm.php
 <SCRIPT language="JavaScript">
function submitform()
{
  document.folder.submit();
}
</SCRIPT>

and add after:
<script type="text/javascript">
<!--
var cnt=0;
function prochazej (uzel, pole)
{
  if(uzel.hasChildNodes())
    {
      var potomci = uzel.childNodes;
      for(var i = 0; i < potomci.length; i++)
        {
          prochazej(potomci[i], pole);
        }
    }
  else
    {
      cnt++;
      if(uzel.hasAttributes()){
        var atributy = uzel.attributes;
        for(var i = 0; i < atributy.length; i++)
          {
            if(atributy[i].nodeValue == "checkbox")
              {
              pole.push(uzel);
              break;
              }
          }
        }
    }
}
function SetAllCheckBoxes(FormName, CheckValue)
{
if(!document.forms[FormName])
return;
var objCheckBoxes = new Array();
//prochazej(document.forms[FormName], objCheckBoxes);
prochazej(document.getElementById("messages"), objCheckBoxes);
if(!objCheckBoxes)
return;
var countCheckBoxes = objCheckBoxes.length;
if(!countCheckBoxes)
objCheckBoxes.checked = CheckValue;
else
// set the check value for all check boxes
for(var i = 0; i < countCheckBoxes; i++)
objCheckBoxes[i].checked = CheckValue;
-->
}
</script>


then open pm/inbox.php
find:
"._btplmselect."

and replace with:
<input type=\"checkbox\" name=\"all\" onclick=\"SetAllCheckBoxes('privmsg_inbox', this.checked)\" />

then find:
echo "<tbody>";

and replace with:
echo "<tbody id=\"messages\" >";


then open pm/outbox.php
find:
"._btplmselect."

and replace with:
<input type=\"checkbox\" name=\"all\" onclick=\"SetAllCheckBoxes('privmsg_list', this.checked)\" />

then find:
echo "<tbody>";

and replace with:
echo "<tbody id=\"messages\" >";


That's all!
 Topic: automatic comment field resizing
automatic comment field resizing [message #1325] Thu, 13 September 2007 01:42
Revan  is currently offline Revan  
Messages: 117
Registered: April 2007
Super-Seeder
modd team
this will change the commentlist to resize according to how many comments are in it

open details.php and find
$sql = "SELECT A.id as id, A.exeem, A.seeders, A.leechers, A.tot_peer, A.speed, A.info_hash, A.filename, A.banned, A.password, UNIX_TIMESTAMP() - UNIX_TIMESTAMP(A.last_action) AS lastseed, A.numratings, A.name, IF(A.numratings < '".$minvotes."', NULL, ROUND(A.ratingsum / A.numratings, 1)) AS rating, A.save_as, A.descr, A.visible, A.size, A.plen, A.added, A.views, A.downloaded, A.completed, A.type, A.private, A.min_ratio, A.numfiles, A.owner, A.ownertype, A.complaints, A.evidence, A.tracker, A.tracker_list, A.dht as dht, A.md5sum as md5sum, A.uploader_host as user_host, B.name AS cat_name, IF(C.name IS NULL, C.username, C.name) as ownername, A.tracker_update, COUNT(S.status) as auths FROM ".$db_prefix."_torrents A LEFT JOIN ".$db_prefix."_categories B ON A.category = B.id LEFT JOIN ".$db_prefix."_users C ON A.owner = C.id LEFT JOIN ".$db_prefix."_privacy_file S ON S.torrent = A.id AND S.status = 'pending' WHERE A.id = '".$id."' GROUP BY A.id LIMIT 1;";

and add A.comments as comments so it will look like:
$sql = "SELECT A.id as id, A.exeem, A.seeders, A.leechers, A.tot_peer, A.speed, A.info_hash, A.filename, A.banned, A.password, UNIX_TIMESTAMP() - UNIX_TIMESTAMP(A.last_action) AS lastseed, A.numratings, A.name, IF(A.numratings < '".$minvotes."', NULL, ROUND(A.ratingsum / A.numratings, 1)) AS rating, A.save_as, A.descr, A.visible, A.size, A.plen, A.added, A.views, A.downloaded, A.completed, A.type, A.private, A.min_ratio, A.numfiles, A.owner, A.ownertype, A.complaints, A.evidence, A.tracker, A.tracker_list, A.dht as dht, A.md5sum as md5sum, A.uploader_host as user_host, B.name AS cat_name, IF(C.name IS NULL, C.username, C.name) as ownername, A.tracker_update, COUNT(S.status) as auths, A.comments as comments FROM ".$db_prefix."_torrents A LEFT JOIN ".$db_prefix."_categories B ON A.category = B.id LEFT JOIN ".$db_prefix."_users C ON A.owner = C.id LEFT JOIN ".$db_prefix."_privacy_file S ON S.torrent = A.id AND S.status = 'pending' WHERE A.id = '".$id."' GROUP BY A.id LIMIT 1;";

then find
echo "<iframe src=\"frame.php?op=commentlist&id=".$torrent["id"]."&password=".urlencode($torrent["password"])."\" width=\"100%\" height=\"".$torrent["comments"]."*100\" align=\"middle\" scrolling=\"yes\" marginwidth=\"0\" marginheight=\"0\"></iframe>\n";
and replace it with
$height=$torrent[comments]*100;
echo "<iframe src=\"frame.php?op=commentlist&id=".$torrent["id"]."&password=".urlencode($torrent["password"])."\" width=\"100%\" height=\"$height\" align=\"middle\" scrolling=\"yes\" marginwidth=\"0\" marginheight=\"0\"></iframe>\n";

you can change the number 100 in $height=$torrent[comments]*100; if you feel that the comment list is too big or too small
 Topic: FAQ's
FAQ's [message #1140] Fri, 22 June 2007 07:03
joeroberts  is currently offline joeroberts  
Messages: 683
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer

I have rared this for install have fun

  • Attachment: FAQ.rar
    (Size: 28.92KB, Downloaded 102 time(s))


http://www.moviegamesmore.net/themes/test/pics/logo.png
 Topic: Customizing the html-editor
Customizing the html-editor [message #723] Thu, 08 March 2007 11:56
lodp  is currently offline lodp  
Messages: 336
Registered: June 2006
Releaser
You probably noticed that the html-editor (used for the torrent description and the message texts, among others), has a couple of buttons in it that nobody will ever want to use -- like the "insert special character" button, or the "universal keyboard". turns out you just have to edit the file /FCKeditor/fckconfig.js, go to

FCKConfig.ToolbarSets["Default"]


and delete all the items that you don't want to see as a button. the items have pretty intuitive names, and are enclosed in brackets.

also, i found out that you can enable image uploads to your server by editing

/FCKeditor/editor/filemanager/upload/php

and setting
$Config['Enabled'] = false ;


to true, and specifying an upload path (folder must be writable of course) at
$Config['UserFilesPath'] =


that's pretty neat. downside is (with images in the description generally) that you can't seem to set a limit to image dimension or file size. at least i couldn't find anything in FCKeditor config. that means if somebody uploads a large image, it will screw up your template.

is there any way around this?
 Topic: Fix to shout box stoping in the middle
Fix to shout box stoping in the middle [message #706] Fri, 02 March 2007 10:42
joeroberts  is currently offline joeroberts  
Messages: 683
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer

OK I took a look at shout code and made a small fix to it to get
it to finnish going down when shouts get to h