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

The second star — 2021-04-28 05:23:16 in v3 Support
Quote:
Is it works on your source, do you have test it?


No I haven't tested because I'm not at home I'll check to see if it works later tonight.
The second star — 2021-04-27 20:03:31 in v3 Support
Thanks @Botanicar i send tomorrow my online block code.
BTW your source code look awesome. Great job. This is unique ;)
The second star — 2021-04-27 04:28:21 in v3 Support
Yep donator star, but the second star is called star.png
It is interesting that it does not appear everywhere
only in certain places. And I don't know how to do it alone donor.png

This is on index.php Latest Request and Online block



Thanks guys

The second star — 2021-04-26 04:42:19 in v3 Support
Hi guys, could you tell me how to remove the second star next to the nickname.

Thank you all and Regards

Say Thanks & Force — 2021-04-23 07:27:32 in v3 Mods Completed
The problem is in one line

In thanks.php find:
$u = ($u);


Replace with:
$u = class_user($u);


Thank you M-jay for updating this mod for TTv.3

Screenshot



Thanks MM i installed this mod, but when I click on See Votes nothing is happening.
Where could be the problem?
Thanks again and Regards

Edit: There are some errors, view screenshots



Line 167: if ( getCookie('slidingDiv'+items[i].id) == 'hide' )
Hello guys.
Will this mod work with TTv3 and how it should be changed to work

Regards
Blocked port 25 — 2021-03-13 17:36:20 in General Chat
What is this port 25.
This is mail port right
and to be able to turn it off and on as with sticky checkbox in torrents-edit.php
No, no clickable link only image.
Thanks MM i will try
@Botanicar i run CentOS 7 on my VPS in my case this contguration file where disable strict mode is here: /etc/my.cnf.d/server.cnf

Quote:
# this is only for the mysqld standalone daemon
[mysqld]
sql_mode=NO_ENGINE_SUBSTITUTION


however, I have not updated the system
Hello guys.
Can anyone help and tell me how I can add a image with subtitles to the near of the torrent name
Like this https://i.ibb.co/PTJcgPv/001.png
Thanks and regards
this code you give me works but another problem occurred
when I logged in as a Staff everything is fine but when logged in as a user the page bugs, it expands
https://i.ibb.co/TmGffkX/002.png

Thanks for your help :)

Edit: This problem exists only in one theme more precisely theme wow in default theme and NB-iSkin theme everything is fine
Thanks MM i will try
BTW this scrape work awesome
https://i.ibb.co/Z1s92C8/001.png
Quote:
this seems to work. you can set what user class you want. torrents-detail.php


if($CURUSER["class"] > 4) {
print ("<td valign='top' align='right'><b>Tracked:</b> EXTERNAL<br /><br /><form action='torrents-details.php?id=$id&amp;scrape=1' method='post'><input type=\"submit\" name=\"submit\" value=\"Update Stats\" /></form></td>"); }


My code is a little different i use udptscraper.php and i can't find those lines :(

