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
User Posts

Go to Profile

Automatic Warnings — 2026-12-04 08:07:39 in General Chat
Im just going through fine tuning config and the ratio and snatch(hit&run) are been worked

How should ratio and snatch work ? please share your thoughts or use cases.

you should be able to turn ratio off like
a) record snatch anyway as peer history
b) dont display ratio if set off
c) dont send warnings and bans for ratio

if external site and you turn ratio off - simple its off

Now the ratio ON
a) record snatch anyway as peer history
b) display ratio if set on
c) restrict/warn/disable/message/download ban etc

Then if ratio on with restriction
a) seeding recovers warning/ban
b) swap mb for snatched item mb
c) swap bonus for x mb of sntached item

Also
Apart from HNR and ratio warnings a staff can give personal warning for 30 days
all warnings count as warnings


warnings are only used in tt for ratio and personal

can anyone think off any uses for warnings or how the process should work

i wrote code, i just want to check ideas and thoughts before updating here to test further

what i have in config

// =============================================================================
// Ratio warnings
// =============================================================================
// Auto-warn users whose share ratio is too low after enough download volume.
// Warning type stored as: 'Poor Ratio'
// Cleared automatically when uploaded/downloaded ratio recovers.

'RATIOWARNENABLE'      => true,   // Master switch for ratio warnings
'RATIOWARNMINRATIO'    => 0.4,    // Warn when ratio is below this (e.g. 0.4 = 0.40)
'RATIOWARN_MINGIGS'    => 4,      // Only warn after this many GiB downloaded
'RATIOWARN_DAYSTOWARN' => 14,     // Warning length in days (expiry)
'RATIOWARN_EXCLUDED'   => [],     // User class IDs that never get ratio warnings
'RATIOWARN_STOP_DL'    => true,   // Also set downloadbanned while ratio warning is active

// =============================================================================
// Hit & Run (HnR)
// =============================================================================
// After a completed download, the user must seed for HNR_SEEDTIME seconds.
// Seed time is stored in snatched.last_time (seconds, only counted while seeding).
//
// Mark as HnR when:
//   - download completed
//   - seed time still below HNR_SEEDTIME
//   - user is not currently seeding that torrent
//   - last seed activity is older than HNR_GRACE_HOURS
//   - (optional) torrent ratio below HNR_MIN_RATIO
//
// Cure when seed time is met, optional ratio is met, trade/bonus, or staff clear.

'HNR_ENABLED'     => true,     // Master switch for Hit & Run system
'HNR_SEEDTIME'    => 172800,   // Required seed time in seconds (172800 = 48 hours)
'HNR_MIN_RATIO'   => 0.0,      // Per-torrent min ratio to avoid/clear HnR; 0 = ignore ratio
'HNR_GRACE_HOURS' => 6,        // Hours after last seed activity before a low seed-time snatch is marked HnR
'HNR_WARN_DAYS'   => 3,        // Days an HnR stays "pending" before hitrunwarn becomes "yes"
'HNR_WARN'        => 3,        // Active HnR count that issues a warning (type = 'HnR', 30 days)
'HNR_STOP_DL'     => 5,        // Active HnR count that sets downloadbanned (via warning ladder)
'HNR_BAN'         => 10,       // Active HnR count that disables the account

// =============================================================================
// Global warning ladder (ALL active warning types)
// =============================================================================
// Counts every active row in warnings (Manual, Poor Ratio, HnR, etc.).
// Works together with HnR count rules and RATIOWARN_STOP_DL above.

'WARN_DLBAN_COUNT' => 2,       // ≥ this many active warnings → downloadbanned = yes
'WARN_BAN_COUNT'   => 3,       // ≥ this many active warnings → enabled = no (account disabled)


And how it works currently
Hit & Run
When you finish a download, you need to seed it for a set amount of time (for example 48 hours).

If you stop seeding too early, after a short grace period the torrent is marked as a Hit & Run.

How to clear a Hit & Run

Keep seeding until the required time is reached, or
Pay with bonus points / upload credit on the Trade page, or
Wait for staff to clear it
Your download history is never deleted. Only the Hit & Run status is cleared.

What happens if you collect several Hit & Runs

Enough active Hit & Runs → you get a Hit & Run warning (and a private message)
More Hit & Runs → download ban (you cannot download until the count drops)
Too many Hit & Runs → account disabled
If your Hit & Run count falls again (you seed, trade, or staff clear some), the warning and restrictions can be lifted automatically.

Ratio warning
If your share ratio drops too low after you have downloaded enough data, you get a ratio warning.

