This is the hard work and innovative effort brought to you by Switch-Torrents.com in effort to bring the community, codebase and staff up to speed on brand new code written from the ground up, using publicly available PHP classes, AJAX, time, and a lot of Coffee.
This is the 5th BETA, while we did our best to address as many bugs as possible,
there may still be some in places.
Please report to the V4 forum in Support for assistance or code contribution.
@ torrenttrader.xyz
Requirements
PHP v5.6- v7.4
MySQL v5.5+ or MariaDB v10.x
PostgreSQL v9.5 - v12
PHP Modules:
JSON, Sessions, PDO, PDO_mysql, GD, OpenSSL, MCRYPT, MBSTRING, PDO_pgsql, ICONV
Note: Do not mix database server instances without a jail/VM. This will conflict with port 3306 almost immediately. Use one or the other as usual.
Updates in BETA5
- Fixed user authentication (class)
- Updated announce.php to no longer store peer stats in torrents table. Updated index to read peer table respectively. This ensures peer stat accuracy.
- Enabled announce token security (prevent passkey leaking) see below
- Updated download.php to hash announce token with openssl AES-128-CBC algrothim (with base64 fallback). Also includes decryption for announce.php respectively.
- Updated peer seeder swarm on index (UX)
- Auto promote/demote users (schedule)
- Implemented voucher code system (upload data, etc)
- Implemented efficient “schedule.php” clean up CRON task file
- Many core changes involving performance and checks
- Added several event updates for shoutbox in:
- Schedule tasks
- Announce
- Vouchers
- Seed Bonus
- Added comments with legacy TT bbcode JS
- SQL table/column work to support new additions
Installation
1 . ) Upload all contents of /Upload directory to your web root directory.
2 . ) Import SQL file from /SQL directory
3 . ) Modify the following files to match your database details:
/serve/AJAX/dbConfig.php
/serve/AJAX/ajax_avatarupload.php
/serve/classes/class.pdo.php
/db.php
4 . ) Set your HTTP server’s root path to serve from /serve directory
Apache Example (httpd.conf): ServerRoot “/usr/local/www/serve”
NGINX Example (nginx.conf): root “/usr/local/www”
Replace path with your real path to the /serve/ directory from this ZIP
5 . ) That’s it. Please report any issues you have before or after in the forums discussed above.
Enjoy.
This is the 5th BETA, while we did our best to address as many bugs as possible,
there may still be some in places.
Please report to the V4 forum in Support for assistance or code contribution.
@ torrenttrader.xyz
Requirements
PHP v5.6- v7.4
MySQL v5.5+ or MariaDB v10.x
PostgreSQL v9.5 - v12
PHP Modules:
JSON, Sessions, PDO, PDO_mysql, GD, OpenSSL, MCRYPT, MBSTRING, PDO_pgsql, ICONV
Note: Do not mix database server instances without a jail/VM. This will conflict with port 3306 almost immediately. Use one or the other as usual.
Updates in BETA5
- Fixed user authentication (class)
- Updated announce.php to no longer store peer stats in torrents table. Updated index to read peer table respectively. This ensures peer stat accuracy.
- Enabled announce token security (prevent passkey leaking) see below
- Updated download.php to hash announce token with openssl AES-128-CBC algrothim (with base64 fallback). Also includes decryption for announce.php respectively.
- Updated peer seeder swarm on index (UX)
- Auto promote/demote users (schedule)
- Implemented voucher code system (upload data, etc)
- Implemented efficient “schedule.php” clean up CRON task file
- Many core changes involving performance and checks
- Added several event updates for shoutbox in:
- Schedule tasks
- Announce
- Vouchers
- Seed Bonus
- Added comments with legacy TT bbcode JS
- SQL table/column work to support new additions
Installation
1 . ) Upload all contents of /Upload directory to your web root directory.
2 . ) Import SQL file from /SQL directory
3 . ) Modify the following files to match your database details:
/serve/AJAX/dbConfig.php
/serve/AJAX/ajax_avatarupload.php
/serve/classes/class.pdo.php
/db.php
4 . ) Set your HTTP server’s root path to serve from /serve directory
Apache Example (httpd.conf): ServerRoot “/usr/local/www/serve”
NGINX Example (nginx.conf): root “/usr/local/www”
Replace path with your real path to the /serve/ directory from this ZIP
5 . ) That’s it. Please report any issues you have before or after in the forums discussed above.
Enjoy.
