this will only get worse after the 1st of april:( I got an notice that paypal is changing thier policys:(
Quote:Effective Date: April 1, 2012
- Section 2.3 of the User Agreement (Identity Authentication) is being amended because we are making changes to our customer identification program as a result of changes in the law. Section 2.3 will now read:
2.3 Identity Authentication. You authorize PayPal, directly or through third parties, to make any inquiries we consider necessary to validate your identity. This may include asking you for further information, requiring you to provide your date of birth, a taxpayer identification number and other information that will allow us to reasonably identify you, requiring you to take steps to confirm ownership of your email address or financial instruments, ordering a credit report, or verifying your Information against third party databases or through other sources. We may also ask to see your driver’s license or other identifying documents at any time. If you use certain PayPal Services federal law requires that PayPal verify some of your Information. PayPal reserves the right to close, suspend, or limit access to your Account and/or the PayPal Services in the event we are unable to obtain or verify this Information.
Again not sure what will happen if your are an business
but gezz ordering a credit report,,, they looking to be sued for invasion of privacy.
This is an simple mod now that someone was nice enough to provide the regex
Again needs some kind of imdb mod already added like
https://www.torrenttrader.org/topic/16389-imdb-scrape/page__hl__imdb__fromsearch__1
in torrents-upload.php find
$nfofilename = $nfofile['tmp_name'];
and
After it add
$nfofileinfo = @file_get_contents($nfofilename);
if (preg_match('/http:\/\/(.*)imdb.com\/title\/tt(\d+)/', $nfofileinfo, $m)) {
$imdb = $m[0];
}
if you dont know what this does then well you prob dont need it:)
I know this addon will prob add an little lag issue when it runs but should fix any of the tables that are bad or erroneous.
replace in cleanup.php of 2.08 only
$res = SQL_Query_exec("SHOW TABLES");
while ( $table = mysql_fetch_row($res) )
{
SQL_Query_exec("OPTIMIZE TABLE `$table[0]`;");
}
with
$res = SQL_Query_exec("SHOW TABLES");
while ( $table = mysql_fetch_row($res) )
{
// Get rid of overhead.
SQL_Query_exec("REPAIR TABLE `$table[0]`;");
// Analyze table for faster indexing.
SQL_Query_exec("ANALYZE TABLE `$table[0]`;");
// Optimize table to minimize thrashing.
SQL_Query_exec("OPTIMIZE TABLE `$table[0]`;");
}
From what i been reading
OPTMIZE TABLE does not work that way with InnoDB for two major reasons:
REASON #1 : InnoDB Storage Layout
REASON #2 : Index Statistics are Always Recomputed
incase people wondering where I am getting this info from:
http://stackoverflow.com/questions/7069010/how-to-fix-the-overhead-and-effective-problem-on-innodb-table
replacing
print ("<a href="magnet:?xt=urn:btih:" . $row['info_hash'] . "&dn=" . rawurlencode($row['name']) . "&tr=" . $row['announce'] . ""><font size=4pt>get this torrent per magnet :]</font></a><BR><BR>");
with
if ($row["external"] == 'yes')
$announce_url2 = $row['announce'];
else
$announce_url2 = sprintf($site_config["PASSKEYURL"], $CURUSER["passkey"]);
print("<a href="magnet:?xt=urn:btih:" . $row['info_hash'] . "&dn=" . rawurlencode($row['name']) . "&tr=" . $announce_url2 . ""><img src="" . $site_config["SITEURL"] . "/images/magnet.png" border="0"></a>");
might work on private trackers.. I disabled this mod on mine even with the annouce for private trackers it dont seem to work.
i see an issue right off
in torrent-details
print ("<table border=0 cellpadding=0 width=95%><tr><td align=center valign=middle width='204px'><a href="download.php?id=$id&name=" . rawurlencode($row["id"]) . ""><img src="".$site_config["SITEURL"]."/images/download_torrent.gif" border="0"></a><a href="magnet:?xt=urn:btih:" . $row['info_hash'] . "&dn=" . rawurlencode($row['name']) . "&tr=" . $row['announce'] . ""><img src="".$site_config["SITEURL"]."/images/magnet.png" border="0"></a></td>");
should be
print ("<table border=0 cellpadding=0 width=95%><tr><td align=center valign=middle width='204px'><a href="download.php?id=$id&name=" . rawurlencode($row["filename"]) . ""><img src="".$site_config["SITEURL"]."/images/download_torrent.gif" border="0"></a><a href="magnet:?xt=urn:btih:" . $row['info_hash'] . "&dn=" . rawurlencode($row['name']) . "&tr=" . $row['announce'] . ""><img src="".$site_config["SITEURL"]."/images/magnet.png" border="0"></a></td>");
Basically this mod makes an magnet url that some torrent clients use, [img]%22%20/><img%20src=[/img]
you got an phasing error in login_block, simplest way is to copy something from it that you know works and just replace the vars and wording.
I would use something like this, much simpler to add stuff later if so needed and php dont seem care if in multi lines instead of 1 like yours
print ("<center><img width='80' height='80' src='$avatar' alt='' /></center>
<br />" . T_("DOWNLOADED") . ": <font color="red"> $userdownloaded</font>
<br />" . T_("UPLOADED") . ": <font color="Green">$useruploaded</font>
<br />".T_("CLASS").": ".T_($CURUSER["level"])."
<br />" . T_("ACCOUNT_PRIVACY_LVL") . ": $privacylevel
<br />". T_("RATIO") .": $userratio
<br />Seeding Bonus: <a href='mybonus.php'>$seedbonus</a>
");
Depends on how many users you got, how many torrents you got that are active at once, and how much extra stuff you got in the cleanup and other mods. My site has always been on an dedicated server, heck the prices on an vps at some places you could get an dedicated with better stats for the same $. I moved from an quad core to an dual core when I changed to TT, the only time it lags at all now is when the cleanup runs:( still trying to narrow down just what is causing it, my guess its the seed bonus mod, if you have that I would recommend an dedicated cause that and the snatched list can be an serious load killer. And personally I love debian for an os seems to be easier to setup and keep uptodate plus runs perfect with virtualmin, so saves me on $ not having to get the host cpanel:)
My sitebot aka site specs:
sysinfo:[os! Linux 2.6.26-2-686-bigmem][uptime! 224d 10h 24m][cpu! 2-GenuineIntel Intel® Pentium® CPU G6950 @ 2.80GHz, 2793MHz (3072 KB Cache)]
sysinfo:[disk! / (161GB Free, 212GB Total), /lib/init/rw (2GB Free, 2GB Total), /dev (9MB Free, 10MB Total), /dev/shm (2GB Free, 2GB Total), /boot (66MB Free, 86MB Total), /tmp (2GB Free, 2GB Total)][ram! Usage: 385/3984MB (9.66%)]
[sysinfo:[network! (lo Interface: 4Gb In, 4Gb Out) (eth0 Interface: 2Gb In, 2Gb Out) (eth1 Interface: 0bytes In, 0bytes Out)][load! 1.42 1.23 1.13][processes! 115]
in thory you really dont need any of that lol
if have the class_user addon
just replace
$a = mysql_query("SELECT class FROM `users` WHERE id = $row[userid] ");
$a = @mysql_fetch_row($a);
switch ($a[0]) {
case 7: // Administrator
$user = "<font color=#FF00FF>$row[user]</font>";
break;
case 6: // Super Moderator
$user = "<font color=#FF8080>$row[user]</font>";
break;
case 5: // Moderator
$user = "<font color=#0000FF>$row[user]</font>";
break;
case 4: // Uploader
$user = "<font color=#800000>$row[user]</font>";
break;
case 3: // VIP
$user = "<font color=#9A03FE>$row[user]</font>";
break;
case 2: // Power User
$user = "<font color=#00CC00>$row[user]</font>";
break;
case 1: // User
$user = "<font color=#000000>$row[user]</font>";
break;
default: // User
$user = $row[user];
}
with
$user = class_user($row['user']);
I dont have this shoutbox mod, i love my current shoutbox, yes mine sometimes does fresh when in the middle of typing but heck works hehe
I guess i could mess around on my beta site to make sure but in thory this should the above code should work.
Ps: yes it works fine:) Link to the class_user mod for those who might want it [url="
http://www.torrenttrader.org/index.php?showtopic=12259"]http://www.torrenttrader.org/index.php?showtopic=12259[/url]