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

Just a very simple edit to make it so that you dont just have green and red as the colors in your SEED and LEECH column on the index page. I just noticed it, and didnt like it much.
In backend/functions.php
			case 'seeders':
if ($row["seeders"] == "0")
print("<td class='ttable_col$x' align='center'><font size ='2' color='red'><b>".number_format($row["seeders"])."</b></font></td>\n");
else
print("<td class='ttable_col$x' align='center'><font size ='2' color='green'><b>".number_format($row["seeders"])."</b></font></td>\n");
break;
case 'leechers':
if ($row["leechers"] > "0")
print("<td class='ttable_col$x' align='center'><font size ='2' color='blue'><b>" . number_format($row["leechers"]) . "</b></font></td>\n");
else
print("<td class='ttable_col$x' align='center'><font size ='2' color='red'><b>" . number_format($row["leechers"]) . "</b></font></td>\n");
break;
10.4.22-MariaDB — 2022-01-22 17:39:23 in v3 Support
default should be NONE for subject field in database
V2 LibTorrent — 2022-01-15 16:34:47 in General Chat
So the only files that need updated are the parse?
V2 LibTorrent — 2022-01-14 18:22:46 in General Chat
here is a small v2 torrent using your announce. I didnt upload anything, its just a torrent
Bug Tracker — 2022-01-13 00:04:16 in M-BiTsy Support
page views never moves from 0 (zero). Just figured I would post about it.
Retropie stuff — 2022-01-12 23:58:16 in General Chat
Having some fun with my raspberry pi. I added an LED light to the front of this case so its easier to tell when its on. I always forget to shut it off lol. Its strapped to the back of my tv on top of my roku box
TTv3 Micro Edition — 2022-01-11 20:46:10 in v3 Download
Just for anyone who uses this version, I have updated the imdb trailer code. This will grab the video ID, rather than using the old method I added 10+ years ago. This way you can copy and use whatever link for imdb trailers you find, and it will strip it down to the videoID. Easier than editing the substr when they make changes, at least til they change it again, if ever, but ...
trailer code torrents-details.php

  if ($row["trailers"]) { //eg: https://www.imdb.com/video/vi612877081?playlistId=tt7991608
$IMDBurl = $row["trailers"];
$trailer = explode('/', $IMDBurl);
$video2 = strtok($trailer[4],'?');
       ?>
      <div class="tablet">
      <center><iframe seamless src="https://www.imdb.com/videoembed/<?php echo $video2; ?>"></iframe></center><br />
</div>


my trailers function in functions.php
case 'tube':
$IMDBurl = $row["trailers"];
$trailer = explode('/', $IMDBurl);
$video2 = strtok($trailer[4],'?');
     if ($row["tube"])
           print("<td class='ttable_col$x' align='center'><a rel=\"prettyPhoto\"  href=".$row['tube']." ><".htmlspecialchars($row['tube'])."><img src='" . $site_config['SITEURL'] . "/images/youtube1.png'  border='0' width='50' height='50' title='Click to watch the YouTube Trailer' /></a></td>");
     elseif ($row["trailers"])
           print("<td class='ttable_col$x' align='center'><a rel=\"prettyPhoto[iframes]\"  href=\"http://www.imdb.com/videoembed/". $video2."?ref_=embed&?iframe=true\"><img src='" . $site_config['SITEURL'] . "/images/movietrailers.png'  border='0' width='50' height='50' title='Click to watch the IMDb Trailer' /></a></td>");
           else
        print("<td class='ttable_colx' align='center'>-</td>");
        break;
       
attachments — 2022-01-11 20:31:46 in M-BiTsy Support
Thanks. Imma check this out. I never really thought about it until you did it here on your site, and it got me thinking.
Thank you for sharing, but this all seems like a completely bad idea. Just my opinion tho. Do as you will
Retropie stuff — 2022-01-09 02:46:05 in General Chat
A site for some games https://vimm.net/
Thanks, this works great. Do you have a way to make the cursor more visible when you click into a textarea?
Thanks for sharing  :smile
CSS buttons — 2021-12-18 01:13:16 in General Chat
:thumb
theme blocks display odd — 2021-12-13 19:15:22 in v3 Support
I did convert to mysqli, but I tried yours and its still the same. Its something with my torrents-details that this theme dont like. I do have a bit more stuff on that page than most, so I think the theme just cant fit it properly. All other themes just get wider to accomodate all the details, but this one gets a little screwy. Its no big deal, since its only a xmas theme. Thanks for helping tho :)
theme blocks display odd — 2021-12-11 19:08:33 in v3 Support
hmm, I dont see anything. Thats ok, its just this one theme, so Im not too worried about it. Thanks for the help on what to look for
theme blocks display odd — 2021-12-10 16:54:01 in v3 Support
I have a theme and when I go to torrent-details, the right nav blocks display badly. They are all shifted over to the left and my center boxes, like the comment box go right. I dont know what to look for to fix it. Not all themes do this. The one I am specifically talking about is NB-xmas
bookmarks — 2021-12-07 16:08:33 in v3 Support
sorry, just saw your post. bookmark.php
echo "<td class='table_col2' nowrap='nowrap'>".(is_countable($expandrows) && count($expandrows)?"<a href=\"javascript: klappe_torrent
Subtitles ? — 2021-12-04 16:51:09 in v3 Support
or, you just use https://subscene.com to get anything you may need, but most torrents already include them if they are needed. I remember fiddling with this a while ago and thinking it was completely silly to keep it
Icon on file list — 2021-11-30 22:56:49 in Old v2 Tpoics
I fiddled some more. I think the comparison for two types should be separated, otherwise, using || , it will mess up anything that comes after it, so maybe we should try like this. let me know if you think this would be more correct. Mine is for TTv3
 }else if ( $ext !== false && $ext == 'nfo' xor $ext == 'NFO') {
$filetype_icon = "<img width=40 height=40 src=/images/nfo.png>";
}

