Quote:
Originally Posted by zeek
Is this tracker still being developed because the h-tracker.org website is gone...It's an awesome script and I'll be sad if no one is still working on it.
|
whyyyyy??? its only Torrent Trader at the end of the day matey.
and for
Quote:
Originally Posted by gmuzica
ShoutBox, please help
How I do to appear in chat what is uploadet. Like this:
SYSTEM: New torrent: "Torrent Name" was just uploaded. Please seed back what you take!!
|
simple buddy, just open up torrent-upload.php
add this below lets say after
//End Scrape
Code:
write_log("Torrent $id ($name) was Uploaded by $CURUSER[username]");
$query = "INSERT INTO shoutbox (msgid, user, message, date, userid) VALUES (NULL, 'SYSTEM', ' ".$torrent." has been uploaded.', '".get_date_time()."', '0')";
mysql_query($query);
$mb_basic=1024*1024;
$bonust = $mb_basic * 1024 * 5;
mysql_query("UPDATE users SET uploaded = uploaded + '$bonust', uptor = uptor + '1' WHERE id=".$CURUSER["id"]) or sqlerr();
this part below you dont need but it is to give upload 5gb bonus credit for uploading. either change 5 to amount gigs given or remove
Code:
$mb_basic=1024*1024;
$bonust = $mb_basic * 1024 * 5;
mysql_query("UPDATE users SET uploaded = uploaded + '$bonust',