Improve your ratio (upload more / download less) and the warning is removed
On some sites, a ratio warning also blocks downloads until your ratio recovers
Warning ladder (all types)
Manual warnings, ratio warnings, and Hit & Run warnings all count together:

Active warnings Effect
1 or more You are marked as warned
2 or more Download ban
3 or more Account disabled
Hit & Run counts and ratio rules can also apply their own limits on top of this.

Staff
Staff can add or remove warnings, lift download bans, and disable or re-enable accounts. Changes are logged and your status is updated automatically.

In short: seed what you download, keep a healthy ratio, and clear Hit & Runs if you get any. The system warns first, then restricts downloads, then disables the account if problems continue.
Good day everyone, hope you’re all well.

On Sunday 3rd January we will be moving to a new domain.
The new site link will be posted here soon (you’ll get at least a month’s notice + an email).

The new name will no longer contain the word “torrent” and will be more public-facing. Only members will be able to post anywhere on the site.

The site has just been updated to the finished version of M-BiTsy. Please report any bugs or ideas here.

The GitHub repository will be made public soon.

Important: Data that will be cleared
As part of the move, all tables will be emptied except Users and Forums. This means:

The shoutbox will be cleared
All private messages will be cleared
Forums being removed or reorganised
The following forums and their contents will be removed:

Archive – This forum will be gone it's old code. Previous ownership changed hands a few times, so some incomplete files / missing content.
v2.08 – This forum will be gone. Some useful posts will be moved into the v3 forum as old code.
v4 – This will be reviewed for usefulness with TorrentTrader (or moved into General).
TTv3.8.x – Will be moved into the TorrentTrader forum.
The only remaining forums will be:

General
Torrent Trader (with stickies for v3 & v3.8)
M-BiTsy

I will be spending this month going through the old forums looking for any code that is still usable or worth updating.
If anyone spots something of interest, please share the link here and one of us can move it.

The overall plan is to remove old junk, freshen things up, and that includes the user base. The user table will be pruned of anyone who has not been active in the last five years.

Everything stays as it is until the start of January. This gives me time to finish testing the final version and go through the old forums properly.

There aren’t many torrent-related sites left online these days, so in the future I would be happy to host other related projects as well.

Thanks everyone.
Recently working on times and dates on my version and thought i'd share
This is for a test site only and re-writes lots of files we need a mass file editor

If testing backup ALL files, V3 uses utc for unix but this update makes it more universal and  some of the times/dates are complex this sets a common approach

This mod is installed here working fully its in progress because it will cause errors due to some of the complex time eg date(time(date)) this is why we have the update.
fixing the errors is easy and ill post a few examples
when looking through errors we just need to remember do we want time (int) or date (string)

If you test please post any errors for my to add - posting just the line is enough the dates are easy to fix

in backend/functions.php search

if (function_exists("date_default_timezone_set"))
date_default_timezone_set("Europe/London");


replace with - we dont need to check for method above php 4

date_default_timezone_set('Europe/London');

remove

function gmtime() {
return sql_timestamp_to_unix_timestamp(get_date_time());
}

remove

function sql_timestamp_to_unix_timestamp($s){
return mktime(substr($s, 11, 2), substr($s, 14, 2), substr($s, 17, 2), substr($s, 5, 2), substr($s, 8, 2), substr($s, 0, 4));
}

remove

function get_date_time($timestamp = 0){
if ($timestamp)
return date("Y-m-d H:i:s", $timestamp);
else
return gmdate("Y-m-d H:i:s");
}

remove

// Convert UTC to user's timezone
function utc_to_tz ($timestamp=0) {
GLOBAL $CURUSER, $tzs;

if (method_exists("DateTime", "setTimezone")) {
if (!$timestamp)
$timestamp = get_date_time();
$date = new DateTime($timestamp, new DateTimeZone("UTC"));

$date->setTimezone(new DateTimeZone($CURUSER ? $tzs[$CURUSER["tzoffset"]][1] : "Europe/London"));
return $date->format('Y-m-d H:i:s');
}
if (!is_numeric($timestamp))
$timestamp = sql_timestamp_to_unix_timestamp($timestamp);
if ($timestamp == 0)
$timestamp = gmtime();

$timestamp = $timestamp + ($CURUSER['tzoffset']*60);
if (date("I")) $timestamp += 3600; // DST Fix
return date("Y-m-d H:i:s", $timestamp);
}

find

