TBDev Forum
Programming board
Main Page Forum Rules Privacy Policy Members Contact Us
Welcome Guest (Login | Register)
TBDev Forum TBDev.net - Mods & hacks Mods In Progress Reseed Torrents
Page 1 2

Reseed Torrents

2006-03-17 00:06:00
Group: Member
Posts: 42
Topics participated: 19
Topics started: 11
First post: 2006-03-04 02:34:00
Last post: 2007-08-29 18:50:00
**EDIT** I have created reseed.php as a seperate page using the code that was given earlier that many used to post on their index.php but I modified the code so it can be a seperate file called reseed.php:
php
ob_start("ob_gzhandler");

require "include/bittorrent.php";
dbconn(false);
stdhead("FAQ");

if ($CURUSER)
{
// Get the torrents with leechers but no seed.
$sn_lines = array();
$tnsr = mysql_query("SELECT t1.id, t1.name, t1.size, t1.leechers, t1.owner, t1.category, t2.to_go FROM torrents AS t1, peers AS t2 WHERE t2.torrent = t1.id AND seeders = 0 AND leechers > 0 ORDER BY t1.leechers DESC, t2.to_go DESC") or sqlerr();
while ($tnsa = mysql_fetch_assoc($tnsr))
{
 
2006-03-24 20:15:00
Group: Member
Posts: 122
Topics participated: 64
Topics started: 4
First post: 2006-03-12 00:53:00
Last post: 2007-07-03 15:22:00
Xmmmmm in myreseed all is ok but write me this:
Fatal error: Call to undefined function: get_user_id() in /home/httpd/vhosts/avatarbg.info/httpdocs/myreseed.php on line 10

Please help me ;)
 
2006-03-24 20:39:00
Group: Member
Posts: 465
Topics participated: 170
Topics started: 44
First post: 2006-03-05 06:30:00
Last post: 2008-12-08 08:05:00
your second image doesnt work
 
2006-03-24 20:44:00
Group: Member
Posts: 122
Topics participated: 64
Topics started: 4
First post: 2006-03-12 00:53:00
Last post: 2007-07-03 15:22:00
Please help me for this mod,myreseed.php don't work :(
 
2006-03-24 20:48:00
Group: Member
Posts: 465
Topics participated: 170
Topics started: 44
First post: 2006-03-05 06:30:00
Last post: 2008-12-08 08:05:00
i dont use it but i will look into it for you
 
2006-03-25 14:43:00
Group: Member
Posts: 42
Topics participated: 19
Topics started: 11
First post: 2006-03-04 02:34:00
Last post: 2007-08-29 18:50:00
NiGhTWolF,

You are getting that error message because I created that function in global.php to get the user id just like the function get_user_class gets the user's class. To fix your error, in global.php find:
function get_user_class()
{
 
2006-03-25 14:48:00
Group: Member
Posts: 122
Topics participated: 64
Topics started: 4
First post: 2006-03-12 00:53:00
Last post: 2007-07-03 15:22:00
Thanks MrD3SAi :)
 
2006-03-25 19:11:00
Group: Member
Posts: 158
Topics participated: 79
Topics started: 18
First post: 2006-03-10 22:20:00
Last post: 2007-11-24 19:37:00
hmmmmmm SQL error:

Table 'shared_tracker.completed' doesn't exist
 
2006-03-25 20:13:00
Group: Member
Posts: 465
Topics participated: 170
Topics started: 44
First post: 2006-03-05 06:30:00
Last post: 2008-12-08 08:05:00
hmmmmmm SQL error:

Table 'shared_tracker.completed' doesn't exist



i think you need the snatched mod, but i will try and mod this ith out
 
2006-03-28 12:47:00
Group: Member
Posts: 52
Topics participated: 14
Topics started: 6
First post: 2006-03-03 09:41:00
Last post: 2007-06-21 18:52:00
any luck with the sql error

SQL Error
Table 'torzone.completed' doesn't exist

i would like to see this mod work
 

Similar threads

Topic Posts Last post
RESEED-request mod for dead torrents on tracker 12 2008-06-26 13:06:00
Take Reseed 2 2007-01-25 10:13:00
Request a reseed 102 2008-09-06 13:54:00
Hidden torrents - Staff only torrents - Free torrent (single or all) with comments etc 13 2008-11-12 09:31:00
Clean Up Deletes Active Torrents instead of just Dead torrents 6 2008-10-23 11:38:00