View Single Post
  #21  
Old 28th November 2012, 11:57
firefly's Avatar
firefly firefly is offline
Senior Member
 
Join Date: Dec 2009
P2P
Posts: 74
Default
Quote:
Originally Posted by Joco1114 View Post
I'm from Hungary. I had to change all HTMLEntities() to HTMLSpecialChars() because of accented chars. I got strange chars instead of my Hungarian chars.

Language files would be welcomed. :) I will translate it to Hungarian, if you will publish it.

Other: I "extended" this source with the HTTP download possibility. It means above a special ratio and/or for higher classes the members can download the files with HTTP protocol. I insertet into the function_config.php a new config variable:
PHP Code:
$http_upload_dir    ROOT_DIR."/tracker"
I seed my files from this folder by default and after a file_exists() inquiry I write the link for this file. Not too elegant, but I had no change torrent table with a new HTTP_URL field. :)

Other: I'm noticed an interesting thing: every leeching will start a couple of minutes after dropping into the client. It is about 4-5 minutes and the speed is not to good, about 1Mbit/sec (120kBps). Of course my inet speed is higher (20Mbits). I checked the wait time, but it is equal is 0 (for everyone). Or is there any limit of down speed in announce.php?

Sorry about my English, I learned everything from the Internet. So I speak BASIC English. :)
NIce job!

I seemed to get decent speed will test it later... I'm still doing the lang mod.

It would be a great help if you could translate this so long :)

PHP Code:
<?php
/* 
------------------
Language: English
------------------
*/

$lang = array();





// headers
$lang['new_member'] = 'Welcome our newest Member';
$lang['staff_news'] = 'Staff news page';
$lang['recent_news'] = 'Recent News';
$lang['poll'] = 'Site Polls';
$lang['top_poster'] = 'Top ten with posters';
$lang['top_ten'] = 'Top ten torrents downloaded';
$lang['recomended'] = 'Recommended torrents by staff';
$lang['top_forum'] = 'Top ten forum posts';
$lang['shoutbox'] = 'Shoutbox';
$lang['modbox'] = 'Mod Shoutbox';
$lang['radio'] = 'Site radio';
$lang['stats'] = 'Site stats';
$lang['last_online'] = 'Last people on the site';
$lang['disc'] = 'Sites Disclaimer';
$lang['load'] = 'Server load and stats';

//radio
$lang['rad_link'] = 'Radio Links';
$lang['rad_req'] = 'Radio requests';
$lang['view_req'] = 'View requests';
$lang['make_req'] = 'Make requests';
$lang['rad_stat'] = 'Radio stats';

//stats

$lang['reg_use'] = 'Registered Users';
$lang['uncon_user'] = 'Unconfirmed Users';
$lang['forum_top'] = 'Forum Topics';
$lang['forum_pos'] = 'Forum Posts';
$lang['peers'] = 'peers';
$lang['seeders'] = 'Seeders';
$lang['leecher'] = 'Leechers';
$lang['users_online'] = 'Users Online';
$lang['donors'] = 'Donors';
$lang['torrents'] = 'Torrents';
$lang['new_today'] = 'Torrents added today';
$lang['uncon'] = 'Unconnectable Peers';
$lang['uncon_rat'] = 'Unconnectables Ratio (%)';
$lang['seed_leech'] = 'Seeder/Leecher Ratio (%)';
$lang['lastten_online_head'] = 'The last ten visitors';
$lang['disc1'] = '<b>None of the files shown here are actually hosted on this server. The links are provided solely by this sites users.  The administrator of this site ';
$lang['disc2'] = 'cannot be held responsible for what its users post, or any other actions of its users.  You may not use this site to distribute or download any material when you do not have the legal rights to do so.  It is your own responsibility to adhere to these terms.</b>';
$lang['our_load'] = 'Our Tracker Load:';
$lang['load_txt1'] = '(these stats are an approximation)';
$lang['load_txt2'] = 'Global Server Load (All websites on current host servers):';
            

?>
and call it lang.hu.php
__________________
Can install Gazelle
Reply With Quote