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

signup error — 2021-10-12 21:17:25 in v3 Support
Thanks boys  :thumb

I had in passing a problem with this mode on the mysqli v3 and I will retest soon with this correction  :plain
Update mail.php — 2021-09-15 21:14:05 in v3 Support
Hi gang !
Small update html...
If like me you had problems sending e-mail to recover the account and any accent or symbol causes the sending to be blocked by the e-mail parameter of your host, I suggest you change to ..

=======FRENCH=======

Si comme moi vous avez eu des problèmes d’envois e-mail pour récupérer le compte et que tous accent ou symbole fait que l'envoie est bloquer par le paramètre e-mail de votre hébergeur,  je vous propose de changer dans..

Search in /backend/mail.php:
$additional_headers = preg_replace("!^From:(.*)!m", "", $additional_headers);


Add before:
$additional_headers .= 'Content-type: text/html; charset=utf-8';


I don't want to reinvent the wheel but if you better let us know. :smile  

friendly spiritblue
Big thanks, fix done and I will test with php7.4  :thumb   :grin
==========================================
Un gros merci, correction fait et je vais testé avec php7.4  :thumb   :grin
Hello gang !

I have come to share with you an update that works very well and will allow you to search and find the word in all the length of the title of the torrent which owns the title to search.

<~~~~French~~~~>

Je viens vous partager une mise a jours qui fonctionne très bien et vous permettras de chercher et de trouver le mot dans tous la  longueur du titre du torrent qui possédant le titre rechercher.

in torrents-search you find this line:
foreach ($searcha as $searchss) {
       if (strlen($searchss) <= 1)
       continue;
       $sc++;
       if ($sc > 5)
       break;
       $ssa = array();
       foreach (array("torrents.name") as $sss)
       $ssa[] = "$sss LIKE '%" . sqlwildcardesc($searchss) . "%'";
       $wherea[] = "(" . implode(" OR ", $ssa) . ")";
   }

Replace for:
foreach ($searcha as $searchss) {
       if (strlen($searchss) <= 1)
       continue;
       $sc++;
       if ($sc > 5)
       break;
       $ssa = array();
       foreach (array("torrents.name") as $sss)
       $ssa[] = "LOWER($sss) LIKE '%" . sqlwildcardesc(strtolower($searchss)) . "%'"; // update by raidewine 2021-08-30
       $wherea[] = "(" . implode(" OR ", $ssa) . ")";
   }


*Thanks to my team crazy ! :angel
Customize Help — 2021-09-12 14:35:47 in v3 Support
if needed  :giggle
CSS
Captcha TTv3 — 2021-09-09 22:39:59 in v3 Mods in Progress
COOL! #1 m8 Bad Boys M-jay  :fire  :love
Captcha Google — 2021-09-09 22:14:34 in v3 Mods Requests
cool M-jay, big thanks you!  :thumb  :fire  :love (RÉSOLU)
Captcha Google — 2021-09-07 21:08:42 in v3 Mods Requests
indeed it seems to me that it came from you on the other tt forums
yes I have the system on the login page and I would like to do the same on the signup page,
the procedure should be like login but should probably add the error to the account-confirm.php file?

I have the version in mode of my backup and it is the captchat v1 has images and the v2 was it to move the button from left to the right but the two old mods no longer want to work well and this has the image is an ordeal and I had to withdraw it seen at the registration I lost too much new member to the pod of this him.

There is only google v2 and v3 captchat which works well.

=============french================

effectivement il me semble que sa venait de vous sur l'autre forums de tt
oui j'ai le système sur la page login et j'aimerais faire de même sur la page signup,
la procédure devrait être comme login mais faut probablement ajouter l'erreur sur le fichier account-confirm.php ?

J'ai la version en mode de mes backup et c'est le captchat v1 a images et la v2 étais ce-lui de déplacer le bouton de gauche vers la droite mais les deux vieux mods ne veux plus bien fonctionner et ce lui a image est un calvaire et j'ai du le retirer vu a l'inscription j’ai trop perdu de nouveau membre a cosse de ce lui ci.

Il y a seulement le captchat google v2 et v3 qui fonctionne bien.
Captcha Google — 2021-09-06 13:30:38 in v3 Mods Requests
Hello!

I'm looking for the Captcha Google mod on signup, thank you  :smile
error announce — 2021-08-29 11:55:42 in v3 Support
thanks MicroMonkey, indeed you should make the correction.  :thumb
AUTO SCRAPE — 2021-08-18 21:43:37 in v2.08 Mods Completed
manque ce fichier ...require_once("backend/udptscraper.php"); ????
error announce — 2021-08-17 08:09:14 in v3 Support
M-jay, all torrent in seed, problem solved!
Thanks a lot for your help.   :thumb  :smile
error announce — 2021-08-16 22:12:46 in v3 Support
thank you STorrents2020, but yes I update but the forums of tt this lose and I lose the updates, dous I made this update.

