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

i personnally don't think 3 seperate forums would be the right way to go , after all i say 95% of all mods will work on all 3 , so wouldn't justify having to search 3 seperate forums to see what new ......thats just me personnally mind :D
I'm back — 2011-06-25 21:38:10 in General Chat
oh i wouldn't say that ....who is he DJ ? ....:D
works 100% tt2.05 also , nice one Dj bud
I'm back — 2011-06-25 04:41:06 in General Chat
welcome back bud ....:D
all torrents must have an image for it to work :D
To add in torrent details

find in torrent-details.php

	if ($row["external"]!='yes' && $row["freeleech"]=='1'){

print ("<B>Free Leech: </b><font color=red><b>This torrent is freeleech so only upload counts!</b></font><BR>");

}





and after add



	if ($row["external"]!='yes' && $row["silver"]=='1'){

print ("<B>Silver torrent: </b><font color=red><b>This torrent is 50% freeleech so only 50% download counts!</b></font><BR>");

}



and in the res=mysql after

 torrents.freeleech,



add



 torrents.silver,
cheers darklord , might attempt it now :lol:
How to add send pm to reciever from system with , how much was given and by whom please , and maybe a post in site log with same ....many thanks
Happy Birthday — 2011-04-01 18:13:08 in General Chat
belated from me also m8 , hope you had a good day :lol:
works 100% thanks , but would love an option of templates if anyone knows where to get them
you can try , but i'm no coder i'm afraid

if ($site_config['SPEEDTEST']){

begin_frame("Speedtest");

echo '<IFRAME name="Speedtest" src="'.$site_config["SITEURL"].'/speedtest.php" frameborder="0" marginheight="0" marginwidth="0" width="100%" height="100%"  scrolling="no" align="center"></IFRAME>';



end_frame();

}


hope this helps , i just copied from an iframe on my site the height and width may need adjusting
I think you can only place a link on index

if you go to your theme/ header.php , can you not just copy the code for the travel button , replacing it with code to take you to speedtest , then you will end up with sport,travel,speedtest at the top

or as flav and create a block, placing it in center
but if you'd followed my tut to the letter flav m8 , it would ask for flash player 8 ????????? if any

as i said earlier , they update the files every so often , so you must get latest
i'm getting the very latest files again now , and will try myself from scratch, hopefully post the fix

worked 100% for me , get latest files from here :[url="http://www.speedtest.net/mini.php"]http://www.speedtest.net/mini.php[/url]

create folder named speedtest extract all files into it and upload to root , rename index-php.html to index.html and in that replace code with

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title>Speedtest.net Mini Bandwidth Speed Test</title>

</head>

<body bgcolor="#000000">



<table border=0 width=100% height=100%>

<tr><td align=center valign=center>



<!-- BEGIN SPEED TEST - DO NOT ALTER BELOW-->

<script type="text/javascript" src="speedtest/speedtest/swfobject.js"></script>

<div id="speedtest">

Speed Test requires at least version 8 of Flash. <a href="http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Please update your client</a>.

</div>

<script type="text/javascript">

  var so = new SWFObject("speedtest/speedtest.swf?v=2.1.5", "speedtest", "450", "250", "8", "#171715");

  so.addVariable("upload_extension", "php");

  so.write("speedtest");

</script>

<!-- END SPEED TEST - DO NOT ALTER ABOVE -->



</td></tr>

</table>



</body>

</html>
create file speedtest.php and put in


<?

require_once("backend/functions.php");

dbconn(false);





stdhead("SpeedTest Mini");



//Speedtest

if (!$site_config["MEMBERSONLY"] || $CURUSER) {

begin_frame("Oo. SpeedTest Mini .oO");

echo file_get_contents("speedtest/index.html");

end_frame();

}

stdfoot();

?>



then i created a link in navigation block where you want it to show



echo "- <a href=speedtest.php>Speedtest</a><BR>";


and as i say , works 100% for me
it still working on mine m8

<?

require_once("backend/functions.php");

dbconn(false);





stdhead("SpeedTest Mini");



//Speedtest

if (!$site_config["MEMBERSONLY"] || $CURUSER) {

begin_frame("Oo. SpeedTest Mini .oO");

echo file_get_contents("speedtest/index.html");

end_frame();

}

