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

@STorrents2020

bootstrap overriding the overflow and there we can make some changes for:

.col-md-2 {
 flex: 0 0 auto;
 width: 16.66666667%;
 border: 1px solid #333;
}


and

.col-md-10 {
 flex: 0 0 auto;
 width: 83.33333333%;
 border: 1px solid #333;
}


and

.col-md-3 {
 flex: 0 0 auto;
 width: 25%;
 border: 1px solid #333;
}


.col-md-9 {
 flex: 0 0 auto;
 width: 25%;
 border: 1px solid #333;
}


so forum topic can have some "borders"

we can remove text-align: justify

and add !important behind width and height

 height: 24px !mportant;
 width: 24px !important;

in my case it working well without !important part
My sugestion:
in css change:

.ttbbcode {
 height: 24px;
 width: 24px;
 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
 background-color: #4f5165;
 border-radius: 3px;
 margin: 5px 5px;
 text-align: justify;
 padding: 3px;
 }



and bbcode_helper.php is attached


session time — 2022-12-23 08:54:31 in v3 Support
@dranivil
I have to be completely honest
I also use Cloudflare and use TT 2.08 (modified) but never faced similar problems.

If you have the problems as you have mentioned them, it is best to "pause" Cloudflare or change settings to make them work.

If you have found the way that it works with certain "disconnected" services on Cloudflare use them there is no danger to your project, it works.

I've had problems with Cloudflare and my announce.php and immediately decided to turn off some settings there.

Anyone who wants to hack into my page doesn't have to put in much effort, I can give this person all my data as an admin.

It's better that way than them "messing up" the rest of the server
session time — 2022-12-22 12:40:51 in v3 Support
@dranivil

Try to install another script as subdomain and test it
if it works nice, you got it if not, you have browser problem
rss feed — 2022-12-20 13:38:34 in v3 Mods Requests
New RSS feed with poster



place rss.php and xml.css in root directory
cosumize colors of table in rss.php on line 175

enjoy


session time — 2022-12-20 12:07:27 in v3 Support

function logincookie($id, $password, $secret, $remember = false, $updatedb = 1, $expires = 0x7fffffff) {
if ( !$remember ) $expires = null;
$hash = sha1($id.$secret.$password.getip().$secret);
setcookie("pass", $hash, $expires, "/");
setcookie("uid", $id, $expires, "/");
if ($updatedb)
SQL_Query_exec("UPDATE users SET last_login = '".get_date_time()."' WHERE id = $id");
}

function logoutcookie() {
setcookie("pass", null, time(), "/");
setcookie("uid", null, time(), "/");
}


Test this and check your theme header.php if you have something there too

PS
What themes are you using and what script is it too
I forgot the avatar picture and it's in the chat now

Tested and working well, BUT

first of all you use very OLD code with mysql (change all of mysqli to mysql)
secound go to: https://fontawesome.com and make your own KIT

in the line 95 and change this

<script src="https://kit.fontawesome.com/0868fc9509.js" crossorigin="anonymous"></script>


and put your own link from font awesome, please



<?php
#================================#
#       TorrentTrader 2.08       #
#  http://www.torrenttrader.uk   #
#--------------------------------#
#       Modified by M-Jay        #
#================================#

require_once("backend/functions.php");
dbconn();
?>

<body onLoad="document.getElementById('id_input').blur()">
<script language="Javascript" type="text/javascript">
<!--
function Reply_code(smile,form,text){
document.forms[form].elements[text].value = document.forms[form].elements[text].value+" "+smile+" ";
document.forms[form].elements[text].focus();
}
//-->
</script>

<?php

