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

Debts of seed — 2022-09-06 21:09:53 in v2.08 Support
I know someone had the same problem with this but couldn't find it in the forum.

User has downloaded a torrent and after a certain time stopped seeding, after a few hours that person starts seeding again but then he gets another one on his list that looks like this.

Suggestions, help suggestions, please

Try:
    https://torrenttrader.uk/post?id=10279

    https://torrenttrader.uk/post?id=10053


good luck
NB-Halloween [3C-TTV3] — 2022-09-01 18:30:59 in v3 Themes
NB-Halloween

Please keep this:

|     NB-Black-v2
|     ©Nikkbu 2012
|     Site: http://nikkbu.info
|     eMail: nikkbu@nikkbu.info
|     Revision: v2.08 -- 1.0.0
|     Date: 19/04/2012
|     Author: Nikkbu

Regards
Hi, I'm glad for you.
.....  theme .... is my own mate

PS
I send you invite to see rest of that
Thanks @spectre
Cloudflare has no role with the error messages you have right now,
check if you meet the minimum installation requirements and of course you have to "store" us with a little more data

PHP version, SQL version
Server version (Ubuntu, Centos, Debian)

Regards
Hi, first fix errors in red secound fix database connection (check if you have right data in mysql.php)
Hi,
why I got that error message on bonus exchange for H&R removing?


and on required.php (just a message not H&R torrents)



this part working OK



