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
User Posts

Go to Profile

not work for me

L'image 
it's possible to change this mod for automaticly gift for users birthday, and admin panel choose different gift?

thx
work perfectly for me. thx

rename image "error.gif" save in folder "images"

save js file in root directory

and copy all modifications in file
thx guy
work perfectly thx guy
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
i say , i have this mod installed, but what is the correctly code if i add force comment with this
Hi i would add a mod for forcing users to add one comment before downloading torrent, can you halp me?

thx for all
Torrent Images — 2011-01-20 17:00:20 in v2 Only Mods Complete
this is my torrent detail test, you can look this and help me for bad codage?

<?php
//

//  TorrentTrader v2.x

// This file was last updated: 28/November/2007 by TorrentialStorm

//

// http://www.torrenttrader.org

//

//

require_once("backend/functions.php");

require_once("backend/BDecode.php");

require_once("backend/parse.php");//replace with parse later

dbconn();

$torrent_dir = $site_config["torrent_dir"];

$nfo_dir = $site_config["nfo_dir"];

//check permissions

if ($site_config["MEMBERSONLY"]){

loggedinonly();

if($CURUSER["view_torrents"]=="no")

show_error_msg("Error","You do not have permission to view torrents",1);

}

//************ DO SOME "GET" STUFF BEFORE PAGE LAYOUT ***************

$id = (int) $_GET["id"];

$scrape = (int)$_GET["scrape"];

if (!is_valid_id($id))

show_error_msg("ERROR","Thats not a valid ID",1);

//GET ALL MYSQL VALUES FOR THIS TORRENT

$res = mysql_query("SELECT torrents.anon, torrents.thanks, torrents.seeders, torrents.banned, torrents.leechers, torrents.info_hash, torrents.filename, torrents.nfo, torrents.last_action, torrents.numratings, torrents.name, torrents.owner, torrents.save_as, torrents.descr, torrents.synopsis, torrents.movie, torrents.screenshot, torrents.visible, torrents.size, torrents.added, torrents.views, torrents.hits, torrents.times_completed, torrents.id, torrents.type, torrents.external, torrents.image1, torrents.image2, torrents.announce, torrents.numfiles, torrents.freeleech, IF(torrents.numratings < 2, NULL, ROUND(torrents.ratingsum / torrents.numratings, 1)) AS rating, torrents.numratings, categories.name AS cat_name, torrentlang.name AS lang_name, torrentlang.image AS lang_image, categories.parent_cat as cat_parent, users.username, users.privacy FROM torrents LEFT JOIN categories ON torrents.category = categories.id LEFT JOIN torrentlang ON torrents.torrentlang = torrentlang.id LEFT JOIN users ON torrents.owner = users.id WHERE torrents.id = $id") or die(mysql_error());

$row = mysql_fetch_array($res);

$moderator = $CURUSER["edit_torrents"] == "yes";

//DECIDE IF TORRENT EXISTS

if (!$row || ($row["banned"] == "yes" && !$moderator))

show_error_msg("Error","" . TORRENT_NOT_FOUND . "",1);

//torrent is availiable so do some stuff

if ($_GET["hit"]) {

mysql_query("UPDATE torrents SET views = views + 1 WHERE id = $id");

header("Location: torrents-details.php?id=$id");

die;

}

stdhead("Details for torrent \"" . $row["name"] . "\"");

if ($CURUSER["id"] == $row["owner"])

$owned = 1;

else

$owned = 0;

if ($CURUSER["edit_torrents"]=="yes")

$owned = 1;

//take rating

if ($_GET["takerating"] == 'yes'){

$rating = (int)$_POST['rating'];

if ($rating <= 0 || $rating > 5)

show_error_msg("Rating Error", "Invalid rating",1);

$res = mysql_query("INSERT INTO ratings (torrent, user, rating, added) VALUES ($id, " . $CURUSER["id"] . ", $rating, '".get_date_time()."')");

if (!$res) {

if (mysql_errno() == 1062)

show_error_msg("Rating Error", "You have already rated this torrent.",1);

else

show_error_msg("Rating Error", "A Unknown Error, contact staff",1);

}

mysql_query("UPDATE torrents SET numratings = numratings + 1, ratingsum = ratingsum + $rating WHERE id = $id");

show_error_msg(".RATING.", "".RATING_THANK."<BR><BR><a href=torrents-details.php?id=$id>" . BACK_TO_TORRENT . "</a>");

}

//take comment add

if ($_GET["takecomment"] == 'yes'){

loggedinonly();

$commentbody = $_POST['body'];

if (!$commentbody)

show_error_msg("Error","You did not enter anything!",1);

mysql_query("UPDATE torrents SET comments = comments + 1 WHERE id = $id") or die(mysql_error());

mysql_query("INSERT INTO comments (user, torrent, added, text) VALUES (".$CURUSER["id"].", ".$id.", '" .get_date_time(). "', " . sqlesc($body).")") or die(mysql_error());

if (mysql_affected_rows() == 1)

show_error_msg("".COMPLETED."","".COMMENT_ADDED."",0);

else

show_error_msg("Error","Unable to add comment",0);

}//end insert comment

