Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Torrent Strike
Reply
  #1  
Old 15th October 2009, 09:06
goood goood is offline
Member
 
Join Date: Apr 2009
Romania
Posts: 7
Question Wait Time
Hi I have a tracker Torrent-Strike source and when a user can register to download says he must wait 48 hours !
How can I remove that 48 hours??
Reply With Quote
  #2  
Old 15th October 2009, 20:13
Krypto Krypto is offline
Retired from BVList
 
Join Date: Jan 2008
P2P
Posts: 510
Default
in include/bittorrent.phplook at the Function torrenttable();

Find
Code:
        if ($CURUSER["class"] < UC_VIP)
  {
          $gigs = $CURUSER["uploaded"] / (1024*1024*1024);
          $ratio = (($CURUSER["downloaded"] > 0) ? ($CURUSER["uploaded"] / $CURUSER["downloaded"]) : 0);
          if ($ratio < 0.5 || $gigs < 5) $wait = 48;
          elseif ($ratio < 0.65 || $gigs < 6.5) $wait = 24;
          elseif ($ratio < 0.8 || $gigs < 8) $wait = 12;
          elseif ($ratio < 0.95 || $gigs < 9.5) $wait = 6;
          else $wait = 0;
  }
Replace
Code:
        if ($CURUSER["class"] < UC_VIP)
  {
          $gigs = $CURUSER["uploaded"] / (1024*1024*1024);
          $ratio = (($CURUSER["downloaded"] > 0) ? ($CURUSER["uploaded"] / $CURUSER["downloaded"]) : 0);
          if ($ratio < 0.5 || $gigs < 5) $wait = 0;
          elseif ($ratio < 0.65 || $gigs < 6.5) $wait = 0;
          elseif ($ratio < 0.8 || $gigs < 8) $wait = 0;
          elseif ($ratio < 0.95 || $gigs < 9.5) $wait = 0;
          else $wait = 0;
  }
announce.php

Find
Code:
	if ($az["class"] < UC_VIP)
	{
		$gigs = $az["uploaded"] / (1024*1024*1024);
		$elapsed = floor((gmtime() - $torrent["ts"]) / 3600);
		$ratio = (($az["downloaded"] > 0) ? ($az["uploaded"] / $az["downloaded"]) : 1);
		if ($ratio < 0.5 || $gigs < 5) $wait = 48;
		elseif ($ratio < 0.65 || $gigs < 6.5) $wait = 24;
		elseif ($ratio < 0.8 || $gigs < 8) $wait = 12;
		elseif ($ratio < 0.95 || $gigs < 9.5) $wait = 6;
		else $wait = 0;
		if (($elapsed < $wait)&&($seeder == 'no'))
				err("Not authorized (" . ($wait - $elapsed) . "h) - READ THE FAQ!");
	}
Replace
Code:
	if ($az["class"] < UC_VIP)
	{
		$gigs = $az["uploaded"] / (1024*1024*1024);
		$elapsed = floor((gmtime() - $torrent["ts"]) / 3600);
		$ratio = (($az["downloaded"] > 0) ? ($az["uploaded"] / $az["downloaded"]) : 1);
		if ($ratio < 0.5 || $gigs < 5) $wait = 0;
		elseif ($ratio < 0.65 || $gigs < 6.5) $wait = 0;
		elseif ($ratio < 0.8 || $gigs < 8) $wait = 0;
		elseif ($ratio < 0.95 || $gigs < 9.5) $wait = 0;
		else $wait = 0;
		if (($elapsed < $wait)&&($seeder == 'no'))
				err("Not authorized (" . ($wait - $elapsed) . "h) - READ THE FAQ!");
	}
in details.php

Find
Code:
		if ($CURUSER["class"] < UC_VIP)
		{
			$gigs = $CURUSER["uploaded"] / (1024*1024*1024);
			$ratio = (($CURUSER["downloaded"] > 0) ? ($CURUSER["uploaded"] / $CURUSER["downloaded"]) : 0);
			if ($ratio < 0.5 || $gigs < 5) $wait = 48;
			elseif ($ratio < 0.65 || $gigs < 6.5) $wait = 24;
			elseif ($ratio < 0.8 || $gigs < 8) $wait = 12;
			elseif ($ratio < 0.95 || $gigs < 9.5) $wait = 6;
			else $wait = 0;
			$elapsed = floor((gmtime() - strtotime($row["added"])) / 3600);
			if ($elapsed < $wait)
				$wait = number_format($wait - $elapsed);

		}
Replace
Code:
		if ($CURUSER["class"] < UC_VIP)
		{
			$gigs = $CURUSER["uploaded"] / (1024*1024*1024);
			$ratio = (($CURUSER["downloaded"] > 0) ? ($CURUSER["uploaded"] / $CURUSER["downloaded"]) : 0);
			if ($ratio < 0.5 || $gigs < 5) $wait = 0;
			elseif ($ratio < 0.65 || $gigs < 6.5) $wait = 0;
			elseif ($ratio < 0.8 || $gigs < 8) $wait = 0;
			elseif ($ratio < 0.95 || $gigs < 9.5) $wait = 0;
			else $wait = 0;
			$elapsed = floor((gmtime() - strtotime($row["added"])) / 3600);
			if ($elapsed < $wait)
				$wait = number_format($wait - $elapsed);

		}
Reply With Quote
  #3  
Old 24th May 2010, 09:18
saga saga is offline
Member
 
Join Date: May 2010
P2P
Posts: 1
Smile
Yes ^^ Remove this 48 Hours
Reply With Quote
Reply

Tags
time , wait

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ADJUSTMENT SLOT & Settings WAIT, TS Version 5.6 Tory Template Shares 2 19th April 2010 08:23
wait time? mid Community Cafe 8 29th January 2010 17:55
Wait System Genkai Yuna Scatari Edition (YSE) 4 18th January 2010 20:59
48hrs wait time rytisp Torrent Strike 1 15th February 2009 18:00
Wait system trilious Template Shares 4 19th September 2008 17:32



All times are GMT +2. The time now is 14:59. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.