You should first install the Thank you mod by Torrential-Storm :) Thanks TS
[url="http://www.torrenttrader.org/index.php?showtopic=6740"]TS-Thank You Mod[/url]
First lets remove the quick download option in torrents.php for users cant download the torrent without ever going into the torrent-details
in functions.php remove
now open download.php
find:
thats it, big thanks to TS for his orginal thank you mod and advice with this mod :P
[url="http://www.torrenttrader.org/index.php?showtopic=6740"]TS-Thank You Mod[/url]
First lets remove the quick download option in torrents.php for users cant download the torrent without ever going into the torrent-details
in functions.php remove
print("<td class=ttable_col1 align=center><a href=\"download.php?id=$id&name=" . rawurlencode($row["filename"]) . "\"><img src=" . $site_config['SITEURL'] . "/images/icon_download.gif border=0 alt=\"Download .torrent\"></a></td>");now open download.php
find:
$thanksl = explode(",", $row['thanks']);if (!in_array($CURUSER['username'], $thanksl) && $CURUSER["id"] != $row["owner"] && $row["owner"] != 0) show_error_msg("Error", "You must say thanks before you can download.",1);thats it, big thanks to TS for his orginal thank you mod and advice with this mod :P