Hi i would add a mod for forcing users to add one comment before downloading torrent, can you halp me?
thx for all
thx for all
$rep = mysql_query("SELECT user, torrent FROM comments WHERE id =".intval($id));$rop = mysql_fetch_array($rep);$fn = "$torrent_dir/$id.torrent";
add after:
$com = mysql_query("SELECT id FROM comments WHERE torrent =".intval($id)." and user ='" . $CURUSER["id"] ."'");
$verif_com = mysql_num_rows($com);
find :
$name = $row['filename'];
add before:
if ($verif_com < 1 && $CURUSER["id"] != $row["owner"] && $row["owner"] != 0)
show_error_msg("Error", "You must add a comment before download.",1);
filename, name, comadd, banned, external, announceadd afther announce , ownerQuote:[url="http://www.torrenttrader.org/index.php?showtopic=13344"]http://www.torrenttrader.org/index.php?showtopic=13344[/url]
"thib, post: 70512":Yep Its a option :rolleyes:it's not really the same thing your mod it's a option for uploader (it seems nice ) and here it's an obligation for all members to add a comment before downloading ;)
No users online
Torrents
Members
Online