Here is a hack off the TT premium site, enabling you to add "Tracked By x.txt" to your files - up your popularity!!
Quote:
Original Title: "Tracked by.txt support"
Original Coder: SqrtBoy
Modified by: Perma
Works with: TTClassic + RC2
Description:
You may have seen a hack like this on popular sites like Demonoid; this hack requires all torrents uploaded to included a file called "Tracked by yoursite.com.txt" to be included in the torrents contents. This will help advertise your tracker, making it more popular.
Example:
A torrent containing the files "1.exe, 1.nfo" will not be allowed to be uploaded.
However, a torrent containing the files "1.exe, 1.nfo, and Tracked_by_yoursite.com.txt" will be allowed to be uploaded.
Note:
There are two lines to uncomment in the first step if you are using the externals hack. Leave those lines commented if your tracker only accepts local torrents.
In torrents-upload.php, find:
CODE
$tmphex = sha1($info["string"]);
$hexhash = strtolower($tmphex);
Replace with:
CODE
$trackedby="Tracked by yoursite.com.txt"; //change yoursite.com to be whatever you want
//if($external == "no"){ //uncomment this line if you are using the externals hack
$tmpval = 0;
foreach ($filelist as $file) {
if (ereg($trackedby,$file[0])) $tmpvalue+=1;
}
if ($tmpvalue==0) $message = "You must put a file called: <b>".$trackedby."</b> inside your torrent files to be allowed to post it on this tracker !";
//} //uncomment this line if you are using the externals hack
$tmphex = sha1($info["string"]);
$hexhash = strtolower($tmphex);
Find:
CODE
<li>All releases must include a description.</li>
Replace with:
CODE
<li>All releases must include a description.</li>
<li>All releases must include a file called : <b><? echo $trackedby; ?></b> in order to be accepted on the tracker !</li>
If you like, or need others, let me know