This is code which i used:
//===| Scrape External Torrents
  if ($row["external"]=='yes')
  {
      print ("<td width='160' align='right' valign='top'><table><tr>");
      if ($scrape =='1')
      {
          print("<td class='table_col1' width='150' valign='middle'>
          <div style='margin-top:5px; margin-bottom:10px; font:bold 16px Times' align='center'><font color='#FF2000'>".T_("EXTERNAL_TORRENT")."</font></div>");

          //===| UDP Scraper
          $resu = SQL_Query_exec("SELECT id, info_hash FROM torrents WHERE external = 'yes' AND id = $id");
          while ($rowu = mysqli_fetch_array($resu))
          {
              $TorrentInfo = ParseTorrent("$site_config[torrent_dir]/$rowu[id].torrent");
              $ann = $TorrentInfo[0];
              $annlist = array();

              if ($TorrentInfo[6])
              {
                  foreach ($TorrentInfo[6] as $ann)
                  {
                      $annlist[] = $ann[0];
                  }
              }
              else
                  $annlist = array($ann);

              $seeders = $leechers = $downloaded = null;
              foreach ($annlist as $ann)
              {
                  $tracker = explode("/", $ann);
                  $path = array_pop($tracker);
                  $oldpath = $path;
                  $path = str_replace("announce", "scrape", $path);
                  $tracker = implode("/", $tracker)."/".$path;

                  if ($oldpath == $path)
                  {
                      continue;
                  }
                  if ($openbittorrent_done)
                      continue;

                  if (preg_match("/thepiratebay.org/i", $tracker) || preg_match("/prq.to/", $tracker))
                  {
                      $tracker = "http://tracker.openbittorrent.com/scrape";
                      $openbittorrent_done = 1;
                  }
                  if(preg_match('/udp:\/\//', $tracker))
                  {
                      $udp=true;
                      try
                      {
                          $timeout = 5;
                          $udp= new udptscraper($timeout);
                          $stats=$udp->scrape($tracker,$rowu["info_hash"]);
                          //print_r($stats); exit();
                          foreach ($stats as $idu=>$scrape)
                          {
                              $seeders += $scrape['seeders'];
                              $leechers += $scrape['leechers'];
                              $downloaded    += $scrape['completed'];
                          }
                      }
                      catch(ScraperException $e)
                      {
                          $e->isConnectionError();
                      }
                  }
                  else
                  {
                      $stats = torrent_scrape_url($tracker, $rowu["info_hash"]);
                  }

                  if ($stats['seeds'] != -1)
                  {
                      $seeders += $stats['seeds'];
                      $leechers += $stats['peers'];
                      $downloaded += $stats['downloaded'];

                      SQL_Query_exec("UPDATE `announce` SET `online` = 'yes', `seeders` = '".$stats[seeds]."', `leechers` = '".$stats[peers]."', `times_completed` = '".$stats[downloaded]."' WHERE `url` = ".sqlesc($ann)." AND `torrent` = $rowu[id]");
                  }
                  else
                  {
                      SQL_Query_exec("UPDATE `announce` SET `online` = 'no' WHERE `url` = ".sqlesc($ann)." AND `torrent` = $rowu[id]");
                  }
              }

              if ($seeders !== null)
              {
                  SQL_Query_exec("UPDATE torrents SET leechers = '".$leechers."', seeders = '".$seeders."', times_completed = '".$downloaded."', last_action = '".get_date_time()."', visible = 'yes' WHERE id = '".$rowu['id']."'");
              }
              else
              {
                  SQL_Query_exec("UPDATE torrents SET last_action = '".get_date_time()."' WHERE id='".$rowu['id']."'");
              }
          }
          //===| End UDP Scraper
               
          if ($seeders !== null)
          {
              print ("<div style='margin-bottom:5px; margin-left:20px'><b>".T_("LIVE_STATS")."</b>: </div>");
              print ("<div style='margin-left:20px'>".T_("SEEDERS").": <font color='limegreen'>". max( 0, number_format($seeders )) ."</font></div>");
              print ("<div style='margin-left:20px'>".T_("LEECHERS").": <font color='#FF2000'>". max( 0, number_format($leechers )) ."</font></div>");
              print ("<div style='margin-left:20px'>".T_("COMPLETED").": <font color='#0080FF'>". max( 0, number_format($downloaded )) ."</font></div>");
           }
           else
           {
              print ("<div style='margin-top:10px; margin-bottom:5px' align='center'><b>".T_("LIVE_STATS")."</b>: </div>");
              print ("<div style='font:italic 14px Times' align='center'><font color='#FF2000'>".T_("TRACKERS_OFFLINE")."!</font></div>");
           }
              print ("<div style='margin-top:10px; margin-bottom:10px' align='center'>
               <a href='torrents-details.php?id=".$id."'><input type='submit' name='submit' value=".T_("SUBMIT")."></a>
               </div>");
              print ("</td>");
          }
          else
          {
              print ("<td class='table_col1' width='150' border='0' valign='middle' align='center'>
               <div style='margin-top:5px; margin-bottom:10px; font:bold 16px Times' align='center'><font color='#FF2000'>".T_("EXTERNAL_TORRENT")."</font></div>
                   <form action='torrents-details.php?id=$id&amp;scrape=1' method='post'>
               <div style='margin-top:5px; margin-bottom:10px' align='center'><input type='submit' name='submit' value=".T_("UPDATE")." /></div>
                   </form>
               </td>");
       }
             print ("</tr></table></td>");
   }
//===| End Scrape External Torrents

Thanks MicroMonkey
I wll try this
This is the code
if ($row["anon"] == "yes" && !$owned) print("


TTv.3.0MySQLi
Hi guys I want to ask because I can't understand where exactly to put the code who @Botanicar give me.
I want only Staff to be able to update external torrents.
Thanks in advance
Regards to all
NFO fix [TTv3] — 2021-02-18 22:21:33 in v3 Mods Completed
Yes bro this working i changed 35 to 45 and everything is ok
Thanks again you are the best MM  :)

Good night guys and see you tomorrow
NFO fix [TTv3] — 2021-02-18 20:43:06 in v3 Mods Completed
Works great, thanks MicroMonkey  ;)
NFO works.

Now I have another problem
If the torrent name symbols are longer, it is not displayed



this is only in the torrents.php page
Help  please :(
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