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

classes — 2022-03-29 18:04:43 in v3 Support
ok solved  :P thx for help ill post the mod when its finished.
Thanks
classes — 2022-03-29 17:10:56 in v3 Support
with your line i get this error in sql

Database Error in take-upload-bonus.php on line 34: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '''' at line 1. Query was: UPDATE `users` SET `uploaded` = `uploaded` + '1073741824' WHERE `class` = ''= 8''.
classes — 2022-03-29 02:58:57 in v3 Support
i get this sql error:
Database Error in take-upload-bonus.php on line 40: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''= 8'' at line 1. Query was: UPDATE users SET uploaded = uploaded+1073741824 WHERE class '= 8'.

line 40 looks like this:
$res = SQL_Query_exec("UPDATE users SET uploaded = uploaded+1073741824 WHERE class $class");
classes — 2022-03-28 22:09:36 in v3 Support
how should this line be to take the classes?
$class = $_POST['userclass'];
Timed VIP — 2022-03-13 22:49:57 in v3 Support
i was wondering if is somehow to make vip for ex. 2weeks , 1 month etc
THX in advance
Small problem — 2022-03-13 21:14:23 in v3 Support
i have a small problem
i have 2xup and silver mod they work perfectly, but when i put on a torrent both of them i get double upload and normal upload. i tried diferent thinks nothink works. I think its from announce

if (($upthis > 0 || $downthis > 0 || $elapsed > 0) && is_valid_id($userid)){ // LIVE STATS!)
if ($torrent["freeleech"] == 1){
SQL_Query_exec("UPDATE users SET uploaded = uploaded + $upthis WHERE id=$userid") or err("Tracker error: Unable to update stats");
SQL_Query_exec("UPDATE LOW_PRIORITY `snatched` SET `uload` = `uload` + '$upthis', `dload` = `dload` + '$downthis', `utime` = '".gmtime()."', `ltime` = `ltime` + '$elapsed' WHERE `tid` = '$torrentid' AND `uid` = '$userid'");

}
elseif ($torrent["doubleupload"] == 2){
//$upthis = ($upthis+$upthis);
SQL_Query_exec("UPDATE users SET uploaded = uploaded + ($upthis*2), downloaded = downloaded + $downthis WHERE id=$userid") or err("Tracker error: Unable to update stats");
SQL_Query_exec("UPDATE LOW_PRIORITY `snatched` SET `uload` = `uload` + '$upthis'*2, `dload` = `dload` + '$downthis', `utime` = '".gmtime()."', `ltime` = `ltime` + '$elapsed' WHERE `tid` = '$torrentid' AND `uid` = '$userid'");
}
if ($torrent["silver"] == 1){

SQL_Query_exec("UPDATE users SET uploaded = uploaded + $upthis, downloaded = downloaded + ($downthis/2) WHERE id=$userid") or err("Tracker error: Unable to update stats");
SQL_Query_exec("UPDATE LOW_PRIORITY `snatched` SET `uload` = `uload` + '$upthis', `dload` = `dload` + '$downthis'/2, `utime` = '".gmtime()."', `ltime` = `ltime` + '$elapsed' WHERE `tid` = '$torrentid' AND `uid` = '$userid'");

}

  }


Thanks in advance
Server load — 2022-03-13 11:25:39 in v3 Support
ballon user TTV3 — 2022-02-15 12:43:32 in v3 Mods Requests
looks like its getting there :) error that i have is not reading ID .
I get this error "Bad ID."
ballon user TTV3 — 2022-02-14 20:29:29 in v3 Mods Requests
function class_user($name) {
global $site_config;
$a ="SELECT class, donated, warned, enabled FROM `users` WHERE username ='".$name."'";
$res = SQL_Query_exec($a);
$classy = @mysqli_fetch_row($res);
switch ($classy[0]) {
        case 8: // Site Owner
        $col = "".$site_config["siteowner_color"]."";
        break;
        case 7: // Administrator
        $col = "".$site_config["administrator_color"]."";
        break;
        case 6: // Super Moderator
        $col = "".$site_config["super_moderator_color"]."";
        break;
        case 5: // Moderator
        $col = "".$site_config["moderator_color"]."";
        break;
        case 4: // Uploader
        $col = "".$site_config["uploader_color"]."";
        break;
        case 3: // VIP
        $col = "".$site_config["vip_color"]."";
        break;
        case 2: // Power User
        $col = "".$site_config["power_user_color"]."";
        break;
        case 1: // User
        $col = "".$site_config["user_color"]."";

}if($classy[1]>0){
$star="<img src='".$site_config[SITEURL]."/images/donor.gif' width='16' height='16' alt='donated' border='0'>";
}else{ $star="";}
if($classy[2]=="yes"){
$warn="<img src='".$site_config[SITEURL]."/images/warned.gif' width='11' height='11' alt='warned' border=0>";
}else{ $warn=""; }
if($classy[3]=="no"){
$disabled="<img src='".$site_config[SITEURL]."/images/disabled.png' alt='disabled' border=0>";
}else{ $disabled=""; }
return unesc("<font color='".$col."'>".$name."".$star."".$warn."".$disabled."</font>");
}
ballon user TTV3 — 2022-02-13 06:08:17 in v3 Mods Requests
hy can you post the mod here Thank in advance
i get this error
Database Error in admincp.php on line 339: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM xxx_filter' at line 1. Query was: TRUNCATE FROM xxx_filter.
Scrape — 2022-02-06 05:32:34 in v3 Support
STorrents2020:
Maybe hosting is the issue. My dedicated 1U is in my closet on 2 sturdy Uhaul boxes lolI have never had a limit in anything I ever wanted to do. I highly recommended just pulling $550US and grabbing a PowerEdge with low specs. Your now left with the commitment of your local LAN.Hosting is restrictive due to the potential actions by the customer - they eliminate c99 shells, embedded PNGs with <? potential (I actually check images for these on my site, it was very hard to do and took 2 days for my code), root access elevations & buffer overflows - Which is why they disallow certain modules. It could kill their business and all those effected. Look at it as a good thing, however takes a little care to make your endeavors compatible. Your using PHP, its easy trust me. Python would have you running circles lol


ok so let me understand my vps is not how it should bee??
xxx filter — 2022-02-06 05:29:03 in v3 Mods in Progress
i try now
thx in advance
ok but your string does nothing if he has sql_mode enabled
your code does nothing
you are just triyng to fool the server with that string
i am just saiyng maybe i am wrong and just foll
beacause tahts why is strictmode so.. i think the best metode is to give acces in string beside fool it

Again just say and try to help maybe i am wrong
i have meet a lot of problem if vps is not set how it should be
he should disable base _dir
to keep php.ini without secure php if he doesnt know how to configure it
and much more.php.ini if it is not set again problems so i think i can give small advice not that i am the good samaritean just try to help
i just want to help because i have those prblems
but again sry to disturbg and I apologize
STorrents2020:
Anyway, what is the error mesage?


How to fix "Database Error. Please report this to an administrator" ?
thats what i have try to explain that i have had this error and i fixed with with the code that you said that its not good
and tha next thing was when i was put the backup it didnt take the A_I for table torrents i dont know why
if i am wrong with something i apologize again

I just wanted to say what i have done to this error
xxx filter — 2022-02-06 05:08:08 in v3 Mods in Progress
M-jay:
try https://torrenttrader.uk/topic?topicid=9837 & im sure there was a block somewhere as well


i putthis code and got some errors i am shore you dont have time to show me but yeah maybe somethings that i put it makes the code go wrong ,
i just wanted ti help because your code didnt helpd me and i was just triyng to help Sry if i did something wrong
i didnt meant to offense you
STorrents2020:
Why on earth are you adding non-integer values as the primary key in your table? Is that even possible?The code is perfect. Trust me, I would get out of your database before other things begin to go haywire, just a word of advice. This is why experienced never encourage others clearly in need of help to race over and start editing fields/types/Engines.

i am not saying that is not the perfect code, for me it is noit good , and that code was working i dont undestnad why you are so angry??  😲
i just  hope it's not a threat
torrent name — 2022-02-06 04:36:05 in v3 Support
THX STorrents2020 it works how i did i cant do test on what you give but thx. Maybe others will need that code. :cheers:
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