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

Previews don't work — 2023-03-24 10:03:32 in v3 Support
just chmod the whole site folder to 777 recursive making sure you are using www:data or equivalent and see if anything changes, if it does, then start walking it backwards. I think 755 is fine for most files except the ones listed in the config check thingy.
New_Theme — 2023-03-22 16:08:58 in v3 Themes
I knew it was going to be silly. Thanks so much for finding that. I didnt even think of that. I was sitting here getting a headache looking through the debugger banging my head on the desk haha.  Its always nice to have someone else look at stuff, too much to catch for one person most times
New_Theme — 2023-03-22 15:06:43 in v3 Themes
@Botanicar
It has to be something so silly, but I'll be damned if I can find it. The default theme works but nothing else does? If you have any luck, let me know. I'll keep checking
New_Theme — 2023-03-21 18:32:17 in v3 Themes
you guys are correct, it dont work on the TTv3 Github for some reason....hmm, very odd. Im trying to figure it out. Odd thing is it works fine on my modded copy, but then again, I have made lots of edits on my own copy of TT. I'll keep trying to figure it out. It has to be some javascript or some other scripting thats missing.
Previews don't work — 2023-03-20 20:11:33 in v3 Support
The other thing to also consider is chown the whole thing to www-data. Thats the web user group with all needed permissions. I dont know what you are using, but its this way for ubuntu, and I will assume other nix variants. sudo chown -R www-data:www-data /var/www/yoursite_folder
I was thinking this, but I didnt test it. Basically the same as m-jay
if (!$site_config["ALLOWEXTERNAL"] && $external == 'yes' && $CURUSER["class"] >= 4) {
   $message = T_("UPLOAD_NO_TRACKER_ANNOUNCE");
}

change the 4 to whatever classes you use, or you could change it to =4 removing the > to isolate it to one class of user
or maybe multiple exactly specified classes like
if (!$site_config["ALLOWEXTERNAL"] && $external == 'yes' && ($CURUSER["class"] == 4 || $CURUSER["class"] == 7)) {
   $message = T_("UPLOAD_NO_TRACKER_ANNOUNCE");
   }

again, I didnt test this, Im just going off the idea that m-jay had
IMDb Mod [TTv3] — 2023-03-15 10:34:14 in v3 Mods Completed
hmm, that should work. It works on mine. Maybe its because I add that plot description to the database in my file. At top of the file above all the require_once
const DEFAULT_DESCRIPTION = 'No description given.';

then somewhere else in the file
/////ADD a description pulled from the IMDB plot and put it in mysql as the descr
if ($row['descr'] === DEFAULT_DESCRIPTION) {
$stmt = $GLOBALS['DBconnector']->prepare('UPDATE `torrents` SET `descr` = ? WHERE `id` = ?');
$stmt->bind_param('si', $_data->Plot, $id);
$stmt->execute();
$stmt->close();
}