if ($site_config['SHOUTBOX']){

//DELETE MESSAGES
if (isset($_GET['del'])){

if (is_numeric($_GET['del'])){
$query = "SELECT * FROM shoutbox WHERE msgid=".$_GET['del'] ;
$result = SQL_Query_exec($query);
}else{
echo "invalid msg id STOP TRYING TO INJECT SQL";
exit;
}

$row = mysqli_fetch_row($result);

if ($row && ($CURUSER["edit_users"]=="yes" || $CURUSER['username'] == $row[1])) {
$query = "DELETE FROM shoutbox WHERE msgid=".$_GET['del'] ;
write_log("<b><font color='orange'>Shout Deleted: </font> Deleted by   ".$CURUSER['username']."</b>");
SQL_Query_exec($query);
}
}

//INSERT MESSAGE
if (!empty($_POST['message']) && $CURUSER) {
$_POST['message'] = sqlesc($_POST['message']);
$query = "SELECT COUNT(*) FROM shoutbox WHERE message=".$_POST['message']." AND user='".$CURUSER['username']."' AND UNIX_TIMESTAMP('".get_date_time()."')-UNIX_TIMESTAMP(date) < 30";
$result = SQL_Query_exec($query);
$row = mysqli_fetch_row($result);

if ($row[0] == '0') {
$query = "INSERT INTO shoutbox (msgid, user, message, date, userid) VALUES (NULL, '".$CURUSER['username']."', ".$_POST['message'].", '".get_date_time()."', '".$CURUSER['id']."')";
SQL_Query_exec($query);
}
}

//GET CURRENT USERS THEME AND LANGUAGE
if ($CURUSER) {
$ss_a = @mysqli_fetch_array(@SQL_Query_exec("select uri from stylesheets where id=" . $CURUSER["stylesheet"]));

if ($ss_a)
$THEME = $ss_a["uri"];
$lng_a = @mysqli_fetch_array(@SQL_Query_exec("select uri from languages where id=" . $CURUSER["language"]));

if ($lng_a)
$LANGUAGE = $lng_a["uri"];

//replace [url] tags with a proper link
$msg = preg_replace("/\[url\]([^[]+)\[\/url\]/i","<a href=\"\\1\" target=\"_blank\">\\1</a>",$msg);

} else {
//not logged in so get default theme/language
$ss_a = mysqli_fetch_array(SQL_Query_exec("select uri from stylesheets where id='" . $site_config['default_theme'] . "'"));

if ($ss_a)
$THEME = $ss_a["uri"];
$lng_a = mysqli_fetch_array(SQL_Query_exec("select uri from languages where id='" . $site_config['default_language'] . "'"));

if ($lng_a)
$LANGUAGE = $lng_a["uri"];
}
// End
if(!isset($_GET['history'])){
?>
<!doctype html public "-//W3C//DTD HTML 4.0 //EN">
<title><?php echo $site_config['SITENAME'] . T_("SHOUTBOX"); ?></title>
<?php /* If you do change the refresh interval, you should also change index.php printf(T_("SHOUTBOX_REFRESH"), 5) the 5 is in minutes */ ?>

<meta http-equiv="refresh" content="300" />
<link rel="stylesheet" type="text/css" href="<?php echo $site_config['SITEURL']?>/themes/<?php echo $THEME; ?>/theme.css" />
<script type="text/javascript" src="<?php echo $site_config['SITEURL']; ?>/backend/java_klappe.js"></script>
<script src="https://kit.fontawesome.com/0868fc9509.js" crossorigin="anonymous"></script>
<?php echo '<div class="shoutbox_body">'; ?>

<?php
echo '<div class="shoutbox_contain"><table border="0" style="width: 99%; table-layout:fixed">';
}else{

   if ($site_config["MEMBERSONLY"]) {
       loggedinonly();
   }

stdhead("Shoutbox History");
begin_frame(T_("SHOUTBOX_HISTORY"));
echo '<div class="shoutbox_history">';

$query = 'SELECT COUNT(*) FROM shoutbox';
$result = SQL_Query_exec($query);
$row = mysqli_fetch_row($result);
echo '<div align="center">Pages: ';
$pages = round($row[0] / 100) + 1;
$i = 1;
while ($pages > 0){
echo "<a href='".$site_config['SITEURL']."/shoutbox.php?history=1&page=".$i."'>[".$i."]</a> ";
$i++;
$pages--;
}

echo '</div><br /><table border="0" style="width: 99%; table-layout:fixed">';
}

if (isset($_GET['history'])) {
if (isset($_GET['page'])) {
if($_GET['page'] > '1') {
$lowerlimit = $_GET['page'] * 100 - 100;
$upperlimit = $_GET['page'] * 100;
}else{
$lowerlimit = 0;
$upperlimit = 100;
}
}else{
$lowerlimit = 0;
$upperlimit = 100;
}
$query = 'SELECT * FROM shoutbox ORDER BY msgid DESC LIMIT '.$lowerlimit.','.$upperlimit;
}else{
$query = 'SELECT * FROM shoutbox ORDER BY msgid DESC LIMIT 40';
}
if ($CURUSER) {

//check for new pm's

$res = SQL_Query_exec("SELECT COUNT(*) FROM messages WHERE receiver=" . $CURUSER["id"] . " and unread='yes' AND location IN ('in','both')");

$arr = mysqli_fetch_row($res);

$unreadmail = $arr[0];

if ($unreadmail)

print("<font color='#ff0000' size='3'><b><center><blink>You Got A New PM </font>[<a href='mailbox.php?inbox' target='_blank'>$unreadmail</a>]</blink></center></b></a></font>  ");

}

$result = SQL_Query_exec($query);
$alt = false;

while ($row = mysqli_fetch_assoc($result)) {
if ($alt){
echo '<tr class="shoutbox_noalt">';
$alt = false;
}else{
echo '<tr class="shoutbox_alt">';
$alt = true;
}

echo '<td style="font-size: 9px; width: 135px;">';
echo "<div align='left' style='float: left'>";

echo date('jS M, g:ia', utc_to_tz_time($row['date']));
$reply = "<a href=javascript:Reply_code('@ ".$row['user'].",','shoutboxform','message')><i class='fas fa-reply-all' style='color:gold;font-size:18px;'></i></a>";

$ol3 = @mysqli_fetch_array(SQL_Query_exec("SELECT avatar FROM users WHERE id=".$row["userid"]));
$av=$ol3['avatar'];
if(!empty($av)){
$av="<img src='".$ol3[avatar]."' alt='my_avatar' width='27' height='27'>";
}else{
$av="<img src='images/default_avatar.png' alt='my_avatar' width='27' height='27'>";
}
if($row['userid']==0){
$av="<img src='images/default_avatar.png' alt='default_avatar' width='27' height='27'>";
}
@mysqli_free_result($ol3);

echo "</div>";
if ( ($CURUSER["edit_users"]=="yes") || ($CURUSER['username'] == class_user($row['user'])) ){
echo "<div align='right' style='float: right'>  ".$reply."  <a href='".$site_config['SITEURL']."/shoutedit.php?action=edit&msgid=".$row['msgid']."'><i class='far fa-edit' style='color:green;font-size:18px;'></i></a>  <a href='".$site_config['SITEURL']."/shoutbox.php?del=".$row['msgid']."'><i class='far fa-trash-alt' style='color:red;font-size:18px;'></i></a>&nbsp; ".$av." &nbsp;</div>";
}
echo "<div align='right' style='float: right'></div>";
echo '</td><td style="font-size: 20px; padding-left: 5px"><a href="'.$site_config['SITEURL'].'/account-details.php?id='.$row['userid'].'" target="_parent"><b>'.class_user($row['user']).':</b></a>  '.nl2br(format_comment($row['message']));
echo '</td></tr>';
}
?>

</table>
</div>
<br />

<?php

//if the user is logged in, show the shoutbox, if not, dont.
if(!isset($_GET['history'])) {
if (isset($_COOKIE["pass"])){
echo "<form name='shoutboxform' action='shoutbox.php' method='post' autocomplete='off'>";
echo "<center><table width='100%' border='0' cellpadding='1' cellspacing='1'>";
echo "<tr class='shoutbox_messageboxback'>";
echo "<td width='75%' align='center'>";
echo "<input id='id_input' type='text' name='message' class='shoutbox_msgbox' placeholder='".T_("chat here")."' />";
echo "</td>";
echo "<td>";
echo "<input type='submit' name='submit' value='".T_("SHOUT")."' class='shoutbox_shoutbtn' />";
echo "</td>";
echo "<td>";
       echo '<a href="javascript:PopMoreSmiles(\'shoutboxform\', \'message\');"><small>'.T_("MORE_SMILIES").'</small></a>';
       echo ' <small>-</small> <a href="javascript:PopMoreTags();"><small>'.T_("TAGS").'</small></a>';
echo "<br />";
echo "<a href='shoutbox.php'><small>".T_("REFRESH")."</small></a>";
echo " <small>-</small> <a href='".$site_config['SITEURL']."/shoutbox.php?history=1' target='_parent'><small>".T_("HISTORY")."</small></a>";
echo "</td>";
echo "</tr>";
echo "</table></center>";
echo "</form>";
}else{
echo "<br /><div class='shoutbox_error'>".T_("SHOUTBOX_MUST_LOGIN")."</div>";
}
}


if(!isset($_GET['history'])){
       echo "<script src='".$site_config["SITEURL"]."/scripts/anon.js' type='text/javascript'></script>
<script type='text/javascript'><!--
protected_links = '".$site_config["SITEURL"]."';

auto_anonymize();
//--></script></BODY></HTML>";
}else{
       end_frame();
       stdfoot();
}


}//END IF $SHOUTBOX
else{
echo T_("SHOUTBOX_DISABLED");
}
?>
session time — 2022-12-18 22:32:23 in v3 Support
you can check config.php for
http://
and
https://
Birthday V3 — 2022-12-16 21:29:24 in v3 Mods Requests
The easiest thing is that you do it during registration (as I have done)
When the user registers, this person must enter their date of birth as shown in the image below.
If you need the code for that, I'll copy my part of this and share with you guys, of course



