Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
force user to add comment
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2011-01-30 07:51:12
Hi i would add a mod for forcing users to add one comment before downloading torrent, can you halp me?

thx for all
Unknown User
2011-01-30 20:51:03
Im using the thanks mod to force them to activate ( thank ) before they can download.

If they dont activate and just download the torrentfile they will get invalid torrentfile.

As far as it is now.

Maybe not foolproof and can be done to work around but i trust my little gang :rolleyes:
Unknown User
2011-01-31 06:00:56
i say , i have this mod installed, but what is the correctly code if i add force comment with this
Unknown User
2011-02-03 18:58:59
nobody?

i testing this code but is not correctly, you can look the good god for play

$rep = mysql_query("SELECT user, torrent FROM comments WHERE id =".intval($id));
$rop = mysql_fetch_array($rep);

$coms = explode(",", $rop['torrent']);

if (!in_array($rop['user'], $coms) && $CURUSER["id"] != $rop["torrent"] && $rop["torrent"] != 0) show_error_msg("Erreur", "Vous devez remercier l uploader, ainsi que de laisser un petit commentaire avant de pouvoir t
Unknown User
2011-02-04 08:05:11
try this

open download.php

find :

$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);
Unknown User
2011-02-10 12:05:32
work perfectly thx guy
Unknown User
2011-02-11 23:57:21
find

filename, name, comadd, banned, external, announce
add afther announce


, owner



now gonna work
Unknown User
2011-02-12 08:06:33
[url="http://www.torrenttrader.org/index.php?showtopic=13344"]http://www.torrenttrader.org/index.php?showtopic=13344[/url]
Unknown User
2011-02-12 08:27:28
Quote:
[url="http://www.torrenttrader.org/index.php?showtopic=13344"]http://www.torrenttrader.org/index.php?showtopic=13344[/url]

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 :rolleyes:
Unknown User
2011-02-13 17:28:38
"thib, post: 70512":
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  ;)
Yep Its a option :rolleyes:
Unknown User
2011-10-10 19:36:01
moved to mods completed
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728