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
[ADDON] Internet Speed Option
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2008-05-01 18:01:04
Hi all!

Credit goes to Nazaret2005 @ TBDev

Mysql:

ALTER TABLE `users` ADD `download` int(10) unsigned NOT NULL default '0';
ALTER TABLE `users` ADD `upload` int(10) unsigned NOT NULL default '0';

CREATE TABLE IF NOT EXISTS `speed` (

`id` int(10) unsigned NOT NULL auto_increment,

`name` varchar(50) default NULL,

PRIMARY KEY  (`id`)

) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=21 ;

INSERT INTO `speed` (`id`, `name`) VALUES

(1, '64kbps'),

(2, '96kbps'),

(3, '128kbps'),

(4, '150kbps'),

(5, '256kbps'),

(6, '512kbps'),

(7, '768kbps'),

(8, '1Mbps'),

(9, '1.5Mbps'),

(10, '2Mbps'),

(11, '3Mbps'),

(12, '4Mbps'),

(13, '5Mbps'),

(14, '6Mbps'),

(15, '7Mbps'),

(16, '8Mbps'),

(17, '9Mbps'),

(18, '10Mbps'),

(19, '48Mbps'),

(20, '100Mbit');

Find in account.php:

	   print("<TR><TD align=right class=table_col1 valign=top><B>Category Filter: </B></td><TD align=left class=table_col1><i>The system will only display the following categories when browsing (uncheck all to disable filter).</i><BR>".$categories."</td></tr>");


Add after:

//Internet speed by Nazaret2005@ TBDev
$uploadspeed = "<option value=0>---- No selected ----</option>\n";

$downloadspeed = "<option value=0>---- No selected ----</option>\n";

$dsl = mysql_query("SELECT id,name FROM speed ORDER BY id");

while ($ds_b = mysql_fetch_array($dsl)){

$downloadspeed .= "<option value=$ds_b[id]" . ($CURUSER["download"] == $ds_b['id'] ? " selected" : "") . ">$ds_b[name]</option>\n";

$uploadspeed .= "<option value=$ds_b[id]" . ($CURUSER["upload"] == $ds_b['id'] ? " selected" : "") . ">$ds_b[name]</option>\n";

}

print("<TR><TD align=right class=table_col1><B>Let



speed_up.png
speed_up.png
speed_down.png
speed_down.png
Unknown User
2008-05-01 19:06:28
there are some words that i don't understand can you make the complete translation of this hack?
Unknown User
2008-05-01 21:30:34
Hmm seems to be working fine except the displayed up/down (next to the arrow images) only displays a number and not the value.  For example: xx KB/s or MB/s, etc.  Also, it only seems to display "1".

stats.jpg
stats.jpg
Unknown User
2008-05-01 22:27:52
this probably another reason why tbdev shut locked down the mods.  is that hard to give credit from where you got it?
Unknown User
2008-05-01 23:55:29
"walker1977, post: 42052":
this probably another reason why tbdev shut locked down the mods. is that hard to give credit from where you got it?


might be one of the reasons... i don't understand why is so hard to put in a post "Credit goes to ***** of TBDev...."

:)
Unknown User
2008-05-02 09:01:17
:) :(  :D

Yes. TBDEV mods. I do not understand it "1".

He works at me.

12.jpg
12.jpg
Unknown User
2008-05-02 12:22:10
"wolfnet, post: 42060":
:)  :D :DYes. TBDEV mods. I do not understand it "1".

He works at me.


find: in account_details.php

Quote:
Internet speed: <img src="images/speed_up.png" alt="felt&ouml;lt&eacute;s" width="10" height="15" /><? print("$uploadspeed") ?>   <img src="images/speed_down.png" alt="let&ouml;lt&eacute;s" width="10" height="15" />

<?= print("$downloadspeed") ?><BR>

replace with:

Quote:
Internet Speed: <img src="images/speed_up.png" alt="Download Speed" width="10" height="15" /><? print("$uploadspeed") ?>

<img src="images/speed_down.png" alt="Upload Speed" width="10" height="15" />

<? print("$downloadspeed") ?><BR>
speed.JPG
speed.JPG
Unknown User
2008-05-02 14:44:03
Good call hack346, beet me to my own fix :)
Unknown User
2008-05-02 15:18:00
Thanks the FIX.

Its Work!

wolfnet
Unknown User
2008-05-02 15:57:36
thanks!!
Unknown User
2008-09-10 22:12:23
Can someone post their file or can someone translate this because I could not find it anywhere.

<p>Felt&ouml;lt&ouml;tt:

<?=mksize($user["uploaded"])?>

<BR>

Let&ouml;lt&ouml;tt:

<?=mksize($user["downloaded"])?>

<BR>

Ar&aacute;ny:

<?=$ratio?>

<BR>

Let&ouml;lt&eacute;si &aacute;tlag:

<?=mksize($user["downloaded"] / $user["added"])?>

<BR>

Felt&ouml;lt&eacute;si &aacute;tlag

:

<?=mksize($user["uploaded"] / $user["added"])?>

<br />
Unknown User
2008-10-25 21:04:11
"TheUnknown, post: 46296":
Can someone post their file or can someone translate this because I could not find it anywhere.



<p>Felt&ouml;lt&ouml;tt:

<?=mksize($user["uploaded"])?>

:

<?=mksize($user["uploaded"] / $user["added"])?>

<br />






If u want something like in this print, make this



Open your account-details.php & find this lines:







		Uploaded: <?=mksize($user["uploaded"])?><BR>

Downloaded: <?=mksize($user["downloaded"])?><BR>

Ratio: <?=$ratio?><BR>

Avg Daily DL: <?=mksize($user["downloaded"] / (DateDiff($user["added"], time()) / 86400))?><BR>

Avg Daily UL: <?=mksize($user["uploaded"] / (DateDiff($user["added"], time()) / 86400))?><BR>





thia are from tt v2.05

after this add that code





		   Internet Speed: <img src="images/speed_up.png" alt="Download Speed" width="10" height="15" />

<? print("$uploadspeed") ?>

<img src="images/speed_down.png" alt="Upload Speed" width="10" height="15" />

<? print("$downloadspeed") ?><BR>
torreents003.jpg
torreents003.jpg
Unknown User
2008-11-09 23:00:13
Great mod, I will get my tracker active and check out if it works!
Unknown User
2008-12-02 23:10:06
"hack346, post: 47941":
If u want something like in this print, make this
Open your account-details.php & find this lines:

		Uploaded: <?=mksize($user["uploaded"])?><BR>

Downloaded: <?=mksize($user["downloaded"])?><BR>

Ratio: <?=$ratio?><BR>

Avg Daily DL: <?=mksize($user["downloaded"] / (DateDiff($user["added"], time()) / 86400))?><BR>

Avg Daily UL: <?=mksize($user["uploaded"] / (DateDiff($user["added"], time()) / 86400))?><BR>
thia are from tt v2.05

after this add that code




		   Internet Speed: <img src="images/speed_up.png" alt="Download Speed" width="10" height="15" />

<? print("$uploadspeed") ?>

<img src="images/speed_down.png" alt="Upload Speed" width="10" height="15" />

<? print("$downloadspeed") ?><BR>



Can you please post your userbar creator script?
Unknown User
2008-12-02 23:45:28
code is in premium part
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: 3
  • Members: 0
  • Guests online: 3
  • Comments: 3
  • Messages: 1,728