VIP  ===>  Working
Invite  ===>  Working
GB UL   ===>  Working
H&R   ===>  not  :( (but points are deducted for H&R)

If someone can help, please hit PM for more details

Regards
New Pagination — 2022-08-29 08:08:47 in v2.08 Mods Completed
Thanks M-Jay,
noone solution helped me BUT....
as always, after hours of searching finally I found it and share with all of you guys....
Tested JUST on Forum for TT 2.0.8

   //------ Make page menu
   $pagemenu = "  \n";
   $perpage = $postsperpage;
   $pages = floor($postcount / $perpage);
   if ($pages * $perpage < $postcount)
++$pages;
   if ($page == "last")
$page = $pages;
   else {
if($page < 1)
$page = 1;
elseif ($page > $pages)
$page = $pages;
   }
   $offset = max( 0, ( $page * $perpage ) - $perpage );


//
   if ($page == 1)
     $pagemenu .= "<button class='button'><< PREV</button>";
   else
     $pagemenu .= "<a href='forums.php?action=viewtopic&topicid=$topicid&page=" . ($page - 1) . "' class='button'> << PREV </a>";
$pagemenu .= "  ";

//== Middle of pagination
$range = 3;  // number pages to jump between
$outOfRange = false;
for ($i = 1; $i <= $pages; $i++) {
if ($i <= $range || $i >= $pages - $range || abs($i - $page) <= $range) {
$outOfRange = false;

if($i == $page) {
           $pagemenu .= "<a href='forums.php?action=viewtopic&topicid=$topicid&page=$i' class='button'> $i </a>";
       } else {
           $pagemenu .= "<a href='forums.php?action=viewtopic&topicid=$topicid&page=$i' class='button'> $i </a>";
       }
   } else {

       if (!$outOfRange) {
           $pagemenu .= "<button class='button'> · · · </button>";
       }

       $outOfRange = true;

   }
}
//== Middle of pagination

   $pagemenu .= "  ";
   if ($page == $pages)
     $pagemenu .= "<button class='button'>NEXT >></button><br /> <br />\n";
   else
     $pagemenu .= "<a href='forums.php?action=viewtopic&topicid=$topicid&page=" . ($page + 1) . "' class='button'> NEXT >> </a><br />\n";
   $pagemenu .= " ";

//------ Make page menu



implement this code where you want

	print($pagemenu);   
New Pagination — 2022-08-28 17:27:04 in v2.08 Mods Completed
::: Bump :::

Just need to make it shorter with dots in middle, have damn long pager in forum too



   //------ Make page menu
   $pagemenu = "<br />&nbsp&nbsp<small>\n";
   $perpage = $postsperpage;
   $pages = floor($postcount / $perpage);
   if ($pages * $perpage < $postcount)
++$pages;
   if ($page == "last")
$page = $pages;
   else {
if($page < 1)
$page = 1;
elseif ($page > $pages)
$page = $pages;
   }
   $offset = max( 0, ( $page * $perpage ) - $perpage );


//
   if ($page == 1)
     $pagemenu .= "<button class='btn btn-dark'><< PREV </button>";
   else
     $pagemenu .= "<a href='forums.php?action=viewtopic&topicid=$topicid&page=" . ($page - 1) . "' class='btn btn-dark'> << Predhodno </a>";
$pagemenu .= "&nbsp;&nbsp;";

//== Middle of pagination
for ($i = 1; $i <= $pages; ++$i) {
if ($i == $page)
$pagemenu .= "<button class='btn btn-dark'> $i </button>\n";
else
$pagemenu .= "<a href='forums.php?action=viewtopic&topicid=$topicid&page=$i' class='btn btn-dark'> $i </a>\n";
}
//== Middle of pagination

   $pagemenu .= "&nbsp;&nbsp;";
   if ($page == $pages)
     $pagemenu .= "<button class='btn btn-dark'>NEXT >></button><br /> <br />\n";
   else
     $pagemenu .= "<a href='forums.php?action=viewtopic&topicid=$topicid&page=" . ($page + 1) . "' class='btn btn-dark'> NEXT >> </a><br /><br />\n";
   $pagemenu .= "</small>";
   //------ Make page menu


Thanks MM,
I have check mysql database and found default user class was 8, it must be a my stupid fingers (or stupid me) who make mistake for that

bad from me
Hi guys,
I have that fenomen now after got to php7 with my script
if user got invite and after that activate that invite code/link he/she got class 8 (administrator) insteand for class 1 as it formulated in account-singup.php


// make first member admin
if ($numsitemembers == '0')
$signupclass = '11';
else
$signupclass = '1';

$ret = SQL_Query_exec("INSERT INTO users (username, password, secret, email, uploaded, downloaded, modcomment, seedbonus, status, added, age, country, gender, client, stylesheet, language, class, ip) VALUES (" .
implode(",", array_map("sqlesc", array($wantusername, $wantpassword, $secret, $email, $upload, $download, $modcomment_text, $seedbonus, $status, get_date_time(), $age, $country, $gender, $client, $site_config["default_theme"], $site_config["default_language"], $signupclass, getip()))).")");



Try to figure out but only that file have this formulation of class

All help is welcome asap

/regards
Need quick help, please — 2022-08-01 19:46:32 in General Chat
Thanks M-jay and other guys

this piece of shit make all my torrent and tracker back on track:
in my.cnf
sql_mode = ""


Regards to all of you guys
Need quick help, please — 2022-08-01 06:40:50 in General Chat
STorrents2020:
Radios/checkboxes are annoying to deal with and validate without JS. A link with a parameter is often better, although not as visually pleasing.  


Did solve my problem, unfortunately not at all anyone with other suggestions to help please

Regards guys
Need quick help, please — 2022-07-27 07:06:21 in General Chat
Thanks guys,

`vip` enum('yes','no') NOT NULL DEFAULT 'no',


    // vip
$vip = $_POST["vip"];

$descr = $_POST["descr"];


// vip only
if (get_user_class($CURUSER) >= 3)
print ("<tr><td align='left' class='css'> VIP: </td><td align='left' class='css'><input type='checkbox' name='vip' " .
(($row["vip"] == "yes") ? " checked='checked' " : "" ) . " value='yes'> <font color='#00ff00'>".T_("VIP_TORR")."</font> </td></tr>");


sorry guys my bad it's not "radio button" it was "checkbox"
and when I "remove" vip from line 221 it works after that I make some changes in torrent-edit.php and make torrent as VIP then it works

strange thing is that the whole script worked on my old server and now that I've moved on a few things have stopped working

Need quick help, please — 2022-07-26 20:13:45 in General Chat
Hi @spiritblue
thanks for your suggestion but everything is the same as on my old server and all "vip" mods is correct.
If I have unchecked "radio button" that error comes up but if I check it I don't have that error
Need quick help, please — 2022-07-26 17:50:54 in General Chat
I have some error message when I moved my script to another server:

Quote:
Database Error in torrents-upload.php on line 221: Data truncated for column 'vip' at row 1. Query was: INSERT INTO torrents (filename, owner, name, descr, vip, image1, image2, category, tube, added, info_hash, size, numfiles, save_as, announce, external, url, nfo, torrentlang, torrentgenres, anon, last_action) VALUES


How to solve it (V2)?
I gona be crazy soon
Proposal — 2022-04-04 22:17:33 in General Chat
Hi M-jay, can you upload a official script who's working on PHP8 (can't install latest version at all)
I have a old version and it works only on PHP7 when I switch to PHP8 I got a blank page