I attach my file for you to look at and see. It has more things than you use, but should give a reference
IMDb Mod [TTv3] — 2023-03-15 01:25:22 in v3 Mods Completed
post your torrents-details. I know that will work, so Im confused and want to see
IMDb Mod [TTv3] — 2023-03-14 22:29:09 in v3 Mods Completed
no way that I know of to get french lang with omdb unfortunately. Also, dont forget to try this
if (!$_data->Plot) {
print("<tr><td align='left' colspan='2'><b>" .T_("DESCRIPTION"). ":</b><br />" .  format_comment($row['descr']) . "</td></tr>\n");
}
IMDb Mod [TTv3] — 2023-03-12 16:19:14 in v3 Mods Completed
wrap the entire print.
if (!$_data->Plot) { 
print("<tr><td align='left' colspan='2'><b>" .T_("DESCRIPTION"). ":</b><br />" .  format_comment($row['descr']) . "</td></tr>\n");
}
IMDb Mod [TTv3] — 2023-03-12 09:50:21 in v3 Mods Completed
perhaps something like this?
<?php	if (!$_data->Plot) { ?>
       <b><?php echo T_("DESCRIPTION"); ?></b><br /> <?php echo format_comment( $row['descr'] ); ?><br /><br />
<?php } ?>
Ahh, I was working under the assumption you had that disabled already. If you are using the latest check file from github, it will display your SQL mode. I added that check to it to make it convenient to see your status. This may help. Step 2 is best.  https://www.linode.com/community/questions/17070/how-can-i-disable-mysql-strict-mode
very odd, try this. remove the id, its set to auto increment anyway, so this *should* work. Test and see, but im still confused. Did you try the SQL I posted above? If you are not using utf8mb4, then maybe you would want the sql I posted, but I cant say for 100% certainty. For some reason your id is returning empty string
SQL_Query_exec("INSERT INTO commonpot (userid, points, added) VALUES('', $CURUSER[id], $_POST[seedbonus], '" . get_date_time() . "')");
also, I made some edits to the index.php code edits. I feel its better, but just my opinion. Also the input is sanitized for numbers only in the files above. Avoid potential issues. Thanks to OXYDE for creating this mod
//Common Pot (By OXYDE - torrenttrader.uk)
if ($site_config['COMMONPOT']){
  begin_frame(T_("COMMONPOT"));
 
  $res_commonpot = SQL_Query_exec("SELECT SUM(points) AS total FROM commonpot");
  $pot = mysqli_fetch_array($res_commonpot);
  $percent = (($pot["total"] / $site_config["COMMONPOT_SIZE"]) * 100);
 
  $res_commonpot_status = SQL_Query_exec("SELECT * FROM commonpot_status");
  $pot_status = mysqli_fetch_array($res_commonpot_status);
 
  $now = get_date_time();
  $delay = $site_config["FREELEECH_TIME"];
 
  if ($delay >= 8760) {
     $delay = floor($delay / 8760);
     $unit = "years";
  } elseif ($delay >= 720) {
     $delay = floor($delay / 720);
     $unit = "months";
  } elseif ($delay >= 24) {
     $delay = floor($delay / 24);
     $unit = "days";
  } else {
     $unit = "hours";
  }
 
  $duration = date("M j, Y g:i a", strtotime(" + $delay $unit"));
  $stop_date = date("M j, Y g:i a", strtotime("+ $delay $unit", strtotime($pot_status['start_date'])));
 
  if ($pot_status["status"] == "stopped" && $pot["total"] == $site_config["COMMONPOT_SIZE"]) {
     $status_text = "<font color='#00FF00'>The pot is full and freeleech will start in the next few minutes!</font>";
     $participate = "";
  }
 
  elseif ($pot_status["status"] == "started" && $stop_date <= $now) { $status_text = "<font color='#00FF00'>FreeLeech is over and pot will be reset in the next few minutes.</font>"; $participate = ""; }
 
  elseif ($pot_status["status"] == "started") { $status_text = "The pot is full and freeleech is <font color='#BFFF00'><b>ACTIVE</b></font> for <font color='#ffcd03'><b> $delay $unit</b></font> for everyone!<br>It will end on  </b><font color='#FFA500'><b>" . date( "M j, Y g:i a", utc_to_tz_time( $pot_status['stop_date'] ) ) . "</b>"; $participate = "";
   } else {
     $status_text = "$delay $unit of freeleech will be offered for everyone when the common pot is 100% full. Help increase the pot!";
     $participate = "<input type='button' value='Add to the pool' onclick='window.location.href = \"commonpot.php\"'>";
      }
 
  if (empty($pot["total"])) { $pot_total = "0"; } else { $pot_total = $pot["total"]; }
 
  ?>
  <table align='center'><tr><td style='padding: 0px; width: 500px; background-image: url(<?= $site_config["LOADBAR_IMG"] ?>loadbarbg.gif); background-repeat: repeat-x'>
  <?php
  if ($percent <= 40)
  $pic = "loadbarred.gif";
  elseif ($percent <= 70)
  $pic = "loadbaryellow.gif";
  else
  $pic = "loadbargreen.gif";
  $width = $percent * 5;
  $history = "<input type='button' value='Who else contributed?' onclick='window.location.href = \"commonpot-history.php\"'>";

  if ($percent >= .001) {
     echo "<img src='" . $site_config["LOADBAR_IMG"] . $pic . "' height='15' width='$width' alt='$percent%'><div style='position:relative;top:-15px;margin:auto;width:50%;color:#000;text-align:center;font-weight:bold;'>" . $pot_total . " / " . $site_config["COMMONPOT_SIZE"] . " [" . rtrim(rtrim((string)number_format($percent, 3, ".", ""), "0"), ".") . "%]</div><div style='float:right;'><br /><p align='right' style='font-size:13px;color:#FFF;font-weight:bold;'>" . $participate . "</p><p align='right' style='font-size:13px;color:#FFF;font-weight:bold;'><br />".$history."</p></div>" . $status_text;
 } else {
     echo "<img src='" . $site_config["LOADBAR_IMG"] . $pic . "' height='15' width='$width' alt='$percent%'><div style='position:relative;top:-15px;margin:auto;width:50%;color:#000;text-align:center;font-weight:bold;'>" . $pot_total . " / " . $site_config["COMMONPOT_SIZE"] . " [" . rtrim(rtrim((string)number_format($percent, 3, ".", ""), "0"), ".") . "%]</div><div style='float:right;'><p align='right' style='font-size:13px;color:#FFF;font-weight:bold;'>" . $participate . "</p></div>" . $status_text;
 }
  echo "</td></tr>";
  echo "</table>";
 
  end_frame();
  }
  //End Common Pot (By OXYDE - torrenttrader.uk)
I know that my file is not set for your french language, but it works. You can try this to test if you like. I included both files. Also, my files use this in config to turn it off or on.  
$site_config["COMMONPOT"] = false; // Common Pot on/off
SQL — 2023-03-10 00:21:14 in v3 Support
Grab a new copy from github since changes may have been made since you last downloaded
SQL — 2023-03-09 23:30:30 in v3 Support
ALTER TABLE users ADD COLUMN donor enum('yes','no') NOT NULL DEFAULT 'no',
ADD COLUMN total_donated int(10) UNSIGNED NOT NULL DEFAULT 0,
ADD COLUMN donoruntil datetime NOT NULL DEFAULT '0000-00-00 00:00:00';
try
$LANG["EDIT_ACCOUNT_SETTINGS"] = "Edit Account Settings";
your is backwards for some reason. Just change it in languages/english.php
$LANG["ACCOUNT_SETTINGS_EDIT"] = "Edit Account Settings";

Just flip this around to $LANG["EDIT_ACCOUNT_SETTINGS"]
I fixed this on github. Didnt know that was wrong
download.php minor thing — 2023-03-06 23:26:00 in v3 Support
This is very minor and basically insignificant, but if its there, it may as well be correct. find
$friendlyurl = str_replace("http://","",$site_config["SITEURL"]);

change to

$friendlyurl = preg_replace("/^https?:\/\//i", "", $site_config["SITEURL"]);

This just appends the torrent file with your URL and removes the http stuff, but this was only set for http, not https and im sure thats what everyone uses now, but this will work for either. I never paid attention to this either, but I was just scrolling looking for something else and noticed this. You can change it, or not, it dont really matter, just thought I would mention it
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