function utc_to_tz_time ($timestamp=0) {
GLOBAL $CURUSER, $tzs;

if (method_exists("DateTime", "setTimezone")) {
if (!$timestamp)
$timestamp = get_date_time();
$date = new DateTime($timestamp, new DateTimeZone("UTC"));
$date->setTimezone(new DateTimeZone($CURUSER ? $tzs[$CURUSER["tzoffset"]][1] : "Europe/London"));
return sql_timestamp_to_unix_timestamp($date->format('Y-m-d H:i:s'));
}

if (!is_numeric($timestamp))
$timestamp = sql_timestamp_to_unix_timestamp($timestamp);
if ($timestamp == 0)
$timestamp = gmtime();

$timestamp = $timestamp + ($CURUSER['tzoffset']*60);
if (date("I")) $timestamp += 3600; // DST Fix

return $timestamp;
}

replace with

// Get Date By User Timezone
function user_timezone_date($timestamp, $return_int = false)
{
if (!is_numeric($timestamp)) {
   $timestamp = strtotime($timestamp); // date to time
}

$timestamp = $timestamp + ($_SESSION['tzoffset']*60); // do time adjust
   /*
if (date("I")) {
   $timestamp += 3600; // DST Fix
}
   */
if ($return_int) {
   return $timestamp;
}

return date("Y-m-d H:i:s", $timestamp);

}


now for the mass edit search and replace the following in order
find

get_date_time()

to
date()

