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

ALTER TABLE `users` ADD `uploadbanned` CHAR(3) NOT NULL DEFAULT 'no' AFTER `forumbanned`;
MySQL a répondu: [url="http://localhost/phpmyadmin/url.php?url=http%3A%2F%2Fdev.mysql.com%2Fdoc%2Frefman%2F5.6%2Fen%2Ferror-messages-server.html"][/url]

#1054 - Unknown column 'forumbanned' in 'users'
wrong SQL

warning

 
ALTER TABLE `users` ADD `uploadbanned` CHAR(3) NOT NULL DEFAULT 'no' AFTER `forumbanned`;

ALTER TABLE `users` ADD `uploadbanneduntil` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' AFTER `uploadbanned`;

sorry change group for this groups (sql)
share my code whith if (!$receiver) autolink("uptransfer.php", T_("USER_NOT_FOUND"));

why not put this code into login_block.php ^^

<a href="uptransfer.php"><b><?php echo T_("DONATE_UPLOAD_CREDITS"); ?></b></a><br />

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=7128"]uptransfer.php[/url]
Very important ,people has forget this SQL

run sql

ALTER TABLE `torrents` ADD `thanks` LONGTEXT;

torrents-details.php, find:

$res = SQL_Query_exec("SELECT 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.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());

replace with:

$res = SQL_Query_exec("SELECT torrents.seeders, torrents.thanks, 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.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());

find:

print("<tr><td align='left'><b>".T_("HITS").":</b></td><td>" . number_format($row["hits"]) . "</td></tr>n");

Add below:

$thanksl = explode(",", $row['thanks']);

if ($CURUSER['username'] == $row['username'] || !$CURUSER) $leftthanks = true;
foreach ($thanksl as $u) {
   $thanks .= ($i>0)?", $u":$u;

if ($u == $CURUSER['username']) $leftthanks = true;
   $i++;
}

if (!$thanks) $thanks = "No one yet.";
   print("<tr><td align=left><b>Merci par:</b></td><td>$thanks</td></tr>n");

Add thanks.php to root site

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=7122"]thanks.php[/url]
if you 2.08

try this in shoutbox

$query = "INSERT INTO shoutbox (msgid, user, message, date, userid) VALUES (NULL, 'System', 'New Torrent: ."/torrents-details.php?id=".$id."]".sqlesc($name)." has been uploaded by ."/account-details.php?id=".$CURUSER['id']."]" .$CURUSER['username']. "', now(), '0')";mysql_query($query);


SQL_Query_exec("INSERT INTO shoutbox VALUES('', 'System', 'New Torrent: ."/torrents-details.php?id=".$id."]".$torrent." has been uploaded by ."/account-details.php?id=".$CURUSER['id']."]" .$CURUSER['username']. "', now(), '0')") or sqlerr(__FILE__,__LINE__);


mysql_query("INSERT INTO shoutbox VALUES('', 'System', 'New Torrent: ."/torrents-details.php?id=".$id."]".$torrent." has been uploaded by ."/account-details.php?id=".$CURUSER['id']."]" .$CURUSER['username']. "', now(), '0')") or sqlerr(__FILE__,__LINE__);
searchcloud — 2014-10-19 15:50:03 in v2 Only Mods Complete
Easy take this code updated

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=7113"]searchcloud_block.php[/url]
uploader app — 2014-10-18 19:57:35 in v2 Only Mods Complete
apply correction by Artic

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=7112"]uploadapp.php[/url]
searchcloud — 2014-10-17 02:01:16 in v2 Only Mods Complete
thank Artic  :)
searchcloud — 2014-10-15 17:02:31 in v2 Only Mods Complete
other solution


CREATE TABLE `searchcloud` (

`id` int(10) unsigned NOT NULL auto_increment,

`searchedfor` varchar(50) NOT NULL,

`howmuch` int(10) NOT NULL,

KEY `howmuch_searchedfor` (`howmuch`,`searchedfor`),

KEY `searchedfor` (`searchedfor`),

PRIMARY KEY (`id`)

) ENGINE=MyISAM;

searchcloud — 2014-10-15 11:07:19 in v2 Only Mods Complete
SAS look  ;)

good work create table sql


CREATE TABLE `searchcloud` (
`id` int(10) unsigned NOT NULL auto_increment,
`searchedfor` varchar(50) NOT NULL,
`howmuch` int(10) NOT NULL,
KEY `howmuch_searchedfor` (`howmuch`,`searchedfor`),
KEY `searchedfor` (`searchedfor`),
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

Nfo Ripper — 2014-10-14 01:25:07 in v2.08 Mods Completed
sorry Tiloup,thank you Artic

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=7108"]nforipper.php[/url]
Nfo Ripper — 2014-10-10 18:33:03 in v2.08 Mods Completed
if you tt2.08 share this code

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=7100"]nforipper.php[/url]
[MOD] Thanks — 2014-10-04 21:44:38 in v2 Only Mods Complete
thecoreboys [url="http://torrenttrader.org/topic/6740-mod-thanks"]http://devscorner.xyz/topic/6740-mod-thanks[/url]

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=7098"]thanks.php[/url]
hello Dewey look this hack by Tiloup

[url="http://torrenttrader.org/topic/17860-torrent-new-image-shout/?hl=%2Btorrent+%2Bshoutbox"]http://torrenttrader.org/topic/17860-torrent-new-image-shout/?hl=%2Btorrent+%2Bshoutbox[/url]

add torrent-upload.php

//Nouveau torrent en message et image sur shoutbox
   $image = $inames[0];
   $membre = ( $anon == 'yes' || $CURUSER['privacy'] == 'strong' ) ? 'Anonyme' : $CURUSER['username'];
   SQL_Query_exec("INSERT INTO shoutbox VALUES('', 'Systeme', '

 Nouveau Torrent : ."/torrents-details.php?id=".$id."]".$torrent."n[img]%22.%24site_config%5B'SITEURL'[/img]."/uploads/images/".$image."]n Upload de".($anon == 'no' ? " ."/account-details.php?id=".$CURUSER['id']."] " .$CURUSER['username']. "


" : "")."'Merci!', now(), '0')") ;
       //Fin Nouveau torrent en message et image sur shoutbox

   write_log ( sprintf(T_("TORRENT_UPLOADED"), htmlspecialchars($name), $CURUSER["username"]) );    
   $anonyupload = unesc($_POST["anonycheck"]);
   
if ($anonyupload == "yes" || $CURUSER["privacy"] == "strong") {
   $uploader = "anonyme";
} else {
   $uploader = "."/account-details.php?id=".$CURUSER['id']."]" .$CURUSER['username']. "";
}
   //SQL_Query_exec("INSERT INTO shoutbox VALUES('', 'System', 'New Torrent: ."/torrents-details.php?id=".$id."]".$torrent." a &eacute;t&eacute; uploader par ."/account-details.php?id=".$CURUSER['id']."] .$CURUSER['username']. ' Merci!', now(), '0')") or sqlerr(__FILE__,__LINE__);
   SQL_Query_exec("INSERT INTO shoutbox VALUES('', 'System', 'Nouveau Torrent: ."/torrents-details.php?id=".$id."]<font color=FF0000>".htmlspecialchars($name)." a &eacute;t&eacute; uploader ".($anon == 'no' ? "par ."/account-details.php?id=".$CURUSER['id']."] <font color=FF0000>" .$CURUSER['username']. "" : "")."Merci!', now(), '0')") or sqlerr(__FILE__,__LINE__);                                                                                                                        
   //Uploaded ok message (update later)
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