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

FLS — 2011-10-14 19:04:56 in v2 Only Mods Complete
Thanks TheDoctorUK, good idea  ;)
"djhowarth, post: 75600":
use mysql_query, SQL_Query_exec was implemented after the release of 2.07
no error now ..excellent   ;) But how time take to see the changes who look a member?
i understand

i put in my test

Uploaded: 27.00 GB

Downloaded: 30.00 GB

Ratio: 0.9

and is Member from P.User

Thanks

the code is ok

$res_demote = mysql_query("SELECT id FROM users WHERE class = 2 AND uploaded >= $gigs AND (uploaded / downloaded) <= 1.0");

or

$res_demote = mysql_query("SELECT id FROM users WHERE class = 2 AND uploaded >= $gigs AND (uploaded / downloaded) < 1.0");
in the line

$where = where ($_SERVER["SCRIPT_FILENAME"], $row["id"], 0);

SQL_Query_exec("UPDATE users SET last_access='" . get_date_time() . "', ip=".sqlesc($ip).", page=".sqlesc($where)." WHERE id=" . $row["id"]);





i have

 

 $where = where ($_SERVER["SCRIPT_FILENAME"], $row["id"], 0);

mysql_query("UPDATE users SET last_access='" . get_date_time() . "', ip=".sqlesc($ip).", page=".sqlesc($where)." WHERE id=" . $row["id"]) or die(mysql_error());
Powered by TorrentTrader v2.07
my mistake

if ($update)

SQL_Query_exec("UPDATE users SET last_access='" . get_date_time() . "', ip=".sqlesc($ip).", page=".sqlesc($where)." WHERE id=" . $userid);
Fatal error: Call to undefined function SQL_Query_exec() in /home/content/xxxxxx/html/xxx/backend/functions.php on line 1249

on line 1249

elseif (preg_match("/torrents-upload/i", $scriptname))
i install the code above but

Uploaded: 24.00 GB

Downloaded: 23.00 GB

Ratio: 1.04347826087

the user rank is P.User

Uploaded: 24.00 GB

Downloaded: 26.00 GB

Ratio: 0.923076923077

the user rank is remain P.User...not demote
ok i understand now..thanks again
Uploaded: 23.00 GB

Downloaded: 30.00 GB

Ratio: 0.766666666667

but no demote from P.User to Member

i have the code

$gigs = 25*1073741824; // 25 GB

$res = mysql_query("SELECT id FROM users WHERE class = 1 AND uploaded >= $gigs AND uploaded >= downloaded");

$time = get_date_time();

while ($arr = mysql_fetch_assoc($res)) {

mysql_query("UPDATE users SET class = 2 WHERE id = $arr[id]");

mysql_query("INSERT INTO messages (sender, receiver, added, msg, subject) VALUES(0, $arr[id], '$time', 'You have been automatically promoted from User to Power User, If your ratio drops below 1.00 you will be demoted.', 'You have been promoted to: Power User')");

}



$res = mysql_query("SELECT id FROM users WHERE class = 2 AND uploaded >= $gigs AND uploaded < downloaded");

while ($arr = mysql_fetch_assoc($res)) {

mysql_query("UPDATE users SET class = 1 WHERE id = $arr[id]");

mysql_query("INSERT INTO messages (sender, receiver, added, msg, subject) VALUES(0, $arr[id], '$time', 'You have been automatically demoted from Power User to User.', 'You have been demoted to User')");

}
Client ban mod — 2011-10-10 11:44:30 in v2 Only Mods Complete
require_once($_SERVER["DOCUMENT_ROOT"] . "/backend/functions.php");

include($_SERVER["DOCUMENT_ROOT"] . "/backend/dagent.class.php");

how to change these?
thanks tiloup  :angry:
is it ok for 2.07?
Client ban mod — 2011-09-21 13:09:56 in v2 Only Mods Complete
i dont understand what do you mean
Client ban mod — 2011-09-21 02:44:29 in v2 Only Mods Complete
The same problem my friend  :angry:
Client ban mod — 2011-09-20 15:34:54 in v2 Only Mods Complete
But when i open [url="http://domain.com/bancli.php"]http://domain.com/bancli.php[/url] i take the errors. how to fix it?

Warning: require_once(/var/chroot/home/content/xxxxxxx/html/backend/functions.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/xxxxxx/html/xx/bancli.php on line 12



Fatal error: require_once() [function.require]: Failed opening required '/var/chroot/home/content/xxxxxx/html/backend/functions.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/xxxxxx/html/xx/bancli.php on line 12


in line 12 is

require_once($_SERVER["DOCUMENT_ROOT"] . "/backend/functions.php");
Client ban mod — 2011-09-11 15:55:35 in v2 Only Mods Complete
Works on TT 2.07. Thanks
Thanks fozshell
Thanks.its ok for 2.07

But the problem is with reseed when click and click many times.... how to click the resssed one time to day?
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