find
get_date_time( 

to
date("Y-m-d H:i:s", 

find
gmdate( 

to
date(

find
gmtime() 

to
time()

find
sql_timestamp_to_unix_timestamp( 

to
strtotime(

find
utc_to_tz_time( 

to
user_timezone_date

find
utc_to_tz( 

to
user_timezone_date


so example was
$deadtime = get_date_time(gmtime() - CONFIG['ANNOUNCEINTERVAL']);
should
$deadtime = date("Y-m-d H:i:s", time() - CONFIG['ANNOUNCEINTERVAL']);

some dates are more complex then they need to be - which might cause a few errors which are easy to solve - this is why its testing for v3 - I leave a guide at the bottom

example of error - we no longer need date
was
$added = date("M d, Y", utc_to_tz_time($row['added']));
should be
$added = user_timezone_date($row['added']);

guide
for insert we use time() for int & date() for date

to return date from int we use
date("Y-m-d H:i:s", $int_var)

to return string from time we use
strtotime($date_var);

to return  user Timezone date we use
user_timezone_date($row['added']);

to return  user Timezone time (number) we use
user_timezone_date($row['added'], true);
Forced site cleaning — 2023-10-06 10:52:16 in v3 Support
replace
SQL_Query_exec("UPDATE tasks SET last_time=$now WHERE task='cleanup' AND last_time = $ts");

with
SQL_Query_exec("UPDATE tasks SET last_time=$now WHERE task='cleanup'");


for test only remove after
i would maybe try write_log so you can see in admin log -
   if ($ts + $site_config["autoclean_interval"] > $now)
      return;
  SQL_Query_exec("UPDATE tasks SET last_time=$now WHERE task='cleanup' AND last_time = $ts");
  if (!mysqli_affected_rows($GLOBALS["DBconnector"]))
      return;


replace with
   if ($ts + $site_config["autoclean_interval"] > $now)
       write_log("$ts below time");
return;
  SQL_Query_exec("UPDATE tasks SET last_time=$now WHERE task='cleanup'");
  if (!mysqli_affected_rows($GLOBALS["DBconnector"]))
      write_log("$ts not updated");
      return;
Forced site cleaning — 2023-10-06 04:03:29 in v3 Support
is dbconn set to true on index.php cleanup is only run on index on TT
dbconn(true);

i would try remove times from sql where as well
SQL_Query_exec("UPDATE tasks SET last_time=$now WHERE task='cleanup'");

check if table task updates
https://github.com/M-jay84/M-BiTsy/blob/main/App/Controllers/Admin/Adminblock.php#L52

portal should be blocks - the project is unstable at the minute and should not be used
Progress — 2023-09-13 05:23:10 in M-BiTsy Support
final run through of all controllers - all working just need to fine tune code

Account.php // submit new avatar, new email, new password from profile
Attachment.php // submit page for attachment download
Bonus.php // bonus page, add, edit, delete, use
Bookmark.php view bookmarks, add/remove
Browse.php // search torrents
Catalog.php // search torrents
Comment.php // comments view, add,edit,delete - delete code could be better
Confirm.php // confirm signup email & confirm password change
Contact.php // contact staff page - logged out contact needs improving
Download.php // download torrent - code could be improved
Faq.php  // faq page add,del,update
Forum.php forum, forum search, view unread - search & unread code needs improving
Forumtask.php // move, sticky, lock, rename topics code could be moved to topics.php
Friend.php // view friends/enemys add/remove
Gallery.php // view image, view avatars
Home.php // link to home view
Invite.php
Like.php // like/unlike torrent
Login.php // login
Logout.php // logout
Mailbox.php // view mailbox read,del
Members.php // member search / list
Message.php // read, del , create messages
Moviedatabase.php // search tmdb website
Needseed.php // torrents needing seeds
Notification.php // view notifications - needs actions adding
Peer.php // view torrent peers, view user peers seeding/leeching
Post.php // view post , edit,post,delete
Profile.php // user profile, use edit,delete
Rating.php // rate torrent
Recover.php // recover again, reset pass confirm
Report.php // report torrent,user,request,comment,forum
Request.php // torrent request - fill request needs work
Reseed.php // reseed torrrent request
Rss.php // defaul & custom rss feed
Rule.php // add, edit, del rules
Scrape.php // scrape internal & external
Search.php // search torrents
Shoutbox.php / shoutbox add,edit,del
Signup.php // signup page
Snatch.php // snatched , torrent,user,completed , trade hnr for upload/bonus
Staff.php // view staff
Stylesheet.php // update lang & style (block)
Tag.php // torrent search by tags
Team.php // view teams, add, edit, delete
Thank.php // thanks forum post
Today.php // todays torrents
Topic.php // view, add, delete
Topten.php // top 10 panel, needs new page
Torrent.php // view, edit, delete
Upload.php // upload torrent
Warning.php // warnings, add/remove


Adminbackup.php // backup, save, delete
Adminban.php // bans ip/email/domain
Admincategorie.php // read, add, delete, edit cats
Admincheat.php // view potential cheats
Adminclient.php // view current clients, ban clients
Admincomment.php // view, delete all comments
Adminconfig.php // done but codes a little messy
Adminconfirmreg.php // confirm waiting regs
Admincontact.php view, answer, delete staff messages
Admincp.php // admin panel
Adminduplicateip.php // users with same ip
Adminemail.php // mass email - code a bit messy
Adminexceptions.php // exception log
Adminforum.php // add, edit, delete forum - move needs work
Adminforumcat.php // add, edit, delete forum cats - move needs work
Admingroup.php // view, edit, add, delete groups
Adminimport.php // import torrents , submit code could be improved
Admininactive.php // view inactive users - code messy
Admininvite.php
Adminlog.php // view, delete site logs
Adminmessage.php // view messages, send mass message
Adminnews.php // view, add, edit, delete newls
Adminpeer.php // view current peers
Adminpermission.php // view, add, del, edit permissions
Adminpoll.php //view, add, edit, delete polls
Adminportal.php view,move,edit,del,add blocks
Adminprivacy.php user privacy
Adminreport.php //view & remove reports
Adminshoutbox.php // staff shoutbox add,del,edit
Adminsnatch.php // view snatched hnr - potential to do more
Adminstylesheet.php // view themes, add & delete
Admintag.php // view, add, edit, del tags
Admintask.php // run cleanup, clear cahce
Admintorrent.php // view all torrents (dead/visible,freeleech)
Admintorrentlang.php  // view, add, edit, del langs
Adminuseradd.php // add new user
Adminusersearch.php // search users - buttons need work
Adminwarning.php // view all warnings - remove all needs work
Adminwhoswhere.php // view lasr page viewed list
VIP torrent — 2023-09-12 21:10:21 in v3 Mods Requests
this works for me - i use > "4" for test so should be < "4"

place anywhere on torrent-details.php for test if it works we know we have to check $row['vip']

function viponly($vip) {
global $CURUSER;
if ($CURUSER["class"] > "4" && $vip == "yes")
show_error_msg("Sorry !!", "<img src='https://cdn0.iconfinder.com/data/icons/city-elements-flaticon/64/stop-stop_sign-traffic_sign-architecture_and_city-stopping-circulation-signaling-256.png' width='150'><h3 style='color:gold !important;'>Your account is temporarily unable to download this torrent.</h3><br /><div class='torrent-detail-2 shadow-2'> You must be a VIP user to download it!</div>", 1);
}
// is torrent vip yes/no or 1/0 or var_dump($row['vip']) to check
$vip = 'yes';
viponly($vip);
VIP torrent — 2023-09-12 18:40:25 in v3 Mods Requests
In details should be viponly($row['vip'])
the site is fully operational or at least it should  🤣

if you get some free time your welcome to look around the site and post any bugs you find.

this really helps move development and not just bugs if you think something is missing. if you think of a improvement please share any ideas or suggestions'

2 weeks of bug testing and ill update github
Paint & screen shots — 2023-09-12 16:21:03 in M-BiTsy Support
I would leave theme until official release which is close
but to make it easier take screenshot of here or old site or use paint to edit and post ideas.
ideas will be looked at or we can work on html together to improve design

VIP torrent — 2023-09-12 15:33:02 in v3 Mods Requests
whats $row["vip"] we need param to function
maybe vip == no as well

function viponly($vip) { 
global $CURUSER;
if ($CURUSER["class"] <= "4" && $vip == "no")
show_error_msg("Sorry !!", "<img src='https://cdn0.iconfinder.com/data/icons/city-elements-flaticon/64/stop-stop_sign-traffic_sign-architecture_and_city-stopping-circulation-signaling-256.png' width='150'><h3 style='color:gold !important;'>Your account is temporarily unable to download this torrent.</h3><br /><div class='torrent-detail-2 shadow-2'> You must be a VIP user to download it!</div>", 1);
}
Bug Tracker — 2023-09-09 19:37:36 in M-BiTsy Support
i was going to make github private, that was the last folder i had on my local drive from what i remember i never did the final checks
Ill add here over the weekend so i can test better and ill post a new forums for M-bitsy.

A forum for mods
new mods & some mods will be removed to this forum like teams (group/permission/rank is better)

A forum for design
ill post link or image to a page, you guys send a image back what you think it should look like

I would wait before updating
Database error — 2023-04-21 06:23:30 in v3 Support
i believe that may be wrong it should not be int for sort
sort seems to be enum yes, no  https://github.com/MicrosoulV3/TorrentTrader-v3/blob/master/TorrentTrader%203.0/Full%20Database.sql#L488

at admin polls on add poll the switch is yes, no i cant seem to find any relevance to sort in v3 its arranged by add so most recent first SELECT * FROM polls ORDER BY added

when adding/editing poll in admin i think the yes,no is been forced into int
Database error — 2023-04-20 18:23:05 in v3 Support
my code is different so maybe someone can check but in v3 default they seems to be error

admincp line 1595 int ? - $sort = (int)$_POST["sort"];

in sql - enum  `sort` enum('yes','no') NOT NULL default 'yes',

html
<input type="radio" name="sort" value="yes" id="sort" /><?= Txt("YES") ?>
<input type="radio" name="sort" value="no" id="sort" /><?= Txt("NO") ?>
Media info — 2023-04-20 17:54:54 in v3 Support
what media are you wanting play ?
Ratio explication — 2023-04-20 17:44:35 in v3 Support
$site_config['WAIT_CLASS'] = '1,2'; //Classes wait time applies to, comma seperated
$site_config['GIGSA'] = '1'; //Minimum gigs
$site_config['RATIOA'] = '0.50'; //Minimum ratio
$site_config['WAITA'] = '24'; //If neither are met, wait time in hours


this for for forcing users to wait example
groups 1 & 2 with 1 gb (sum of uploaded) & ratio below 0.50 have to wait 24 hours
if you go to config and check ,wait is added it will show on index
$site_config["torrenttable_columns"] = "category,name,dl,uploader,comments,size,seeders,leechers,health,external";


the other section is for banning (although the script just sends a warning & message)

documentation is awful for torrenting, i keep meaning to start a wiki/guide here which will come & experience users can share they knowledge - github is the best place & the bittorrent specification site which explains the protocols and list the BEPS updates

the ratio itself is just a calculation of upload / download




you most still have sql edit delete tmdb from torrents table or change to NULL if you want to keep
`tmdb` varchar(100) DEFAULT NULL,
Previews don't work — 2023-03-20 16:25:50 in v3 Support
When you right click on the image and select  inspect what does the url look like or right click and copy age link
You don't need to post site url, should look something like siteurl/images/15.png  
on torrent-upload.php this is the only error i see for external
	if (!$site_config["ALLOWEXTERNAL"] && $external == 'yes')
$message = T_("UPLOAD_NO_TRACKER_ANNOUNCE");
}

to allow external you would have to turn on in config
to continue blocking external by others this should work
	if ($CURUSER["class"] <= 4 && $external == 'yes')
$message = T_("UPLOAD_NO_TRACKER_ANNOUNCE");
}

i dont think allowing external will cause any issues anywhere else as long as staff upload - for example users should be abled to download internal & external
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