Regards
Proposal — 2022-03-21 20:38:19 in General Chat
New check.php some small changes for that file:





<?php
// Check PHP ini Settings
if (isset($_GET["phpinfo"]) == 1) {
   echo "<br /><center><a href='check.php' class='btn btn-success'>Back To Check</a></center><br>";
   phpinfo();
   die();
}

function get_php_setting($val)
{
   $r = (ini_get($val) == '1' ? 1 : 0);
   return $r ? 'ON' : 'OFF';
}

function writableCell($folder, $relative = 1, $text = '')
{
   $writeable = '<b><font color="green">Writeable</font></b>';
   $unwriteable = '<b><font color="red">Unwriteable</font></b>';

   echo '<tr>';
   echo '<td>' . $folder . '</td>';
   echo '<td align="right">';
   if ($relative) {
       echo is_writable("./$folder") ? $writeable : $unwriteable;
   } else {
       echo is_writable("$folder") ? $writeable : $unwriteable;
   }
   echo '</td>';
   echo '</tr>';
}

require_once "../app/config/config.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET ?>">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">

<style>
body {
background: #fafafa url(https://jackrugile.com/images/misc/noise-diagonal.png);
color: #444;
font: 100%/30px 'Helvetica Neue', helvetica, arial, sans-serif;
text-shadow: 0 1px 0 #fff;
}

strong {
font-weight: bold;
}

em {
font-style: italic;
}

table {
background: #f5f5f5;
border-collapse: separate;
box-shadow: inset 0 1px 0 #fff;
font-size: 12px;
line-height: 24px;
margin: 30px auto;
text-align: left;
width: 800px;
}

th {
background: url(https://jackrugile.com/images/misc/noise-diagonal.png), linear-gradient(#777, #444);
border-left: 1px solid #555;
border-right: 1px solid #777;
border-top: 1px solid #555;
border-bottom: 1px solid #333;
box-shadow: inset 0 1px 0 #999;
color: #fff;
 font-weight: bold;
padding: 10px 15px;
position: relative;
text-shadow: 0 1px 0 #000;
}

th:after {
background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.08));
content: '';
display: block;
height: 25%;
left: 0;
margin: 1px 0 0 0;
position: absolute;
top: 25%;
width: 100%;
}

th:first-child {
border-left: 1px solid #777;
box-shadow: inset 1px 1px 0 #999;
}

th:last-child {
box-shadow: inset -1px 1px 0 #999;
}

td {
border-right: 1px solid #fff;
border-left: 1px solid #e8e8e8;
border-top: 1px solid #fff;
border-bottom: 1px solid #e8e8e8;
padding: 10px 15px;
position: relative;
transition: all 300ms;
}

td:first-child {
box-shadow: inset 1px 0 0 #fff;
}

td:last-child {
border-right: 1px solid #e8e8e8;
box-shadow: inset -1px 0 0 #fff;
}

