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
snatched
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Support

2022-05-12 10:14:38
i have a problem with snatched when its normal torretnt it shows the snatchlist for all users, but if i download free torrents is not showing nothing Snached is empty.

Thank you
2022-05-12 17:18:02
from what i remember its because you dont add snatched if freeleech in announce.php it will be something like
	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() . "'");
}


removing this should work
&& $torrent['freeleech'] == 0 


however might be worth seeing how you update the snatched table in announce you will have a sql query like UPDATE snatched

but you update on announce from client calculations so shouldn't be a issue - should test this before live site  đź‘Ť
Last edited by M-jay warn on 2022-05-12 17:18:35
2022-05-12 18:05:02
yep looks like it worked, hope is working everything
thank you
2022-05-19 13:35:30
If you don’t know just check your Apache logs. It will report pho issues (like missing variables, this, that). Be confident the code is parsing correctly all the time!
2024-12-28 15:16:51
for freeleech,ligne on best!

if ($user["class"] >= "3" || $torrent["freeleech"] == 1){

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: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728