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

hmm, its still displaying the same similar torrents. I added code so I can see what genre is in the database. Any ideas? It has to be not correctly reading the DB, unless I created the table wrong. I used varchar 255 NULL https://ibb.co/Ydv7nxB
yea, I think we may be getting somewhere. Its only inserting the first genre keyword. gunna have to fiddle around
the genre is going into the database like this picture shows. there are usually 3 words separated by a comma, like Action, Adventure, Sci-Fi. And it seems to just be using the same torrents over and over under similar, so I dont think its reading the row correctly, prolly because too many words and a comma or 2
I was goofing around with this
// /////ADD genre pulled from the IMDB and put it in the stupid database as genre
if ($row["genre"]='NULL'){
SQL_Query_exec("UPDATE `torrents` SET `genre` = '".mysqli_real_escape_string ($GLOBALS["DBconnector"],$_data->Genre). "' WHERE `id` = $id");
}
/////END genre

It puts the genre in the DB. I just made the column a varchar 255 null. Not sure what to do with the output or even where to use this lol
It would be cool if it would use genre too, like maybe pull the genre from the imdb and use that, so action, comedy, etc
awesome. Post your code when you are finished  :smile
bookmarks — 2021-11-26 11:55:40 in v3 Support
Cool, glad its working. In case you havent already done this, this is the count fix for that file also
.(is_countable($expandrows) && count($expandrows)?
Nullrefer — 2021-11-26 11:01:25 in v3 Support
press control+shift+R. Clear your browser cache, or you can remove the whole function from your theme footer.php. I would probably just remove it since those services get a bit flakey anyways
<script src="<?php echo $site_config["SITEURL"];?>/scripts/anon.js" type="text/javascript"></script>
<script type="text/javascript">
protected_links = "<?php echo $site_config["SITEURL"];?>";
auto_anonymize();
Nullrefer — 2021-11-26 00:05:20 in v3 Support
scripts/anon.js
Comment out what you dont want
This does work tho
a_to_ve[i].href = "https://anon.to?" + a_to_vi;
torrent name — 2021-11-24 23:52:29 in v3 Support
so the LANG file was messing it up? Can you just use "Description" in its place? Using just plain text? Can you show what you erased?
bookmarks — 2021-11-24 22:44:38 in v3 Support
I think the file is called bookmark, NOT bookmarks, there are 2 files named both, perhaps your code should be
pager (25, $ count, "bookmark.php?");

I also made a correction, read this forum https://torrenttrader.uk/topic?topicid=4518
torrent name — 2021-11-24 11:42:25 in v3 Support
I tried this and you are right. If you post an image in the torrent description using [img] tags, it blows out the index tables. I'll have to look into this a bit later. I never tried images in a torrent description before. My first thought is it may have something to do with the balloon tooltips mod. You can see the onMouseout showing in your picture above.
If you want to display seeding and leeching in your login-block, use this. This also has connectable in it. Edit and move this around as you see fit.
								$res = mysqli_query($GLOBALS["DBconnector"],"SELECT COUNT(*) FROM peers WHERE userid=" . $CURUSER["id"] . " AND seeder='yes'");
$row = mysqli_fetch_row($res);
$activeseed = $row[0];
$res = mysqli_query($GLOBALS["DBconnector"],"SELECT COUNT(*) FROM peers WHERE userid=" . $CURUSER["id"] . " AND seeder='no'");
$row = mysqli_fetch_row($res);
$activeleech = $row[0];
$res2 = mysqli_query($GLOBALS["DBconnector"],"SELECT connectable FROM peers WHERE userid=" . sqlesc($CURUSER["id"]) . " LIMIT 1");
if($row = mysqli_fetch_row($res2)){
$connectable = get_row_count("peers", "WHERE connectable='yes' AND userid=$CURUSER[id]");
$unconnectable = get_row_count("peers", "WHERE connectable='no' AND userid=$CURUSER[id]");
}
if ($unconnectable)
print "<br>".T_('CONNECTABLE')."<b><font color='#FF0000' class='blink'>".T_('CONNECTABLENO')."</font></b>";
elseif ($connectable)
print "<br>".T_('CONNECTABLE')."<b><font color='#00FF00'>".T_('CONNECTABLEYES')."</font></b>";
elseif (empty($row))
print "<br>".T_('CONNECTABLE')."<b><font color='#FF9900'>".T_('CONNECTABLENA')."</font></b>";

print("  •  ".T_("ACTIVE_TRANSFERS").": <a href=\"account-details.php?id=".$CURUSER["id"]."#seeding\"><img src='images/download.png' border='0' title='".T_("ACTIVE_TRANSFERS")."'> <font color=lime><b>$activeseed</b></font></a>");
print(" <img src='images/upload.png' border='0' title='".T_("CURRENTLY_LEECHING")."'> <font color=red><b>$activeleech</b></font>");

Images go in root images folder.  https://www.mediafire.com/file/ms6decv22nkg6u4/updownimages.rar/file

Example: My code looks like this. The connectable code is slightly different, but feel free to test both
$loggedin = get_elapsed_time(strtotime($CURUSER['last_login']));
print ("<center><img width='80' height='80' src='$avatar' alt='' /></center><br />" . T_("DOWNLOADED") . ": $userdownloaded<br />" . T_("UPLOADED") . ": $useruploaded<br />".T_("CLASS").": ".T_($CURUSER["level"])."<br />" . T_("ACCOUNT_PRIVACY_LVL") . ": $privacylevel<br />" . T_("LOGGED_IN_FOR") . ": $loggedin<br />". T_("RATIO") .": $userratio<br>Seed Bonus : <b><a href=mybonus.php>".$bonus."</a></b><br /><hr/>Port: <a href='testport.php' title='Porttest'>".$port."</a><br /><hr/><center>".T_("ACTIVE_TRANSFERS").": </center><br><center><a href=\"account-details.php?id=".$CURUSER["id"]."#seeding\">&nbsp;&nbsp;<img src='images/download.png' border='0' title='".T_("ACTIVE_TRANSFERS")."'> <font color=lime><b>$activeseed</b></font></a>");
print("&nbsp;<img src='images/upload.png' border='0' title='".T_("CURRENTLY_LEECHING")."'> <font color=red><b>$activeleech</b><hr/></font></center>");

$connectable = get_row_count("peers", "WHERE connectable='yes' AND userid=$CURUSER[id]");
$unconnectable = get_row_count("peers", "WHERE connectable='no' AND userid=$CURUSER[id]");
if ($unconnectable)
       print "<br>".T_('CONNECTABLE')."<b><font color='#FF0000' class='blink'>".T_('CONNECTABLENO')."</font></b>";
elseif ($connectable)
       print "<br>".T_('CONNECTABLE')."<b><font color='#00FF00'>".T_('CONNECTABLEYES')."</font></b>";
else
       print "<br>".T_('CONNECTABLE')."<b><font color='#FF9900'>".T_('CONNECTABLENA')."</font></b>";
Heres something to play with if you want. Add this to your login-block.php. play around with it until you find a nice place for it to display. You can put the PRINT part of the code anywhere you want. It doesnt have to be with the rest of this code, or just add it to a PRINT that you already have
								$res = mysqli_query($GLOBALS["DBconnector"],"SELECT COUNT(*) FROM peers WHERE userid=" . $CURUSER["id"] . " AND seeder='yes'");
$row = mysqli_fetch_row($res);
$activeseed = $row[0];
$res = mysqli_query($GLOBALS["DBconnector"],"SELECT COUNT(*) FROM peers WHERE userid=" . $CURUSER["id"] . " AND seeder='no'");
$row = mysqli_fetch_row($res);
$activeleech = $row[0];
$res2 = mysqli_query($GLOBALS["DBconnector"],"SELECT connectable FROM peers WHERE userid=" . sqlesc($CURUSER["id"]) . " LIMIT 1");
if($row = mysqli_fetch_row($res2)){
$connectable = get_row_count("peers", "WHERE connectable='yes' AND userid=$CURUSER[id]");
$unconnectable = get_row_count("peers", "WHERE connectable='no' AND userid=$CURUSER[id]");
}
if ($unconnectable)
print "<br>".T_('CONNECTABLE')."<b><font color='#FF0000' class='blink'>".T_('CONNECTABLENO')."</font></b>";
elseif ($connectable)
print "<br>".T_('CONNECTABLE')."<b><font color='#00FF00'>".T_('CONNECTABLEYES')."</font></b>";
elseif (empty($row))
print "<br>".T_('CONNECTABLE')."<b><font color='#FF9900'>".T_('CONNECTABLENA')."</font></b>";

print("&nbsp; &bull; &nbsp;".T_("ACTIVE_TRANSFERS").": <a href=\"account-details.php?id=".$CURUSER["id"]."#seeding\"><img src='images/download.png' border='0' title='".T_("ACTIVE_TRANSFERS")."'> <font color=lime><b>$activeseed</b></font></a>");
print("&nbsp;<img src='images/upload.png' border='0' title='".T_("CURRENTLY_LEECHING")."'> <font color=red><b>$activeleech</b></font>");

Images go in images folder
Upgrade TTV3 to php8 — 2021-11-18 11:45:35 in v3 Support
dunno yet. I have to set up a virtual machine to test it out and see what it will take, and I will have to read to see what is deprecated and so on and so forth. Im sure I will give it a try soon
small error — 2021-11-16 23:41:10 in v3 Support
they are YES or NO, so that edit will not be correct
small error — 2021-11-15 22:54:14 in v3 Support
cool. TTv3 github updated
small error — 2021-11-15 20:53:43 in v3 Support
where are you seeing this code at?
$updateset[] = "freeleech = '".$_POST["freeleech"]."'";

if torrents-edit, it should most likely be this
$updateset[] = "freeleech = '".intval($_POST["freeleech"])."'";
small error — 2021-11-15 11:27:22 in v3 Support
what is the error
Autoplay video — 2021-11-14 22:10:20 in v3 Support
not sure about making it autoplay, but why would you want to do that? Imagine a post that has 5 videos all autoplaying at the same time.....I dont think thats a wise choice lol.
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