open /include/functions.php find:
PHP Code:
tr("Double Upload", "<input type='checkbox' name='doubleupload'" . (($row["doubleupload"] == "yes") ? " checked='checked'" : "" ) . " value='1' /> Double Upload (upload stats are recorded double)", 1);
add before:
PHP Code:
tr("Svilver download", "<input type='checkbox' name='silver'" . (($row["silver"] == "yes") ? " checked='checked'" : "" ) . " value='1' /> Only half download stats be recorded fo this torrent", 1);
in takeupload.php find:
PHP Code:
if ($_POST['free'] == 1)
$free = 'yes';
else
$free = 'no';
below add:
PHP Code:
if ($_POST['silver'] == 1)
$silver = 'yes';
else
$silver = 'no';
stilli in takeupload find in the line with mysql_insert this:
PHP Code:
numfiles, type, descr, ori_descr, category, save_as, added, last_action, nfo, imageurl, free,
add after free,
and find in the near:
PHP Code:
, '$free', '$sticky',
and add the silver var so it looks like that:
PHP Code:
, '$free', '$silver', '$sticky',
Now you can upload a new torrent and test if the silver setting takes effect.
@elvira, edit and complete the mod in the first post.