stdfoot();

?>


try this one without removing left and right columns
i also just re-named index.php.html to index.html

my index.html

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title>Speedtest.net Mini Bandwidth Speed Test</title>

</head>

<body bgcolor="#000000">



<table border=0 width=100% height=100%>

<tr><td align=center valign=center>



<!-- BEGIN SPEED TEST - DO NOT ALTER BELOW-->

<script type="text/javascript" src="speedtest/speedtest/swfobject.js"></script>

<div id="speedtest">

Speed Test requires at least version 8 of Flash. <a href="http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Please update your client</a>.

</div>

<script type="text/javascript">

  var so = new SWFObject("speedtest/speedtest.swf?v=2.1.5", "speedtest", "450", "250", "8", "#171715");

  so.addVariable("upload_extension", "php");

  so.write("speedtest");

</script>

<!-- END SPEED TEST - DO NOT ALTER ABOVE -->



</td></tr>

</table>



</body>

</html>
and my speedtest.php


<?

require_once("backend/functions.php");

dbconn(false);



{

$site_config["RIGHTNAV"] = $site_config["MIDDLENAV"] = $site_config["RIGHTNAV"] = false;}

{

$site_config["LEFTNAV"] = $site_config["MIDDLENAV"] = $site_config["LEFTNAV"] = false;}



stdhead("SpeedTest Mini");



//Speedtest

if (!$site_config["MEMBERSONLY"] || $CURUSER) {

begin_frame("Oo. SpeedTest Mini .oO");

echo file_get_contents("speedtest/index.html");

end_frame();

}

stdfoot();

?>



try this m8 , and let me know if it works for you, you do have to update it every now and again when they update the test files
"whiteshadow1890, post: 70262":
I have done exactly as you said, but it gives me this error, and i have the latest pack. [url="http://torrents.imediazone.net/speedtest.php"]http://torrents.imediazone.net/speedtest.php[/url]
i'll put mine up in a bit m8 , i had problems with this
is that after you click next in one of the uploaded , seeding categorys m8 , as i said , it changes both , and if not the same amount in the other block , it shows a blank page , not quite right but a lot tidier just needs a little work on it
just about right m8 , shows but if i click next , the java klappe snatched box collapses , but goes to next 25 , but also the local activity block goes to next 25 also  , and if they don't have 25 in local activity block , just shows blank , so both boxes are affected by the next, any idea , as i say , almost there and looks so much cleaner:)
thats brilliant thib m8 works 100% , thanks , is there anyway to add the same thing to the snatched mod , so that shows the same?

//////////////////////////////////////SNATCHED/////////////////////////////////

$r = mysql_query("SELECT snatched.torrentid, snatched.uploaded, snatched.downloaded, snatched.complete_date, snatched.last_action, snatched.start_date, torrents.seeders, torrents.leechers, UNIX_TIMESTAMP(snatched.start_date) AS st, UNIX_TIMESTAMP(snatched.last_action) AS lt, UNIX_TIMESTAMP(snatched.complete_date) AS ct, snatched.start_date, snatched.recorded_time FROM snatched JOIN torrents ON torrents.id = snatched.torrentid WHERE snatched.finished='yes' AND userid=$id ORDER BY last_action") or sqlerr();

$completed = "<table class=main border=1 cellspacing=0 cellpadding=3>\n" ."<tr>\n" ."<td class=table_head align=center>Cat</td>\n" ."<td class=table_head align=center>Torrent</td>\n" ."<td class=table_head align=center>Upl.</td>\n" ."<td class=table_head align=center>Downl.</td>\n" ."<td class=table_head align=center>Ratio</td>\n" ."<td class=table_head align=center>Startdate</td>\n" ."<td class=table_head align=center>Enddate</td>\n" ."<td class=table_head align=center>Last action</td>\n" ."<td class=table_head align=center>Leechtime</td>\n" ."<td class=table_head align=center>Seed Time</td>\n" ."<td class=table_head align=center>Seeder</td>\n" ."<td class=table_head align=center>Leecher</td>\n" ."<td class=table_head align=center>Seeding?</td>\n" ."<td class=table_head align=center>Ask Reseed</td>\n" ."</tr>\n";