no need to change type to text, but thank you very much for your help
error announce — 2021-08-16 22:10:33 in v3 Support
thank you M-jay

I made the updates of the lines to ask and more, I will get back to you if problem.

////////////////// NOW WE DO THE TRACKER EVENT UPDATES ///////////////////

if ($event == "stopped") { // UPDATE "STOPPED" EVENT
       SQL_Query_exec("DELETE FROM peers WHERE $selfwhere");
       if (mysqli_affected_rows($GLOBALS["DBconnector"])){
           if ($self["seeder"] == "yes")
$updateset[] = "seeders = (CASE WHEN (seeders < 1) THEN 0 ELSE (seeders - 1) END)";
               #$updateset[] = "seeders = seeders - 1";
           else
$updateset[] = "leechers = (CASE WHEN (leechers < 1) THEN 0 ELSE (leechers - 1) END)";
               #$updateset[] = "leechers = leechers - 1";
       }
}

if ($event == "completed") { // UPDATE "COMPLETED" EVENT    
   $updateset[] = "times_completed = times_completed + 1";

if ($MEMBERSONLY)
   {
   SQL_Query_exec("INSERT INTO completed (userid, torrentid, date) VALUES ($userid, $torrentid, '".get_date_time()."')");
   SQL_Query_exec("UPDATE LOW_PRIORITY `snatched` SET `completed` = '1' WHERE `tid` = '$torrentid' AND `uid` = '$userid' AND `utime` = '" . gmtime() . "'");
   }
}//END COMPLETED

if (isset($self)){// NO EVENT? THEN WE MUST BE A NEW PEER OR ARE NOW SEEDING A COMPLETED TORRENT
   
   SQL_Query_exec("UPDATE peers SET ip = " . sqlesc($ip) . ", passkey = " . sqlesc($passkey) . ", port = $port, uploaded = $uploaded, downloaded = $downloaded, to_go = $left, last_action = '".get_date_time()."', client = " . sqlesc($agent) . ", seeder = '$seeder' WHERE $selfwhere");

   if (mysqli_affected_rows($GLOBALS["DBconnector"]) && $self["seeder"] != $seeder){
       if ($seeder == "yes"){
           $updateset[] = "seeders = (CASE WHEN (seeders < 1) THEN 0 ELSE (seeders - 1) END)";
           $updateset[] = "leechers = (CASE WHEN (leechers < 1) THEN 0 ELSE (leechers - 1) END)";
           #$updateset[] = "seeders = seeders + 1";
           #$updateset[] = "leechers = leechers - 1";
       } else {
           $updateset[] = "seeders = (CASE WHEN (seeders < 1) THEN 0 ELSE (seeders - 1) END)";
           $updateset[] = "leechers = (CASE WHEN (leechers < 1) THEN 0 ELSE (leechers - 1) END)";
           #$updateset[] = "seeders = seeders - 1";
           #$updateset[] = "leechers = leechers + 1";
       }
   }

} else {

   $ret = SQL_Query_exec("INSERT INTO peers (connectable, torrent, peer_id, ip, passkey, port, uploaded, downloaded, to_go, started, last_action, seeder, userid, client) VALUES ('$connectable', $torrentid, " . sqlesc($peer_id) . ", " . sqlesc($ip) . ", " . sqlesc($passkey) . ", $port, $uploaded, $downloaded, $left, '".get_date_time()."', '".get_date_time()."', '$seeder', '$userid', " . sqlesc($agent) . ")");
// Mod Snatched
   if ( ($MEMBERSONLY) && (($seeder == 'no' && $torrent['freeleech'] == 0)) ) {
   SQL_Query_exec("INSERT INTO `snatched` (`uid`, `tid`, `stime`, `utime`) VALUES ('$userid', '$torrentid', '".gmtime()."', '".gmtime()."') ON DUPLICATE KEY UPDATE `utime` = '" . gmtime() . "'");
   }
   ///  
   if ($ret){
       if ($seeder == "yes")
           #$updateset[] = "seeders = seeders + 1";
   $updateset[] = "seeders = (CASE WHEN (seeders < 1) THEN 0 ELSE (seeders - 1) END)";
       else
           #$updateset[] = "leechers = leechers + 1";
   $updateset[] = "leechers = (CASE WHEN (leechers < 1) THEN 0 ELSE (leechers - 1) END)";
   }
}

//////////////////    END TRACKER EVENT UPDATES ///////////////////


