Bravo List

Bravo List (https://www.bvlist.com/index.php)
-   Downloads (https://www.bvlist.com/forumdisplay.php?f=16)
-   -   MyBB Torrent Tracker (https://www.bvlist.com/showthread.php?t=13028)

Ruffneck 17th September 2025 17:11

MyBB Torrent Tracker
 
4 Attachment(s)
A lightweight PHP-based torrent tracker with announce system, built-in torrent parser, and a simple but functional admin panel.

Perfect for private communities, testing torrent workflows, or learning how trackers work under the hood.




Features

  • 🔗 Announce system — fully working announce endpoint for torrents
  • 📂 Torrent file parsing via arokettu/torrent-file
  • 🛠 Admin panel for managing users, torrents, and site settings
  • 🍪 Cookie-based sessions for authentication
  • 🎨 Simple, clean codebase — easy to customize and extend



Installation


1. Import Database

Upload the SQL file from: admin/backup
and import it into your MySQL/MariaDB database.



2. Install Dependencies

composer require arokettu/torrent-file



3. Configure Database

Edit include/config.php:

$config['database']['database'] = 'dbname';
$config['database']['hostname'] = 'localhost';
$config['database']['username'] = 'user';
$config['database']['password'] = 'password';





4. Configure Announce

Edit include/config_announce.php:

$mysql_host = '';
$mysql_user = '';
$mysql_pass = '';
$mysql_db = '';

$BASEURL = 'https://localhost';
$SITENAME = 'Tracker Name';



5. Configure Site Settings

Edit include/settings.php:

$SITENAME = "Tracker Name";
$BASEURL = "https://localhost";
$cookiedomain = ".localhost";
$announce_urls[] = "https://localhost/announce.php";



6. Requirements

PHP 7.4+ MySQL 5.7+ / MariaDB Composer

✅ Ready to Go After completing these steps, your tracker should be up and running.
Please don’t kill me hahah 😅


Default Admin User:
Username: Admin Password: 123456


https://github.com/Ruf790/mybb-based-torrent-tracker

pogokk 9th December 2025 05:20

Its show Fatal Error
first problem is SQL file not upload in cpanel hosting server.i try two different servers.After this i use freehosting without cpanel, SQL File upload smoothly but full site not run proper.
when i open first page is open smoothly after when i fill username and pass so next page not open its show error
What is main cause of this error. PHP Version or other one

Fynnon 31st December 2025 14:59

This looks great but the instructions and the DB import need to be improved/fixed.


I have an error when I try to import the DB
I have PHP 8.3 but your script requires PHP 8.4 which it too restrictive

You created the DB dump on MySQL 8 but my server is running MariaDB which does not support the collation: utf8mb4_0900_ai_ci

PHP Code:

Unable to import the MYBB dump:

    
ERROR 1273 (HY000) at line 5: Unknown collation: 'utf8mb4_0900_ai_ci'
    
2025-12-31 13:55:38,181 [ERROR] '/usr/bin/mysql' finished with non-zero exit code: 1 

So I replaced:
PHP Code:

DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci 

with
PHP Code:

DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci 


Then I got another error:
PHP Code:

ERROR 1067 (42000) at line 180: Invalid default value for 'uploaded_at'
2025-12-31 14:15:29,714 [ERROR] '/usr/bin/mysql' finished with non-zero exit code: 1 

On line 193 of sql.sql I had to replace:

PHP Code:

 `uploaded_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, 

with
PHP Code:

`uploaded_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, 





And for the setup, since I run Plesk on my VPS I had to adapt the installations steps!


When I ran this command I got an error (maybe similar issue withg CPanel?):
composer require arokettu/torrent-file --> /usr/bin/env: php: No such file or directory


To fix it I did the following - check which PHP you have installed with Plesk (different for CPanel):
ls /opt/plesk/php/ --> 7.4 8.0 8.1 8.3

Find where Composer is installed:
which composer --> /usr/local/bin/composer


Run Composer using Plesk’s PHP, not the system PHP:
/opt/plesk/php/8.3/bin/php /usr/local/psa/var/modules/composer/composer.phar require arokettu/torrent-file




This is what you should see:

Code:

Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]?
./composer.json has been created
Running composer update arokettu/torrent-file
Loading composer repositories with package information
Updating dependencies
Lock file operations: 9 installs, 0 updates, 0 removals
  - Locking arokettu/bencode (4.3.2)
  - Locking arokettu/is-resource (1.0.5)
  - Locking arokettu/torrent-file (5.3.4)
  - Locking nikic/iter (v2.4.1)
  - Locking psr/event-dispatcher (1.0.0)
  - Locking symfony/filesystem (v7.4.0)
  - Locking symfony/finder (v7.4.3)
  - Locking symfony/polyfill-ctype (v1.33.0)
  - Locking symfony/polyfill-mbstring (v1.33.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 9 installs, 0 updates, 0 removals
  - Downloading arokettu/is-resource (1.0.5)
  - Downloading symfony/finder (v7.4.3)
  - Downloading symfony/polyfill-mbstring (v1.33.0)
  - Downloading symfony/polyfill-ctype (v1.33.0)
  - Downloading symfony/filesystem (v7.4.0)
  - Downloading psr/event-dispatcher (1.0.0)
  - Downloading nikic/iter (v2.4.1)
  - Downloading arokettu/bencode (4.3.2)
  - Downloading arokettu/torrent-file (5.3.4)
  - Installing arokettu/is-resource (1.0.5): Extracting archive
  - Installing symfony/finder (v7.4.3): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.33.0): Extracting archive
  - Installing symfony/polyfill-ctype (v1.33.0): Extracting archive
  - Installing symfony/filesystem (v7.4.0): Extracting archive
  - Installing psr/event-dispatcher (1.0.0): Extracting archive
  - Installing nikic/iter (v2.4.1): Extracting archive
  - Installing arokettu/bencode (4.3.2): Extracting archive
  - Installing arokettu/torrent-file (5.3.4): Extracting archive
2 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
4 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
Using version ^5.3 for arokettu/torrent-file


TraceR 31st December 2025 18:02

better to have as addon instead of complete system fr mybb


All times are GMT +2. The time now is 23:46.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2026, vBulletin Solutions Inc.