while ($a = mysql_fetch_assoc($r)) {

$r1 = mysql_query("SELECT * FROM torrents WHERE id = ". $a[torrentid] ."") or sqlerr(__FILE__, __LINE__);

$a1 = mysql_fetch_assoc($r1);

$r2 = mysql_query("SELECT name, image FROM categories WHERE id = ". $a1[category] ."") or sqlerr(__FILE__, __LINE__);

$a2 = mysql_fetch_assoc($r2);

if ($a["downloaded"] > 0) {

$ratio = number_format($a["uploaded"] / $a["downloaded"], 3);

$ratio = "<font color=" . get_ratio_color($ratio) . ">$ratio</font>";

}elseif ($a["uploaded"] > 0)

$ratio = "Inf.";

else

$ratio = "---";

$uploaded =mksize($a["uploaded"]);

$downloaded = mksize($a["downloaded"]);

$cat = "<img src=\"/images/categories/$a2[image]\" alt=\"$a2[name]\" border=\"0\">";

$starttime = $a['start_date'];

$endtime = $a['complete_date'];

$last_action = $a['last_action'];

$leechtime = mkprettytime($a[ct] - $a[st]);

//$seedtime = mkprettytime($a[lt] - $a[ct]);

$seedtime = seedtime($a[recorded_time]);

$td = mysql_query("SELECT * FROM torrents WHERE id = ". $a[torrentid] ."");

while ($tdl = mysql_fetch_assoc($td)) {

$timesdownloaded = $a["downloaded"] / $tdl["size"];

}

$res3 = mysql_query("SELECT * FROM peers WHERE torrent=". $a[torrentid] ." AND userid=$id");  

$arr3 = mysql_fetch_assoc($res3);

$seedeur = $arr3["seeder"];

if ($seedeur == "yes") {

$reseed = "<font color=green>Seeding</font>";

} else {

$reseed = "<b><a href=torressed.php?id=".$a[torrentid]."&mecid=$id>Reseed</a></b>";

}

$seeder = $a["seeders"];

$smallname3 =substr(htmlspecialchars($a1["name"]) , 0, 20);

if ($smallname3 != htmlspecialchars($a1["name"])) {

$smallname3 .= '...';

}

$completed .= "<tr>\n" ."<td class=table_col1 align=center><a href=torrents.php?cat=". $a1[category] .">$cat</a></td>\n" ."<td class=table_col2><a href=torrents-details.php?id=". $a[torrentid] ."><b>$smallname3</b></a></td>\n" ."<td class=table_col1 align=center>$uploaded</td>\n" ."<td class=table_col2 align=center>$downloaded</td>\n" ."<td class=table_col2 align=center>$ratio</td>\n" ."<td class=table_col1 align=center>$starttime</td>\n" ."<td class=table_col2 align=center>$endtime</td>\n" ."<td class=table_col1 align=center>$last_action</td>\n" ."<td class=table_col2 align=center>$leechtime</td>\n" ."<td class=table_col2 align=center>".(is_null($seedtime)?"0":$seedtime)."</td>\n" ."<td class=table_col1 align=center>". $a[seeders] ."</td>\n" ."<td class=table_col1 align=center>". $a[leechers] ."</td>\n" ."<td class=table_col1 align=center>" . ($arr3["seeder"] == "yes" ? "<b><font color=green>Yes</font>" : "<font color=red>No</font></b>") . "</td>\n" ."<td class=table_col2 align=center>$reseed</td>\n" ."</tr>\n";

}

$completed .= "</table>";



$res_tor_c = mysql_query("SELECT id FROM snatched WHERE userid = ". $user[id] ." AND finished='yes'");

$tor_c = mysql_num_rows($res_tor_c);

if ($user["id"] == $CURUSER["id"] || $CURUSER["edit_torrents"]=="yes") {

if ($completed)

begin_frame("User's Snatched Torrents");

echo "<B>Completed torrents:</B>&nbsp;<img src='images/plus.gif' id='pic1' onclick='klappe_torrent(1)'>&nbsp;&nbsp;&nbsp;&nbsp;<b>$tor_c Completed Torrent(s)</b><div id='k1' style='display: none;'>$completed</div>";

end_frame();

}

//////////////////////////////////////////////////////////////////////////////
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