for the moment the torrents will be my wish to all come back  :smile
error announce — 2021-08-16 01:46:54 in v3 Support
allo
no nothing modify the SQL table to announce
and error returns even with the modification:

Database Error in announce.php on line 373: BIGINT UNSIGNED value is out of range in '`xxxx`.`torrents`.`leechers` - 1'. Query was: UPDATE torrents SET times_completed = times_completed + 1,seeders = seeders + 1,leechers = leechers - 1,visible = 'yes',leechers = (CASE WHEN (leechers < 1) THEN 0 ELSE (leechers - 1) END) WHERE id=14261.


my modification:
// SEEDED, LETS MAKE IT VISIBLE THEN
if ($seeder == "yes") {
   if ($torrent["banned"] != "yes") // DONT MAKE BANNED ONES VISIBLE
   $updateset[] = "visible = 'yes'";
   #$updateset[] = "last_action = '".get_date_time()."'";
$updateset[] = "leechers = (CASE WHEN (leechers < 1) THEN 0 ELSE (leechers - 1) END)";
}

// NOW WE UPDATE THE TORRENT AS PER ABOVE
#if (count($updateset))
   #SQL_Query_exec("UPDATE torrents SET " . join(",", $updateset) . " WHERE id=$torrentid") or err("Erreur de suivi : impossible de mettre à jour torrent");

if (count($updateset))
   SQL_Query_exec("UPDATE torrents SET " .join(",", $updateset). " WHERE id=$torrentid") or err("Erreur du tracker: impossible de mettre a jour le torrent") or die(mysqli_error($GLOBALS["DBconnector"]));
   #SQL_Query_exec("UPDATE torrents SET " . join(",", $updateset) . " WHERE id=$torrentid") or die(mysqli_error($GLOBALS["DBconnector"]));

// NOW BENC THE DATA AND SEND TO CLIENT???
benc_resp_raw($resp);
mysqli_close($GLOBALS["DBconnector"]);
error announce — 2021-08-15 18:12:14 in v3 Support
I have v3 Here
...a big thank you M-jay, I test and get back to you if it persists   :angel
error announce — 2021-08-15 16:44:41 in v3 Support
Hey gang !

Hello I have had this error for some time and tried to fix it but it comes back, thanks in advance for your help.

Here l'error SQL:
Database Error in announce.php on line 370: BIGINT UNSIGNED value is out of range in '`XXXXX`.`torrents`.`leechers` - 1'. Query was: UPDATE torrents SET times_completed = times_completed + 1,seeders = seeders + 1,leechers = leechers - 1,visible = 'yes',last_action = '2021-08-15 15:32:50' WHERE id=14304.
error announce — 2021-08-15 16:41:49 in v3 Support
hey gang !

error  poste deleted! thanks !
hello coco

thank you very much for this hack, but on my side the nicknames were all stacked one on top of the other and not side by side, here is my personal modification which could be of service to a personal server.

thanks again.

torrents-details :

/* Torrent Views... */
print("<tr><td align='center' colspan='2'><b>" .T_("VIEWED_BY"). "&#8628;</b></td></tr>\n");

$query = SQL_Query_exec("SELECT DISTINCT(viewer), username, count FROM trackerviews LEFT JOIN users ON trackerviews.viewer = users.id WHERE trackerviews.type = 'torrent' AND trackerviews.subject = '$id' AND users.privacy != 'strong' AND users.status = 'confirmed' AND users.enabled = 'yes' LIMIT 10");
if (mysqli_num_rows($query) > 0) {
    print("<tr><td align='left'>");    
    $user = "";  
    while ($rows = mysqli_fetch_array($query)){
    $user .= "<a href='account-details.php?id=" . $rows["viewer"] . "'>" . class_user($rows["username"]) . "</a> (" . number_format($rows["count"]) . "), ";
    }
    $users  = substr($user, 0, (strlen($user) - 2));  
    print($users . "<hr/></td></tr>");
}else{
    print("<tr><td align='center' colspan='2'>".T_("TORRENT_NOT_VIEWED")."</td></tr>\n");
}
/* End */

Thanks you  :thumb

...at home it works like you
$usersrated = SQL_Query_exec("SELECT u.username, u.avatar, u.id, r.torrent FROM ratings r INNER JOIN users u ON u.id = r.user WHERE r.torrent = $row[id]") or die('Query error');
foreach ($usersrated as $row) {
  print("<br/><a href=\"account-details.php?id=".$userid."\"><img itemprop=\"image\" class=\"responsive-img\" src=\"".$row['avatar']."\" alt=\"$row[username]\" style=\"border:2px solid #FFF; width: 55px; height: 55px; margin-right: 10px; border-radius: 100%\" border=\"0\" /></a>");
}

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