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
TT 3.8.3 PHP8 (Not completed)
Nothing found.
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / V4 / Downloads & Updates

2025-10-28 22:14:51
Since many people can't wait for a new version of TT for PHP8 to be released, I've decided to release an UNFINISHED version, since I don't have much time to fix all the error messages. It's based on M-Jay's source code and MicroMonkey's changes to it.

I want to point out again, IT IS NOT FINISHED YET... we need as many people as possible to help us fix it.

- Shotbox works
- Torrent upload works
- Torrent details works
- Torrent edit works
- Admin CP works (partially)
- Registration works
- Invite works
- Forums works
- Block (some don't work)

Download unfinished PHP8 version


www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
Last edited by Botanicar on 2025-10-29 07:17:43
2025-10-29 08:35:54
Thanks mate.
------------------------------------------------------------
I successfully integrated SCEditor into TorrentTrader.
And now it looks better








Last edited by coco on 2025-10-29 09:20:28
2025-10-29 19:39:45
Yahoo!! Thank you so much, M-Jay's, MicroMonkey's, Botanicar, coco...I'll gladly help!  👍  😉

Can you tell me what changes you would like us to make to avoid using large images, pages and lengthy scripts that end up being even longer on the post, in order to present it cleanly?
Last edited by spiritblue on 2025-10-29 20:41:34
2025-10-29 23:45:53
This is great. Having everyone help will speed it up. I will be able to help soon, but you all are doing great. Thanks for all the updates  😊
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
2025-10-30 07:38:56
Thanks again;
my plan is that we use as little as possible the images on the tracker especially the big ones.

My plan is that we "scrap" them from iMDB or TMDB in the form of linking them to the torrent details and balloon popup (or whatever)...

After all the small icons are replaced by either fontawesome icons or flat icons then we have room for everything else.

The day stylizing of the theme is focused on bootstrap, css and small parts of HTML coding...

I think the simpler it gets the better for working with it ...

So to remind you again, thanks to M-Jay, Micro Monkey, Coco, Golum, Spiritblue and everyone else who has helped us take a step forward with the projects.










www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2025-10-30 09:48:08
Fixed small errors in admin.php and account.php
so you need to replace existing files with them two ...

1. account.php
2. admincp.php


www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2025-10-30 14:16:31
Thanks mate
-----------------------------------------------------------------------
Need to be installed this Mod https://torrenttrader.uk/post/9734

I successfully upgraded the IMDB integration to be compatible with PHP 8.4



IMDB Mod working with php8.4
------------------------------------------------------------
First and important add this function in backend/functions.php:


spl_autoload_register(function ($f) {
   require_once('backend/' . $f . '.php');
});


Change file TTIMDB.php like this:
-------------------------------------------------------------

<?php

class TTIMDB
{
   private $_nodes = ['https://www.omdbapi.com/?apikey=YOUR_OMDB_KEY&i=%s'];

   public function get($uri = null)
   {
       if (preg_match('#tt(\d+)#', $uri, $m)) {
           return $this->_try($m[0]);
       }
       return false;
   }

   private function _try($id)
   {
       for ($i = 0; $i < count($this->_nodes); $i++) {
           if ($data = $this->_request($id, $i)) {
               return $data;
           }
       }
       return false;
   }

   private function _request($id, $i)
   {
       $ch = curl_init();
       if ($ch) {
           curl_setopt($ch, CURLOPT_URL, sprintf($this->_nodes[$i], $id));
           curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
           curl_setopt($ch, CURLOPT_TIMEOUT, 5);
           curl_setopt($ch, CURLOPT_USERAGENT, 'TT API Client v1.0');
           curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
           $data = curl_exec($ch);
           curl_close($ch);
           return !empty($data) ? $this->_parse($data) : false;
       }
       return false;
   }

   private function _parse($data)
   {
       $info = json_decode($data);
       return ($info && !isset($info->Error)) ? $info : false;
   }

   public function getImage($poster, $id) {
       return (!empty($poster) && $poster !== "N/A")
           ? $poster
           : "images/imdb/no-poster.png";
   }

   public function getRating($rating) {
       return (!empty($rating) && $rating !== "N/A")
           ? $rating . "/10"
           : null;
   }

   public function renderStars10($rating) {
   if (empty($rating) || $rating === "N/A") {
       return '<span class="no-rating">Not rated</span>';
   }

   $stars = round($rating);
   $html = '<div class="stars">';
   for ($i = 1; $i <= 10; $i++) {
       $html .= ($i <= $stars)
           ? '<span class="star full">★</span>'
           : '<span class="star empty">☆</span>';
   }
   $html .= " <span class=\"rating-text\">($rating/10)</span></div>";
   return $html;
}


   public function getRated($rated) {
       return (!empty($rated) && $rated !== "N/A")
           ? $rated
           : "Unrated";
   }

   public function getReleased($released) {
       return (!empty($released) && $released !== "N/A")
           ? $released
           : "Unknown";
   }

   public function getUpdated($timestamp) {
       return !empty($timestamp)
           ? date("d-m-Y H:i", $timestamp)
           : "n/A";
   }
}
?>

------------------------------------------------------------------
In torrents-details.php add in IMDB part like this:


      //===| Start IMDb
$TTIMDB = new TTIMDB;

if ((($_data = $TTCache->Get("imdb/$id", 900)) === false) && ($_data = $TTIMDB->Get($row['imdb'])))
{
$_data->Poster = $TTIMDB->getImage($_data->Poster, $id);
if ( ! isset( $_data->imdbTime ) )
{
$_data->imdbTime = time();
$_data->imdbVideo = null;
}
$TTCache->Set("imdb/$id", $_data, 900);
}

if ( is_object($_data) ): ?>
<fieldset class="download">
<legend><b><?php echo T_("IMDB_SHORT"); ?></b> • <?php echo $_data->Title; ?></legend>                                                        
<table border="0" cellpadding="5" cellspacing="0" width="100%">
<tr>
<td width="230"><img src="<?php echo $_data->Poster; ?>" alt="<?php echo $_data->Title; ?>" title="<?php echo $_data->Title; ?>"class="polaroid" height="350px" width="244px" /></td>
<td valign="top">
<?php if (($rating = $TTIMDB->getRating($_data->imdbRating)) !== null) { ?>
<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td>
<div class="f-border imdb-box" style="padding:7px; margin-bottom:10px">
<table border="0" cellpadding="3" cellspacing="0">
<tr><td colspan="2"><?php echo $TTIMDB->renderStars10($_data->imdbRating); ?></td></tr>
<tr><td width="1%"><b><?php echo T_("IMDB_RATED"); ?></b>:</td><td> <?php echo $TTIMDB->getRated( $_data->Rated ); ?></td></tr>
<tr><td width="1%"><b><?php echo T_("IMDB_VOTES"); ?></b>:</td><td> <?php echo $_data->imdbVotes; ?> </td></tr>
</table>
</div>
</td></tr></table>
<?php } else { ?>
<table border="0" cellpadding="0" cellspacing="0"><tr><td>
<div class="f-border" style="padding:7px; margin-bottom:10px">
<table border="0" cellpadding="3" cellspacing="0">
<tr><td><img src="images/imdb/00.png" border="0"></td></tr>
<tr><td><?php echo T_("NOT_YET_RATED"); ?>...</td></tr>
</table>
</div>
</td></tr></table>.........



This is the important lines: !!!(need to be changed like this):

<div class="f-border imdb-box" style="padding:7px; margin-bottom:10px">
<tr><td colspan="2"><?php echo $TTIMDB->renderStars10($_data->imdbRating); ?></td></tr>

-------------------------------------------------------------------------------
In theme.css add this:

.stars {
   font-size: 20px;
   color: gold;
   display: inline-block;
}
.star.empty {
   color: #ccc;
}
.no-rating {
   color: #999;
   font-style: italic;
}

.imdb-box {
   width: 100%;
   max-width: 600px;
}

.rating-text {
   font-size: 14px;
   color: #ffd700;
   margin-left: 6px;
   vertical-align: middle;
}

PS: File imdb.class.php no need in this case, rename or delete.
Thats all.

Regards from me


Last edited by coco on 2025-10-30 22:55:29
2025-10-30 22:37:52
Thanks Coco, but we can only implement this change if we have iMDB MOD, otherwise it's a futile job.
I'll try to push the iMDB part in the next few days so I'll come back to the forum with the result.

The default theme is almost finished and it won't have any images in it, just css


www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2025-10-30 22:51:54
Of course you need to have the IMDB mod installed on the tracker, otherwise this cannot work. I think that goes without saying.
2025-10-31 10:33:58
Default theme toggle from dark to light and back... icon on right corner of the header part... (can easy be fixed to another place to)







www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2025-10-31 17:28:00
To test it and see how it works you can visit this link, registrations is open and upload is allowed too ...

https://maxvonsydow.eu.org

Welcome


www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2025-11-01 01:05:09
Hey everyone! Your SQL gave me a bit of a headache, so here's the corrected version.

tt_php_8_db.zip
Download

Last edited by spiritblue on 2025-11-01 01:05:24
2025-11-01 15:22:11
Whole working project WITHOUT any MOD's is here:

https://github.com/ExYuSubs/TT-v3.8.3

Regards to all of you


www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2025-11-01 16:18:20
Default theme is fixed and working well:












www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
Last edited by Botanicar on 2025-11-01 16:19:05
2025-11-01 19:28:16
Hi MicroMonkey, unfortunately I don't have permission to do anything more here so I had to create a new thread under the existing forum. We can call the new project the bucket only if it works and the public has access to it and it works.

I ask all of you to come back with any suggestions and bugs as soon as you see them, your feedback is very welcome...

Sharing is caring my friends


www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
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