@STorrents2020
to change PHPMyadmin theme download them first here  

https://www.phpmyadmin.net/themes/

how to tutorial

https://www.youtube.com/watch?v=nqUN3s3_s-4
If the website is slow, it can't be just because of MariaDB, it can also be that the server is slow, that you have an older PHP version, JS, CSS, pictures, links and lots of other things. Start checking if you have "large files" on the server (clean log files regularly), activate memcache(d) or similar
OK interesting idea,
can we develop it in such a way that we directly "import" genre from iMDB to sql database?
@MicroMonkey
why to put in that in sql database, why not read that FROM iMDB genre
Of course it is necessary these days to use VPN or proxy but there are many who abuse this possibility on private trackers and enjoy registering the double account and that was my purpose of the question. Thanks for all the replies guys
Something going on here, maybe as M-Jay saw before "provider has update his SQL"

My suspicions are that BB-CODE has some bug
Someone who has tested it?
download problem — 2022-11-15 22:28:07 in v3 Support
Test that combination:


//if user dont have a passkey generate one, only if tracker is set to members only
if ($site_config["MEMBERSONLY"]){
       if (strlen($CURUSER['passkey']) != 32) {
       $rand = array_sum(explode(" ", microtime()));
       $CURUSER['passkey'] = md5($CURUSER['username'].$rand.$CURUSER['secret'].($rand*mt_rand()));
       SQL_Query_exec("UPDATE users SET passkey='$CURUSER[passkey]' WHERE id=$CURUSER[id]");
       }
}

