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
Simple file uploader
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Mods Completed

2023-02-27 14:55:33
What is the reason behind including audio files? Be sure you use a proper tags for these media types or they may not render.

Can’t post example without stripping tags but it’s at Google  

2023-02-27 18:33:47
I was only testing the mime types
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-02-27 21:32:19
Yes MicroMonkey, good idea, thanks I will make the change

#===============================================#
#      Simple file uploader By MicroMonkey      #
#===============================================#
$config['fileExtensionsAllowed'] = ['jpeg','jpg','png','gif','ico','pdf','psd','rar','zip','php','txt']; // These will be the only file extensions allowed
$config['maxFileSize'] = 500 * 1024 * 1024; // Change the first number to desired size eg: 100 = 100MB. Cannot exceed php.ini upload_max_filesize and post_max_size setting
$config['uploadDirectory'] = "/uploadedfiles/";  // Direction of your download file
#===============================================#
#    End Simple file uploader By MicroMonkey    #
#===============================================#


Last edited by spiritblue on 2023-02-27 22:18:56
2023-02-28 12:22:18
Sorry if I mix in a bit "conveniently" but wouldn't it be easier if we "refurbish" the subtitle MOD.
There we have the option to upload certain files and formats and we can simply "hide" certain parts of the MOD we don't need




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
2023-02-28 14:27:53
 $config['maxFileSize']


Can’t you just read the ini setting? That’s probably a safer bet across hosts.
2023-02-28 19:16:34
@Botanicar. I wasnt aware of that mod existing, or I would have probably used it lol. Is this it? https://torrenttrader.uk/post?id=4362
@Storrents, I tried that, and it does work, but if you want to make the upload smaller then the max, you can. I also noticed for some reason that when I used that ini setting and maxxed out the size, it would just die with no error. May have been a mistake I was making tho.
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 2023-02-28 19:29:59
2023-03-01 08:01:25
@MicroMonkey
Exactly, it is the MOD that I use for all forms of file uploading or you can formulate it in file format set and form.

In my case it's .srt, zip and .rar (but you can change that if you need it)

The size of the files is also in the file itself so it would be double work about that, but it's up to everyone how they want to build their tracker




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
2023-03-01 08:03:57
Thanks Botanicar. I will have a look at that.
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)
2024-03-14 05:08:57
Github updated For the version that I made. Dont use what I have posted in the first post of this thread. I cant seem to delete it, wish I could. Always use the github version. I updated it a bit https://github.com/MicrosoulV3/TTv3-Simple-File-Uploader
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-03-14 05:11:53
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