"mostvotedplaya, post: 80295":i have install this mod mr admin :) and its work perfect. this mod i have the problemYou need to install the thanks mod first by Torrentialstorm
"CodeMagic, post: 35779":now open download.php ??? not find the code.... and what i doing then? i think this mod is not ok for meYou 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
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 :)
$res = SQL_Query_exec("SELECT DISTINCT userid FROM peers WHERE seeder = 'yes'") or sqlerr(__FILE__, __LINE__);
OR
$res = SQL_Query_exec("SELECT DISTINCT userid FROM peers WHERE seeder = 'yes'"); if($CURUSER["edit_users"]=="yes"){
begin_frame(T_("BANS_WARNINGS"));
change to
if($CURUSER["edit_users"]=="yes" && $CURUSER["class"] > $user["class"] && $CURUSER["id"] != $user["id"]){
begin_frame(T_("BANS_WARNINGS")); "AzuriS, post: 40079":the last days i have this problem to me. how to fix it?Some users report me that seed bonus don't works for themand for one it start a few hours after he is seeding
can help me?
"ArcticWolf, post: 76687":how to see only staff the View Snatched List?yep you need to have an link with the id in it, 1st post has the 1 you put in the torrent details.should be something like hxxp://mydomain/viewsnatches.php?id=1 or what ever id your torrent # is
in svn ONLY
Edit torrents-details.php
Find:
echo "[<a href='torrents-edit.php?id=$row[id]&returnto=" . urlencode($_SERVER["REQUEST_URI"]) . "'><b>".T_("EDIT_TORRENT")."</b></a>]";
Replace by:
echo "[<a href='torrents-edit.php?id=$row[id]&returnto=" . urlencode($_SERVER["REQUEST_URI"]) . "'><b>".T_("EDIT_TORRENT")."</b></a>]";
echo "[<a href='viewsnatches.php?id=".$row['id']."'><b>View Snatched List</b></a>]";