// local torrent so add passkey

if ($row["external"]!='yes' && $site_config["MEMBERSONLY"]) {    
       $dict = BDecode(file_get_contents($fn));
       $dict['announce'] = sprintf($site_config["PASSKEYURL"], $CURUSER["passkey"]);
       unset($dict['announce-list']);

       $data = BEncode($dict);

       header('Content-Disposition: attachment; filename="'.$name.'"');

       header('Content-Length: ' . strlen($data));

       header("Content-Type: application/x-bittorrent");

       print $data;

}
else
{    
// external  torrent so add passkey

       $data[ ] = Array( sprintf( $site_config['PASSKEYURL'], $CURUSER['passkey'] ) );

       $dict = BDecode( file_get_contents( $fn ) );

if ( ! ( is_array( $dict[ 'announce-list' ] ) ) )
  {
       $dict[ 'announce-list' ][ ] = Array( $dict[ 'announce' ] );
  }

       $dict[ 'announce-list' ] = array_reverse( array_merge( $dict[ 'announce-list' ], $data ) );

       header('Content-Disposition: attachment; filename="'.$name.'"');

       header('Content-Length: ' . filesize($fn));

       header("Content-Type: application/x-bittorrent");

       readfile($fn);

       echo BEncode($dict);
}
download problem — 2022-11-14 10:14:42 in v3 Support
I'm happy to help but the code is not mine you have MicroMonkey to thank for this

PS
Selv tak
download problem — 2022-11-14 10:01:24 in v3 Support
I assume you mean about extent torrent in the source code:


//if user dont have a passkey generate one, only if tracker is set to members only
if ($site_config["MEMBERSONLY"]){
if (strlen($CURUSER['passkey']) != 32) {
$rand = array_sum(explode(" ", microtime()));
$CURUSER['passkey'] = md5($CURUSER['username'].$rand.$CURUSER['secret'].($rand*mt_rand()));
SQL_Query_exec("UPDATE users SET passkey='$CURUSER[passkey]' WHERE id=$CURUSER[id]");
}
}

if ($row["external"]!='yes' && $site_config["MEMBERSONLY"]){    // local torrent so add passkey
$dict = BDecode(file_get_contents($fn));
$dict['announce'] = sprintf($site_config["PASSKEYURL"], $CURUSER["passkey"]);
unset($dict['announce-list']);

   $data = BEncode($dict);
   
header('Content-Disposition: attachment; filename="'.$name.'"');

header("Content-Type: application/x-bittorrent");

print $data;

}else{        // external torrent so no passkey needed
 
header('Content-Disposition: attachment; filename="'.$name.'"');

   header('Content-Length: ' . filesize($fn));  
   
header("Content-Type: application/x-bittorrent");

readfile($fn);
}


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