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
User Posts

Go to Profile

[url="http://torrenttrader.org/topic/16927-ttapi-imdb-v20/"]http://torrenttrader.org/topic/16927-ttapi-imdb-v20/[/url]

[url="http://torrenttrader.org/topic/16389-imdb-scrape/"]http://torrenttrader.org/topic/16389-imdb-scrape/[/url]

i know reading is hard but has to be done.
Not sure on this addon where its from, if the one mvp made it should have Title in it, I think thats what imdb calls the name of it.
I personally would not use just the imdb title for the name cause it dont have stuff like year, uncoding and what not like an name an uploader would pick.
Like IE Description:
Winters.Tale.2014.DVDRip.x264-SPARKS
but the imdb title is: Winter's Tale

You also then would have to move the imdb getting thing before shortname if wanted to use it there.
createtorrent — 2014-05-09 18:04:18 in General Chat
This is mostly used in other things like auto uploaders, web page admin sites for torrent clients.  TFlux used to use something like this or maybe it was mktorrent to create the .torrent file.  Most other torrent clients like deluge, utorrent and I think transmission (might be wrong on that one) have an builtin torrent maker.
This looks cool
learn to read

Quote:
Ps: I have included an new classifieds_block.php for those people that use that.

Ps: I have included an new classifieds_block.php for those people that use that.

Ps: I have included an new classifieds_block.php for those people that use that.

Ps: I have included an new classifieds_block.php for those people that use that.
if (!function_exists("pingto")) {
   function pingto($url)
   {
       if (headers_sent()) {
?>
<script language="javascript"> window.location.href='<?php echo $url;?>';</script>
<meta http-equiv="refresh" content="2;<?php echo $url;?>">
<?php echo sprintf("Redirecting", $url);
       } else
           header('Location: ' . $url);
       die();
   }
}
.. its not hard copy

# Remove ban on forum
$res32 = SQL_Query_exec("SELECT id FROM users WHERE forumbanned='yes' AND forumbanneduntil < NOW() AND forumbanneduntil <> '0000-00-00 00:00:00'");
if (mysql_num_rows($res32) > 0)
{
$dt = sqlesc(get_date_time());
$msg = sqlesc("Your ban on forum has been removed.n");
while ($arr = mysql_fetch_assoc($res32))
{
SQL_Query_exec("UPDATE users SET forumbanned = 'no', forumbanneduntil = '0000-00-00 00:00:00' WHERE id = $arr[id]");
SQL_Query_exec("INSERT INTO messages (sender, receiver, added, msg, poster) VALUES(0, $arr[id], $dt, $msg, 0)");
}
}

in cleanup changing forum to upload
Upload Activity — 2013-09-15 18:02:09 in v2.08 Mods Completed
personally I like it on  another page myself it makes it easier to link to instead of in the cpanel..

normal cpanel location in admincp..