tr {
background: url(https://jackrugile.com/images/misc/noise-diagonal.png);
}

tr:nth-child(odd) td {
background: #f1f1f1 url(https://jackrugile.com/images/misc/noise-diagonal.png);
}

tr:last-of-type td {
box-shadow: inset 0 -1px 0 #fff;
}

tr:last-of-type td:first-child {
box-shadow: inset 1px -1px 0 #fff;
}

tr:last-of-type td:last-child {
box-shadow: inset -1px -1px 0 #fff;
}

tbody:hover td {
color: transparent;
text-shadow: 0 0 3px #aaa;
}

tbody:hover tr:hover td {
color: #444;
text-shadow: 0 1px 0 #fff;
}
</style>
<title>Check</title>
</head>
<body>

<div class="wrap" align="center">
<b>Config Check</b><br><br>
<input type="button" class="button" value="Check Again" onclick="window.location=window.location" /><br /><br />
<a href="check.php?phpinfo=1" class="btn btn-success">PHPInfo</a><br /><br />
<a href='index.php' class='btn btn-warning'>Return to homepage</a>
</div><br />
<table>
<tr>
<td>
<b>Required Settings Check:</b><br />
<p>If any of these items are highlighted in red then please take actions to correct them. <br />
Failure to do so could lead to your installation not functioning correctly.</p>
</td>
</tr>
</table>
<table>
<tr>
<td>&nbsp; - PHP version >= 8</td>
<td> <?php
   echo phpversion() < '8' ? '<b><font color="red">No</font> 8 or above required</b>' : '<b><font color="green">Yes</font></b>';
   echo " - Your PHP version is " . phpversion(); ?>
</td>
</tr>
<tr>
<td>&nbsp; - PDO Ext</td>
<td><?php echo extension_loaded('PDO') ? '<b><font color="green">Available</font></b>' : '<b><font color="red">Unavailable</font></b>'; ?></td>
</tr>
<tr>
<td>&nbsp; - sockets support</td>
<td><?php echo extension_loaded('sockets') ? '<b><font color="green">Available</font></b>' : '<b><font color="red">Unavailable</font></b>'; ?></td>
</tr>
<tr>
<td>&nbsp; - check mb support</td>
<td><?php echo extension_loaded('mbstring') ? '<b><font color="green">Available</font></b>' : '<b><font color="red">Unavailable</font></b>'; ?></td>
</tr>
<tr>
<td>&nbsp; - zlib compression support</td>
<td><?php echo extension_loaded('zlib') ? '<b><font color="green">Available</font></b>' : '<b><font color="red">Unavailable</font></b>'; ?></td>
</tr>
<tr>
<td>&nbsp; - XML support</td>
<td><?php echo extension_loaded('xml') ? '<b><font color="green">Available</font></b>' : '<b><font color="red">Unavailable</font></b>'; ?></td>
</tr>
<tr>
<td>&nbsp; - curl support (Not required but external torrents may scrape faster)</td>
<td><?php echo function_exists('curl_init') ? '<b><font color="green">Available</font></b>' : '<b><font color="red">Unavailable</font></b>'; ?></td>
</tr>
<tr>
<td>&nbsp; - openSSL (for the torrent encryption mod)</td>
<td><?php echo extension_loaded('openssl') ? '<b><font color="green">Available</font></b>' : '<b><font color="red">Unavailable</font></b>'; ?></td>
</tr>
<tr>
<td>&nbsp; - bcmath support (Required for IPv6)</td>
<td><?php echo extension_loaded('bcmath') ? '<b><font color="green">Available</font></b>' : '<b><font color="red">Unavailable</font></b>'; ?></td>
</tr>
<tr>
<td>app/config/config.php</td>
<td> <?php
   if (@file_exists('../config/config.php') && @is_writable(APPROOT.'/config/config.php')) {
       echo '<b><font color="red">Writeable</font></b><br />Warning: leaving app/config/config.php writeable is a security risk';
   } else {
       echo '<b><font color="green">Unwriteable</font></b>';
   } ?>
</td>
</tr>
<tr>
<td>Document Root<br /><i><font size="1">(Use this for your PATHS in app/config/config.php)</font></i></td>
<td><?php echo str_replace('\\', '/', getcwd()) ?></td>
</tr>
</table>
<table>
<tr>
<td>

<p>These settings are recommended for PHP in order to ensure full compatibility!.
However, it will still operate if your settings do not quite match the recommended.</p>
</td>
</tr>
</table>

<table cellpadding="3" cellspacing="1" style="border-collapse: collapse" border="1">
<tr><th width="500px">Directive</th><th>Recommended</th><th>Actual</th></tr> <?php
$php_recommended_settings = array(
   array('Safe Mode', 'safe_mode', 'OFF'),
   array('Display Errors (Can be off, but does make debugging difficult.)', 'display_errors', 'ON'),
   array('File Uploads', 'file_uploads', 'ON'),
   array('Register Globals', 'register_globals', 'OFF'),
   array('Output Buffering', 'output_buffering', 'OFF'),
   array('Session auto start', 'session.auto_start', 'OFF'),
   array('allow_url_fopen (Required for external torrents)', 'allow_url_fopen', 'ON'),
);
foreach ($php_recommended_settings as $phprec) { ?>
<tr>
<td><?php echo $phprec[0]; ?>:</td>
<td><?php echo $phprec[2]; ?>:</td>
<td><b> <?php
   if (get_php_setting($phprec[1]) == $phprec[2]) { ?>
<font color="green"> <?php
   } else { ?>
<font color="red"> <?php
   }
   echo get_php_setting($phprec[1]); ?>
   </font></b></td>
   </tr> <?php
} ?>
</table>
<table>
<tr>
<td>
<p>Directory and File Permissions Check:</p>
</td>
</tr>
</table>
<table cellpadding="3" cellspacing="1" style='border-collapse: collapse' border="1" > <?php
writableCell('uploads/avatars');
writableCell('uploads/thumbnail'); ?>
</table>
<table>
<tr>
<td>

<?php

echo "<p>DB Connection Check:<p>";
try {
   $link = new PDO('mysql:host=' . DB_HOST . ';dbname=' . DB_NAME, DB_USER, DB_PASS);
   $link->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (PDOException $e) {
   echo "<font color='#ff0000'><b>Failed to connect to database:</b></font> (%d) %s<br />" . $e->getMessage();
}
echo "<font color='#00cc00'><b>Database Connect </b></font>";

echo "<p>Check SQL Mode:<p>";
$stmt = $link->query("SHOW VARIABLES LIKE 'sql_mode'")->fetch();
if (!$stmt) {
   echo "<font color='#ff0000'><b>SQL Mode:</b></font>&nbsp;&nbsp;";
   echo "Error Getting SQL Mode<br><br>";
} else {
echo "<font color='#00cc00'><b>SQL Mode:</b></font>&nbsp;&nbsp;";
   echo $stmt[1]."<br><br>";
}

echo "<p>Table Status Check:<p>";
echo "</td></tr></table>";
$stmt = $link->prepare("SHOW TABLES");
$stmt->execute();
if (!$stmt) {
   echo "<font color='#ff0000'><b>Failed to list tables:</b></font>";
} else {
   $tables = array();
   while ($rr = $stmt->fetch()) {
       $tables[] = $rr[0];
   }
   $arr = ["addedrequests","attachments","bans","bookmarks","bonus","blocks","categories","censor","clients","comments","completed"
           ,"countries","email_bans","faq","files","forumcats","forum_posts","forum_forums","forum_readposts"
           ,"forum_topics","friends","groups","guests","iplog","languages","likes","log","messages","news"
           ,"peers","pollanswers","polls","ratings","reports","requests","rules","snatched","shoutbox","staffmessages"
           ,"stylesheets","tasks","teams","thanks","tmdb","torrentlang","torrents","users","warnings"];
   echo "<table cellpadding='3' cellspacing='1' style='border-collapse: collapse' border='1'>";
   echo "<tr><th>Table</th><th>Status</th></tr>";
   foreach ($arr as $t) {
       if (!in_array($t, $tables)) {
           echo "<tr><td>$t</td><td align='right'><font color='#ff0000'><b>MISSING</b></font></td></tr>";
       } else {
           echo "<tr><td>$t</td><td align='right'><font color='green'><b>OK</b></font></td></tr>";
       }
   }
   echo "</table>";
}
$link = null; ?>
</body>
</html>

Proposal — 2022-03-21 17:52:12 in General Chat
From some reason I got a white page now.
https://louie.eu.org/check.php working well but index page is blank


wrrrrhhhhhh

show must go on
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: 3
  • Members: 0
  • Guests online: 3
  • Comments: 3
  • Messages: 1,728