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
TTv3 Micro Edition
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Download

2021-02-16 21:44:33
Wanna try this and see if I screwed this up? Im only 1 person and I did this over a few days. I dont want to spend alot of time on it, that way I can get back to what I was doing, which is fixing up my own copy. I did pull some updates from what I am doing and put them in this, so hopefully its fine, if not, let me know https://sourceforge.net/projects/ttv3-micro-edition/
This version may have errors in it as I do not work on it anymore
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)
Last edited by MicroMonkey on 2024-08-09 17:00:53
2021-02-16 21:58:56
Thanks MM, I'll try it little later ....

PS
We are always one man on project


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
2021-02-17 17:37:10
Hi MicroMonkey, how to disable that

https://prnt.sc/zvo8ay

cant make account if that is there

Thanks


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
2021-02-17 20:00:05
thanks for the share   :)
Last edited by M-jay warn on 2021-02-17 20:00:18
2021-02-18 12:23:21
error found in torrents-upload.php. Not sure what happened to this line but it vanished in my code. Im doing too much at once lol
find
	if (empty($fname))
$message = T_("EMPTY_FILENAME");

add below
$nfo = 'no';

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)
2021-03-11 06:32:32
If you want to swap out the tablet for the imdb videos, here is a TV image and here is the styling that goes with it. This replaces the styling in torrents-details.php. I didnt change the style name because I already named it tablet and its in the code, and why over complicate an easy thing lol
<style>
.tablet {
   width:488px;
   height: 326px;
   background-size: 100% 100%;
   background-repeat: no-repeat;
   background-image: url(images/imdb/tv.png)  
}

.tablet iframe {
 position: relative;
 top: 34px;
 left: 0px;
 width: 442px;
 height: 235px;
 border: 0 none;
 }
</style>

here is the tv image that goes in images/imdb/
it looks like this https://ibb.co/g6Z2Njr
tv.zip
File missing

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)
Last edited by MicroMonkey on 2021-03-11 08:12:19
2021-05-27 15:14:11
Hello, the installation went well and there is a problem when we want to register we have the error message as below

Database Error. Please report this to an administrator.

under, the error message in the table  sqlerr

Database Error in account-signup.php on line 155: Field 'token' doesn't have a default value. Query was: INSERT INTO users (username, password, secret, email, status, added, last_access, age, country, gender, client, stylesheet, uploaded, downloaded, language, invites, class, ip)




below the code for line 155 in account-signup.php

     SQL_Query_exec("INSERT INTO users (username, password, secret, email, status, added, last_access, age, country, gender, client, stylesheet, uploaded, downloaded, language, invites, class, ip) VALUES (" .
    implode(",", array_map("sqlesc", array($wantusername, $wantpassword, $secret, $email, $status, get_date_time(), get_date_time(), $age, $country, $gender, $client, $site_config["default_theme"], $site_config["new_member_upload_ratio"], 0, $site_config["default_language"], $site_config["new_member_invites"], $signupclass, getip()))).")");





I attach the file account-signup.php , thank you in advance for your help
account-signup.php
File missing
Last edited by niki on 2021-05-27 16:52:19
2021-05-27 17:15:28
Good evening, the problem is back in working order  :D  :thum
2021-06-13 15:17:38
How did you solve the db error?
2021-06-13 18:44:44
Save yourself time on these conditions, use ? :

$token = !empty($token) ? strval($token) : null;

You get a value fill, or a fallback.
Last edited by STorrents2020 on 2021-06-13 18:46:39
2021-06-14 22:11:54
Does it have something to do with the member invites? I thought I fixed that. In config you should have this
$site_config['new_member_upload_ratio'] = 2147483648; //2147483648 = 2GB of upload and inf. ratio to help get started
$site_config['new_member_invites'] = 0 ;


Did I not set a default value in the SQL for this? If not, it should be 0
https://torrenttrader.uk/topic?topicid=9732
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)
Last edited by MicroMonkey on 2021-06-14 22:17:00
2022-01-11 20:46:10
Just for anyone who uses this version, I have updated the imdb trailer code. This will grab the video ID, rather than using the old method I added 10+ years ago. This way you can copy and use whatever link for imdb trailers you find, and it will strip it down to the videoID. Easier than editing the substr when they make changes, at least til they change it again, if ever, but ...
trailer code torrents-details.php

  if ($row["trailers"]) { //eg: https://www.imdb.com/video/vi612877081?playlistId=tt7991608
$IMDBurl = $row["trailers"];
$trailer = explode('/', $IMDBurl);
$video2 = strtok($trailer[4],'?');
       ?>
      <div class="tablet">
      <center><iframe seamless src="https://www.imdb.com/videoembed/<?php echo $video2; ?>"></iframe></center><br />
</div>


my trailers function in functions.php
case 'tube':
$IMDBurl = $row["trailers"];
$trailer = explode('/', $IMDBurl);
$video2 = strtok($trailer[4],'?');
     if ($row["tube"])
           print("<td class='ttable_col$x' align='center'><a rel=\"prettyPhoto\"  href=".$row['tube']." ><".htmlspecialchars($row['tube'])."><img src='" . $site_config['SITEURL'] . "/images/youtube1.png'  border='0' width='50' height='50' title='Click to watch the YouTube Trailer' /></a></td>");
     elseif ($row["trailers"])
           print("<td class='ttable_col$x' align='center'><a rel=\"prettyPhoto[iframes]\"  href=\"http://www.imdb.com/videoembed/". $video2."?ref_=embed&?iframe=true\"><img src='" . $site_config['SITEURL'] . "/images/movietrailers.png'  border='0' width='50' height='50' title='Click to watch the IMDb Trailer' /></a></td>");
           else
        print("<td class='ttable_colx' align='center'>-</td>");
        break;
       

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)
2023-07-03 20:14:00
Hi MicroMonkey,

can you update that version with all your modifications so I can test it on my live server,

thanks


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
2024-01-19 17:51:52
bonjour, installation avec wamp impeccable mes savez vous pourquoi ma page n'affiche pas le thème svp ? dans config.php j'ai bien mentionnée
$site_config['SITEURL'] = 'localhost';	//Main Site URL
mes ma page reste blanche sans thème juste les écriture
2024-01-19_185128.png
2024-01-19_185128.png
2024-01-25 08:58:14
I wish this one gets updated with all the latest codes.
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: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728