or maybe this works too
 }else if ( $ext !== false && $ext == 'nfo' || $ext == 'NFO') {
$filetype_icon = "<img width=40 height=40 src=/images/nfo.png>";
}

Dont use this
else if ( $ext !== false && $ext == 'nfo' || 'NFO')
imma beat my head on this desk lol. Here is my entire code. If a movie has a genre of ACTION, it is still showing torrents like HORROR, COMEDY, etc. I think I need to walk away for a few minutes, the word genre dont even look right anymore lol. I removed the str_replace since there is nothing to replace in the genre text that gets added. Oh, and you have torrents.genre twice in your query
////////////// Similar Torrents mod /////////////////////
begin_frame(T_("SIMILAR_TORRENTS"));
           $char1 = 50; //cut length
           $shortname = CutName(htmlspecialchars($a["name"]), $char1);
           $searchname = substr($row['name'], 0, 8);
           $query1 = str_replace(" ", ".", sqlesc("%" . $searchname . "%"));
           $query2 = str_replace(".", " ", sqlesc("%" . $searchname . "%"));
$genre = sqlesc("%" . $row['genre'] . "%");
// $r = SQL_Query_exec("SELECT torrents.id,  torrents.name, torrents.genre,  torrents.size,  torrents.added,  torrents.seeders,  torrents.leechers,  torrents.category, categories.image FROM torrents LEFT JOIN categories ON (categories.id = torrents.category) WHERE (torrents.name LIKE {$query1} AND seeders > '0' AND torrents.id <> '$id') OR (torrents.name LIKE {$query2} AND seeders > '0' AND torrents.id <> '$id') OR (torrents.genre LIKE {$genre} AND seeders > '0' AND torrents.id <> '$id') ORDER BY seeders DESC LIMIT 10") or die(mysqli_error($GLOBALS["DBconnector"]));
$r = SQL_Query_exec("SELECT torrents.genre, torrents.id,  torrents.name,  torrents.size,  torrents.added,  torrents.seeders,  torrents.leechers,  torrents.category, categories.image
FROM torrents
LEFT JOIN categories ON (categories.id = torrents.category)
WHERE (torrents.genre LIKE {$genre} AND seeders > '0' AND torrents.id <> '$id')
LIMIT 10");

   if (mysqli_num_rows($r) > 0) {
           echo "<table width=100% class=main border=1 cellspacing=0 cellpadding=0 class=table_table>\n" . "
           <tr>
                   <td class='table_head' width='20'>Type</td>
                   <td class='table_head'>Name</td>
<td class='table_head'>Genre</td>
                   <td class='table_head' align='center'>Size</td>
                   <td class='table_head' align='center'>Added</td>
                   <td class='table_head' align='center'>S</td>
                   <td class='table_head' align='center'>L</td></tr>\n";
 
   while ($a = mysqli_fetch_assoc($r)) {
 //          $r2 = SQL_Query_exec("SELECT name, image FROM categories WHERE id=$a[category]");
 //          $a2 = mysqli_fetch_assoc($r2);
           $cat = "<img class=glossy src=\"images/categories/$a[image]\" alt=\"$a[name]\" title=\"$row[cat_parent] : $row[cat_name]\"\>";
           $name = $a["name"];
 
           echo"<tr><td class='table_col1' style='padding: 1px' align='center'>$cat</td>
                    <td class='table_col1'><a title=".$a["name"]." href=torrents-details.php?id=" . $a["id"] . "&hit=1><b>" . CutName(htmlspecialchars($a["name"]), $char1) . "</b><br/></a></td>
<td class='table_col1' style='padding: 1px' align='center'>$a[genre]</td>
                    <td class='table_col1' style='padding: 1px' align='center'>" . mksize($a['size']) . "</td>
                    <td class='table_col1' style='padding: 1px' align='center'>$a[added]</td>
                    <td class='table_col1' style='padding: 1px' align='center'><span style='color:Chartreuse'>$a[seeders]</span></td>
                    <td class='table_col1' style='padding: 1px' align=center><span style='color:red'>$a[leechers]</span></td></tr>\n";
   }
     
   echo "</table>";
     
   }
               else {
                   print(T_("NO_SIMILAR_TORRENT_FOUND"));
               }
end_frame();
////////////// End Similar Torrents mod /////////////////////
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