//START OF PAGE LAYOUT HERE

$char1 = 50; //cut length

$shortname = CutName(htmlspecialchars($row["name"]), $char1);

begin_frame("" . TORRENT_DETAILS_FOR . " \"" . $shortname . "\"");

echo "<div align=right>[<a href=report.php?torrent=$id><B>" . REPORT_TORRENT . "</B></a>]&nbsp;";

if ($owned)

echo "[<a href=torrents-edit.php?id=$row[id]><B>".EDIT_TORRENT."</B></a>]";

echo "</div>";

$previd = mysql_query("SELECT id, name FROM torrents WHERE id < $id ORDER BY id DESC LIMIT 1");

$prev = mysql_fetch_row($previd);

$previd = $prev[0];

$prevname = htmlspecialchars($prev[1]);

$nextid = mysql_query("SELECT id, name FROM torrents WHERE id > $id ORDER BY id ASC LIMIT 1");

$next = mysql_fetch_row($nextid);

$nextid = $next[0];

$nextname = htmlspecialchars($next[1]);

echo "<table border=0 width=100%><tr>";

if ($previd)

echo "<td align=center><a href='torrents-details.php?id=$previd'>[Torrent Pr
Torrent Images — 2011-01-17 12:04:55 in v2 Only Mods Complete
you're torrents detail style it's very good!

how to make?
it's possible to add hostname column in this mod?

thx
Warned Level — 2010-10-13 05:10:26 in v2 Only Mods Complete
UPDATE
Warned Level — 2010-10-12 18:39:16 in v2 Only Mods Complete
[size=18px] i found my error, UPDATE 10/13/2010[/size]

i would created auto mod warned for 3 level

level 1 if ratio < 0.7

level2 if ratio <0.6

level3 if ratio <0.55

AFTER TABLE 'users' ADD 

warned   char(3) Non  no

warned2 char(3) Non  no  

warned3 char(3) Non  no  

raison1   text  Non  

raison2   text  Non

raison3   text  Non
in admin_modtask.php



shearch


	$invites = $_POST["invites"];







after add



   

$warned = $_POST["warned"];

$warned2 = $_POST["warned2"];

$warned3 = $_POST["warned3"];

$raison1 = $_POST["raison1"];

$raison2 = $_POST["raison2"];

$raison3 = $_POST["raison3"];





search





mysql_query("UPDATE users SET title='$title', downloaded='$downloaded',







add into line





, warned='$warned', warned2='$warned2', warned3='$warned3', raison1='$raison1', raison2='$raison2', raison3='$raison3',







open account_detail.php



find



		Country: <?=$country?><BR>





after add





<?  if ($user["warned3"]=="yes") print("<b>Niveau d'avertissement:</b> <BR><img src=$site_config[SITEURL]/images/warn_max.png>");

 else if ($user["warned2"]=="yes") print("<b>Niveau d'avertissement:</b> <BR> <img src=$site_config[SITEURL]/images/warn_2.png>");

 else if ($user["warned"]=="yes") print("<b>Niveau d'avertissement:</b> <BR> <img src=$site_config[SITEURL]/images/warn_1.png>");

 else print("<b>Niveau d'avertissement:</b> <BR> <img src=$site_config[SITEURL]/images/warn_0.png><BR><BR>");

?><BR><BR>





find



	$enabled = $user["enabled"] == 'yes';







add after



	$warned = $user["warned"] == 'yes';

$warned2 = $user["warned2"] == 'yes';

$warned3 = $user["warned3"] == 'yes';




find

	print("<tr><td>Compte:</td><td align=left><input name=enabled value=yes type=radio" . ($enabled ? " checked" : "") . ">Activ
don't work for me allways
Warned Level — 2010-10-05 06:21:49 in v2 Only Mods Complete
what's the rapport with updatedby?
Warned Level — 2010-10-04 20:26:20 in v2 Only Mods Complete
what mod?
Warned Level — 2010-10-04 17:10:34 in v2 Only Mods Complete
i would created reason for my diferent warning level look this and find where is my problem, thx.

account-detail.php

find

$enabled = $user["enabled"] == 'yes';
after add


$raison1 = format_comment($user["raison1"]);



find

  print("<tr><td>Compte:</td><td align=left><input name=enabled value=yes type=radio" . ($enabled ? " checked" : "") . ">Activ
just test tomorrow but i delete this code thx
i don't have error sql with new hack and i delete my stable upadetdprofile and reinstal this one and no change, i don't understand this reason for no working
you've tested with my admin_modtask file in you're site? it work?
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: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728