<td align="center"><a href="upload-stats.php"><img src="images/admin/upload-stats.png" border="0" width="32" height="32" alt="" /><br /><?php echo T_("UPLOAD_STATS"); ?></a><br /></td>
[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6975"]upload-stats.php[/url]
Upload Activity — 2013-09-15 17:50:24 in v2.08 Mods Completed
[size=18px]all [/size]stdmsg should be show_error_msg
its prob cause the person dont have short tag support..

anyway fixed versions for 2.08

In account-details.php replace all of this stuff:

<!--| Start Reputation Points |-->
   <table cellpadding="4">
     <tr class="f-border comment">
       <? #---| config
       $width = "16";
       $height = "16";
       $textsize = "2";
       $picthumbsgood = "images/reputation/good.png";
       $picthumbsbad = "images/reputation/bad.png";
       if ($user[reputation] == "0") { $color = "#2B2525"; }
       elseif ($user[reputation] > "0") { $color = "#209200"; }
       elseif ($user[reputation] < "0") { $color = "#B50000"; }
       ?>
       <td>Reputatation:</td>
       <?php if ($user["id"] != $CURUSER['id']) { ?>
         <td width="20" align="center"><a href="simpaty.php?action=add&good&targetid=<?=$user["id"];?>"><img src="<?=$picthumbsgood;?>" width="<?=$width;?>" height="<?=$height;?>" border="0" title="Give one point"></a></td>
       <?php } ?>
       <td bgcolor="<?=$color;?>" height="16" align="center"><font size="<?=$textsize;?>" color="#FEFEFE"><b>&nbsp; <?=$user[reputation];?> &nbsp;</b></font></td>
       <?php if ($user["id"] != $CURUSER['id']) { ?>
         <td width="20" align="center"><a href="simpaty.php?action=add&bad&targetid=<?=$user["id"];?>"><img src="<?=$picthumbsbad;?>" width="<?=$width;?>" height="<?=$height;?>" border="0" title="Subtract one point"></a></td>
       <?php } ?>
     </tr>
   </table>
   <!--| End Reputation Points |-->
with

     <!--| Start Reputation Points |-->
   <table cellpadding="4">
     <tr class="f-border comment">
       <?php
       //---| config
$width = "16";
$height = "16";
$textsize = "2";
$picthumbsgood = "images/reputation/good.png";
$picthumbsbad = "images/reputation/bad.png";
if ($user[reputation] == "0") {
   $color = "#2B2525";
} elseif ($user[reputation] > "0") {
   $color = "#209200";
} elseif ($user[reputation] < "0") {
   $color = "#B50000";
}
?>
       <td>Reputatation:</td>
       <?php
if ($user["id"] != $CURUSER['id']) { ?> <td width="20" align="center"><a href="simpaty.php?action=add&good&targetid=<?php echo $user["id"]; ?>"><img src="<?php echo $picthumbsgood; ?>" width="<?php echo $width; ?>" height="<?php echo $height; ?>" border="0" title="Give one point"></a></td>
<?php } ?>
       <td bgcolor="<?php echo $color; ?>" height="16" align="center"><font size="<?php echo $textsize; ?>" color="#FEFEFE"><b>&nbsp; <?php echo $user[reputation]; ?> &nbsp;</b></font></td>
       <?php
if ($user["id"] != $CURUSER['id']) { ?> <td width="20" align="center"><a href="simpaty.php?action=add&bad&targetid=<?php echo $user["id"]; ?>"><img src="<?php echo $picthumbsbad; ?>" width="<?php echo $width; ?>" height="<?php echo $height; ?>" border="0" title="Subtract one point"></a></td>
       <?php } ?>
     </tr>
   </table>
   <!--| End Reputation Points |-->

In torrents-details.php replace all of this stuff:


//===| Start Reputation Points |===//
$rep = SQL_Query_exec("SELECT id,reputation FROM users WHERE id=".$row["owner"]);
$user = mysql_fetch_array($rep);
if ($user["id"] != $CURUSER['id'] && $row["anon"] != "yes") {
     #---| config
     $width = "16";
     $height = "16";
     $textsize = "2";
     $picthumbsgood = "images/reputation/good.png";
     if ($user[reputation] == "0") { $color = "#2B2525"; }
     elseif ($user[reputation] > "0") { $color = "#209200"; }
     elseif ($user[reputation] < "0") { $color = "#B50000"; }
     ?>
     <table cellpadding="4" align="center">
       <tr class="f-border comment">
         <td>Uploader Reputatation:</td>
         <td bgcolor="<?=$color;?>" height="16" align="center"><font size="<?=$textsize;?>" color="#FEFEFE"><b>&nbsp; <?=$user[reputation];?> &nbsp;</b></font></td>
         <td>Say <b>Thanks</b> with one point of reputation:</td>
         <td width="20" align="center"><a href="simpaty.php?action=add&good&targetid=<?=$user["id"];?>"><img src="<?=$picthumbsgood;?>" width="<?=$width;?>" height="<?=$height;?>" border="0" title="Give one point"></a></td>
       </tr>
       <tr><td height="5"></td></tr><!--| 5px space here! |-->
     </table>
     <?php
   }
//===| End Reputation Points |===//

with

//===| Start Reputation Points |===//
$rep = SQL_Query_exec("SELECT id,reputation FROM users WHERE id=" . $row["owner"]);
$user = mysql_fetch_array($rep);
if ($user["id"] != $CURUSER['id'] && $row["anon"] != "yes") {
       //---| config
   $width = "16";
   $height = "16";
   $textsize = "2";
   $picthumbsgood = "images/reputation/good.png";
   if ($user[reputation] == "0") {
       $color = "#2B2525";
   } elseif ($user[reputation] > "0") {
       $color = "#209200";
   } elseif ($user[reputation] < "0") {
       $color = "#B50000";
   }
?>
     <table cellpadding="4" align="center">
       <tr class="f-border comment">
         <td>Uploader Reputatation:</td>
         <td bgcolor="<?php echo $color; ?>" height="16" align="center"><font size="<?php echo $textsize; ?>" color="#FEFEFE"><b>&nbsp; <?php echo $user[reputation]; ?> &nbsp;</b></font></td>
         <td>Say <b>Thanks</b> with one point of reputation:</td>
         <td width="20" align="center"><a href="simpaty.php?action=add&good&targetid=<?php echo $user["id"]; ?>"><img src="<?php echo $picthumbsgood; ?>" width="<?php echo $width; ?>" height="<?php echo $height; ?>" border="0" title="Give one point"></a></td>
       </tr>
       <tr><td height="5"></td></tr><!--| 5px space here! |-->
     </table>
     <?php
}
//===| End Reputation Points |===//    

new fixed [url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6974"]simpaty.php[/url]
lol you dont get help:) you get this instead

[color=rgb(119,119,119)]This post is hidden because you have chosen to ignore posts by [/color]
TorrentTrader Hosting — 2013-09-02 01:16:23 in General Chat
yes you need an min of an vps. Most if not all web hosts are strictly that made for websites not tracker related. Web accounts dont have the resources needed to run a tracker even a small 1..
cause of this in announce.php.

if ($MEMBERSONLY){
//check passkey is valid, and get users details
$res = SQL_Query_exec("SELECT $userfields FROM users u INNER JOIN groups g ON u.class = g.group_id WHERE u.passkey=".sqlesc($passkey)." AND u.enabled = 'yes' AND u.status = 'confirmed' LIMIT 1") or err("Cannot Get User Details");
$user = mysql_fetch_assoc($res);
if (!$user)
err("Cannot locate a user with that passkey!");
   if ($user["can_download"] == "no")
       err("You do not have permission to download.");
$userid = $user["id"]; //etc
}

if that dont match you version then you prob dont have an 2.08 announce lol
looks like 2.08 it was changed to

$userfields = "u.id, u.class, u.uploaded, u.downloaded, u.ip, u.passkey, g.can_download"; //user details to get

so this should work in theory..
$userfields = "u.id, u.class, u.uploaded, u.downloaded, u.ip, u.passkey, g.can_download, u.downloadbanned"; //user details to get

this should work..

if($user["downloadbanned"] != 'no')
{
err("You cannot download this torrent until your a good boy/girl/other again.");
}

but I would put it before or after
    if ($user["can_download"] == "no")
       err("You do not have permission to download.");
I guess this addon needs work too...

1st this sql

ALTER TABLE `snatched` ADD `done` enum('yes','no') NOT NULL default 'no';any way to fix the cleanup change
SQL_Query_exec("INSERT INTO warnings (userid, reason, added, expiry, warnedby, type) VALUES ($user,'".$reason."','".get_date_time()."','".$expiretime."','0','HnR')");

to
SQL_Query_exec("INSERT INTO warnings (userid, reason, added, expiry, warnedby, type) VALUES ($user,".sqlesc($reason).",'".get_date_time()."','".$expiretime."','0','HnR')");

and in the same file
$a = SQL_Query_exec("SELECT DISTINCT uid FROM snatched WHERE hnr = 'yes'");

with
$a = SQL_Query_exec("SELECT DISTINCT uid FROM snatched WHERE hnr = 'yes' AND done='no'");

and replace
SQL_Query_exec("UPDATE snatched SET hnr = 'yes' WHERE completed = '1' AND hnr = 'no' AND uload < dload AND $timenow - $site_config[hnr_deadline] > stime AND $site_config[hnr_seedtime] > ltime");

with
SQL_Query_exec("UPDATE snatched SET hnr = 'yes' WHERE completed = '1' AND hnr = 'no' AND uload < dload AND $timenow - $site_config[hnr_deadline] > stime AND $site_config[hnr_seedtime] > ltime AND done='no'");

and use this new required.php[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6935"]required.php[/url]

should basically make an torrent immune to being picked up after they use bp or upload after you upload the new attached file and do the other changes :P
oh i see i think

  if ($classy[0]==7)
 return unesc('<span style="color:'.$col.'; text-shadow: 1px #3520fd;">'.$name.'</span>'.$star.''.$warn.''.$disabled.'');
 elseif ($classy[0]==6)
 return unesc('<span style="color:'.$col.'; text-shadow: 1px #3520fd;">'.$name.'</span>'.$star.''.$warn.''.$disabled.'');
 else
 return unesc("<font color='".$col."'>".$name."".$star."".$warn."".$disabled."</font>");

if you really want then can make classes in css lol but that way beyond me
i guess in thoery could modify function class_user

like changing

return unesc("<font color='".$col."'>".$name."".$star."".$warn."".$disabled."</font>");

to
  if ($classy[0]==7)
 return unesc('<span style="color:'.$col.'; text-shadow: 1px #3520fd;>"'.$name.'</span>'.$star.''.$warn.''.$disabled.'');
 elseif ($classy[0]==6)
 return unesc('<span style="color:'.$col.'; text-shadow: 1px #3520fd;>"'.$name.'</span>'.$star.''.$warn.''.$disabled.'');
 else
 return unesc("<font color='".$col."'>".$name."".$star."".$warn."".$disabled."</font>");

might work
old file still has some issues to be 2.08.. like not adding to the warned table:( but this attached file seems to fix that. Its highly untested lol

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6927"]leechers.php[/url]
"ArcticWolf, post: 91685":
You prob have an messed up seedtime...

You have to have the full snatched list by mvp installed....

I wish people would use sqlesc in writing to the db...

anyway to fix the db errors replace in [size=12px]required.php[/size]
[size=18px]all[/size] of

modcomment = '$modcomment'
with

modcomment = " . sqlesc($modcomment) . "
[size=18px]Also If posting about "Database Error. Please report this to an administrator." or something along that lines,[/size]

does no good if you don't also add the last info from your_siteurl/admincp.php?action=sqlerr
an change in announcements.php

replace

    $res = SQL_Query_exec("SELECT * FROM announcements ORDER by added DESC");
   if (mysql_num_rows($res) >= 1) {
       echo '<table border="0" cellpadding="2" cellspacing="2" width="100%" class="table_table" align="center"><tbody>';
       while ($arr_annouce = mysql_fetch_array($res)) {
           echo '<th class="table_head">' . $arr_annouce["subject"] . ' <b>On:</b>' . $arr_annouce["added"] . '</th>';
           echo '<tr><td class="table_col1">' . format_comment($arr_annouce["message"]) . '</td></tr>';
       }
       if ($announcement_autoclear) {
           if ($CURUSER['announce_read'] == "no")
               SQL_Query_exec("UPDATE users SET announce_read = 'yes' WHERE id = $CURUSER[id]");
       } else {
           print("<tr><td align=left>Click <a href=?action=clear><b><font color=orangered>HERE</font></b></a> to clear the new annoucement for <b>You ONLY</b>.</td> </tr>");
       }
       echo '</tbody></table>';
   }
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