thanks works well on v2.03
how to redirecting page to description when the message "Error", "You must say thanks before you can download." is on screen?
I find :
change :
$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);
with :
$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.<br /><br /><a href=torrents-details.php?id=$id>Return on the previous page</a>",1);