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

//DELETE INACTIDE USERS

$site_config["signup_timeout"] = 2592000; //DeadTime in secondes here 30 days
must be
//DELETE INACTIDE USERS

$site_config["connect_timeout"] = '2592000'; //DeadTime in secondes here 30 days



;)
modification are in first post
it must be

show_error_mess("....",".....",1)
try mine

function torrenttable($res, $variant="") {
global $site_config, $CURUSER, $THEME, $LANGUAGE;  //Define globals

if ($site_config["MEMBERSONLY_WAIT"] && $site_config["MEMBERSONLY"] && in_array($CURUSER["class"], explode(",",$site_config["WAIT_CLASS"]))) {

$gigs = $CURUSER["uploaded"] / (1024*1024*1024);

$ratio = (($CURUSER["downloaded"] > 0) ? ($CURUSER["uploaded"] / $CURUSER["downloaded"]) : 0);

if ($ratio < 0 || $gigs < 0) $wait = $site_config["WAITA"];

elseif ($ratio < $site_config["RATIOA"] || $gigs < $site_config["GIGSA"]) $wait = $site_config["WAITA"];

elseif ($ratio < $site_config["RATIOB"] || $gigs < $site_config["GIGSB"]) $wait = $site_config["WAITB"];

elseif ($ratio < $site_config["RATIOC"] || $gigs < $site_config["GIGSC"]) $wait = $site_config["WAITC"];

elseif ($ratio < $site_config["RATIOD"] || $gigs < $site_config["GIGSD"]) $wait = $site_config["WAITD"];

else $wait = 0;

}

// Columns

$cols = explode(",", $site_config["torrenttable_columns"]);

$cols = array_map("strtolower", $cols);

$cols = array_map("trim", $cols);

$colspan = count($cols);

// End

// Expanding Area

$expandrows = array();

if (!empty($site_config["torrenttable_expand"])) {

$expandrows = explode(",", $site_config["torrenttable_expand"]);

$expandrows = array_map("strtolower", $expandrows);

$expandrows = array_map("trim", $expandrows);

}

// End

echo '<table align=center cellpadding="0" cellspacing="0" class="ttable_headinner" width=99%><tr>';

foreach ($cols as $col) {

switch ($col) {

case 'category':

echo "<td class=ttable_head width=80>".TYPE."</td>";

break;

case 'name':

echo "<td class=ttable_head>".NAME."</td>";

break;

case 'dl':

echo "<td class=ttable_head>DL</td>";

break;

case 'uploader':

echo "<td class=ttable_head>".UPLOADER."</td>";

break;

case 'comments':

echo "<td class=ttable_head>Comm</td>";

break;

case 'nfo':

echo "<td class=ttable_head width=20>NFO</td>";

break;

case 'size':

echo "<td class=ttable_head width=80>".SIZE."</td>";

break;

case 'completed':

echo "<td class=ttable_head>C</td>";

break;

case 'seeders':

echo "<td class=ttable_head width=20><img src='images/green.gif' border='0' width='10px' alt='Seedeurs' title='Seedeurs' /></td>";

break;

case 'leechers':

echo "<td class=ttable_head width=20><img src='images/red.gif' border='0' width='10px' alt='Leecheurs' title='Leecheurs' /></td>";

break;

case 'health':

echo "<td class=ttable_head width=60><img src='images/heart.png' border='0' width='10px' alt='Sant
"savi, post: 53689":
no and 1 problem still:
this last column must be difrent color:

1st picture is browsing torrents.

2nd picture is my bookmarks:

try change: ttable_col$x for: ttable_col2 or: ttable_col1

in bookmark, normaly it can't be bookmark.gif but delete.gif   ;)

don't understand why you have bookmark.gif
delete

case 'dl':

break;





find:



if ($variant == "bookmarks")

echo "<td class=ttable_col2 align=center><a href='takedelbookmark.php?bookmarkid=$id' title='Delete'><img src='images/delchat.gif' border='0' width='10px' alt='delete' title='delete' /></a></td>";

break;





change for:



if ($variant == "bookmarks")

echo "<td class=ttable_col$x align=center><a href='takedelbookmark.php?bookmarkid=$id' title='Delete'><img src='".$site_config['SITEURL']."/images/delchat.gif' border='0' width='10px' alt='delete' title='delete' /></a></td>";

break;
savi do you have delete column in bookmarks?
don't care about upload. I ask for reseed  ;)

if the user can't download, so he can't reseed if he had deleted the torrent in his client!
"savi, post: 53679":
Thanks, thats works, but only one small thing  ;) How to add "B" where i show with red circle. And color is wrong, see on picture:

find:

case 'bookmark':

if ($variant == "bookmarks")

echo "<td class=ttable_head>Delete</td>";

break;





change for:



case 'bookmark':

if ($variant == "bookmarks")

echo "<td class=ttable_head>Delete</td>";

else

echo "<td class=ttable_head>B</td>";

break;
"gandalf76, post: 53682":
yes!this is my config.php line 99

$site_config["torrenttable_columns"] = "category,name,uploader,comments,size,seeders,leechers,completed,health,exter

nal,bookmark";


really don't know why   ;)  cause v2.04 and v2.05 are same structure

post your function.php
"gandalf76, post: 53675":
i have checked... it's ok, but i have 2.04 version..it is possible to make to appear the column in order to cancel the bookmark also in version 2.04? thanks

hummm, are you sure you have bookmark in

$site_config["torrenttable_columns"] = "category,name,dl,uploader,comments,size,seeders,leechers,health,external,boo

kmark";
in config.php?
"savi, post: 53665":
Yes, that what i wants  ;) Thanks.

function.php

find:

case 'bookmark':

if ($variant == "bookmarks")

echo "<td class=ttable_col2 align=center><a href='takedelbookmark.php?bookmarkid=$id' title='Delete'><img src='images/delchat.gif' border='0' width='10px' alt='delete' title='delete' /></a></td>";

break;
change for:


case 'bookmark':

if ($variant == "bookmarks")

echo "<td class=ttable_col$x align=center><a href='takedelbookmark.php?bookmarkid=$id' title='Delete'><img src='images/delchat.gif' border='0' width='10px' alt='supprimer' title='supprimer' /></a></td>";

else

echo "<td class=ttable_col$x align=center><a href='bookmarks.php?torrent=$id' title='Bookmark'><img src='images/check.gif' border='0' width='10px' alt='Bookmark' title='Bookmark' /></a></td>";

break;





"gandalf76, post: 53662":
where i commit error? why i don't have X in a bookmark.php?

it's config.php and function.php modification to have it.

be carefull, it's for v2.05, if you have another v2 function file is a bit different
and what about reseed?

if user is banned from download and had delete completed torrent from his client, he can't take it to reseed ;)
"savi, post: 53622":
Ok, right now i delete this uploader row, but how to but the same place now bookmarks ikon on torrent table.
Like:

$site_config["torrenttable_columns"] = "category,name,dl,bookmark,comments,size,seeders,leechers,health,external";

don't understand what you want
"gandalf76, post: 53611":
Very well! Work fine!it would be useful to be able to directly cancel the torrent from the table bookmark without having to enter in the details of the torrent

you can delete from bookmark in your account, not need to go to torrent-details

"haze2008, post: 53564":
you spend time doing useless stuff that's gonna come in handy for what when you have msn anyway lol
its good to see people trying but what good has this done to tt ?

spend more time giving tt extra function's and make it run quicker instead of making your site into a car boot really.

is it a joke ?
remove space in java script in admincp part

<a href=\"java script:popusers('userfind_to_nick.php');\">Find a NickName</a>");
little error in userfind_to_nick


<div vlign="bottom">



change to



<div valign="bottom">



works fine in v2.05, thanks nightmare ;)
this mod is not complete.

this part can't be right calculate

$speedu = mysql_query("SELECT sum(((p.uploaded - p.uploadoffset )) / (unix_timestamp(p.last_action) - unix_timestamp(p.started))) AS speed FROM peers p INNER JOIN users u ON p.userid=u.id WHERE u.id=$arr[userid]");


cause uploadoffset is not in v2 peers fields
look at my post before.

"AzuriS, post: 53073":
in account-details you forgot seedtime in the board  ;)

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