Location: PHPKode > projects > H-tracker > backend/config.php
<?
//
//  H-Tracker v0.2
//    http://h-tracker.org
//    Based on TorrentTrader (http://www.torrenttrader.org)
//
//
$site_config = array();
$site_config['h-trackerversion'] = '0.2';//DONT CHANGE THIS!	
$site_config['license'] = '<a href=http://h-tracker.org target=_blank>h-tracker</a>';//DONT CHANGE THIS!

// Main Site Settings
$site_config['SITENAME'] = 'h-tracker';					//Site Name
$site_config['SITEEMAIL'] = 'hide@address.com';		//Emails will be sent from this address
$site_config['SITEURL'] = 'http://yoursite.org';	//Main Site URL
$site_config['default_language'] = "1";						//DEFAULT LANGUAGE ID
$site_config['default_theme'] = "1";						//DEFAULT THEME ID
$site_config['CHARSET'] = "iso-8859-1";						//Site Charset
$site_config['announce_list'] = "http://yoursite/announce.php,http://yoursite/announce"; //seperate via comma
$site_config['MEMBERSONLY'] = true;							//MAKE MEMBERS SIGNUP
$site_config['MEMBERSONLY_WAIT'] = true;					//ENABLE WAIT TIMES FOR BAD RATIO
$site_config['ALLOWEXTERNAL'] = true;		//Enable Uploading of external tracked torrents
$site_config['UPLOADERSONLY'] = true;		//Limit uploading to uploader group only
$site_config['ENABLEINVITES'] = false;
$site_config['INVITEONLY'] = false;			//Only allow signups via invite
$site_config['CONFIRMEMAIL'] = false;		//Enable / Disable Signup confirmation email
$site_config['ACONFIRM'] = false;			//Enable / Disable ADMIN CONFIRM ACCOUNT SIGNUP
$site_config['ANONYMOUSUPLOAD'] = true;		//Enable / Disable anonymous uploads
$site_config['UPLOADAPP'] = true;               //Enable / Disable "Request to be uploader"   
$site_config['AVATARUPLOAD'] = true;


// Paypal Settings
$site_config['PAYPALEMAIL'] = 'hide@address.com';   //Your paypal email 
$site_config['CURRENCYTYPE'] = 'Euro'; #For Fonts
$site_config['CURRENCYTYPE2'] = '&euro;'; #For Sign
$site_config['CURRENCYTYPE3'] = 'EUR'; #Main Currency for Donations        

//AGENT BANS (MUST BE AGENT ID, USE FULL ID FOR SPECIFIC VERSIONS)
$site_config['BANNED_AGENTS'] = "-AZ21, -BC, LIME";

//PATHS, ENSURE THESE ARE CORRECT AND CHMOD TO 777 (ALSO ENSURE TORRENT_DIR/images is CHMOD 777)
$site_config['torrent_dir'] = str_replace('\\', '/', getcwd()).'/uploads';
$site_config['nfo_dir'] = str_replace('\\', '/', getcwd()).'/uploads';
$site_config['cache_dir'] = str_replace('\\', '/', getcwd()).'/cache';
$site_config['blocks_dir'] = str_replace('\\', '/', getcwd()).'/blocks'; 
$site_config['subs_dir'] = str_replace('\\', '/', getcwd()).'/uploads/subs';
$site_config['avatar_dir'] = "/images/avatars";

$site_config['SITE_ONLINE'] = true;									//Turn Site on/off
$site_config['OFFLINEMSG'] = 'Site is down for a little while';

$site_config['WELCOMEPMON'] = true;			//Auto PM New members
$site_config['WELCOMEPMMSG'] = 'Thank you for registering at our tracker! Please remember to keep your ratio at 1.00 or greater :)';
$site_config['UPLOADRULES'] = 'You should also include a .nfo file wherever possible<BR>Try to make sure your torrents are well-seeded for at least 24 hours<BR>Do not re-release material that is still active';

//Setup Site Blocks
$site_config['LEFTNAV'] = true; //Left Column Enable/Disable
$site_config['RIGHTNAV'] = true; // Right Column Enable/Disable
$site_config['MIDDLENAV'] = true; // Middle Column Enable/Disable
$site_config['SHOUTBOX'] = true; //enable/disable shoutbox
$site_config['NEWSON'] = true;
$site_config['CAPTCHAON'] = true;  //enable/disable confirmation security code
$site_config['AGEON'] = true;  //enable/disable torrent age                                                      
$site_config['CTRACKER'] = true;  //enable/disable security of your tracker
$site_config['RELEASESON'] = true;  //enable/disable releases on index page
$site_config['REQUESTSON'] = true; //enable/disable Requests for torrents on your tracker
$site_config['DONATEON'] = true;
$site_config['DISCLAIMERON'] = true;
$site_config['DISCLAIMERTXT'] = '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 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.';


//setup IRC Chat
$site_config['IRCCHAT'] = false; //Enable/Disable irc chat
$site_config['IRCCHANNEL'] = "#htracker";   //Your irc channel
$site_config['IRCSERVER'] = "irc.p2p-irc.net";

//WAIT TIME VARS
$site_config['WAIT_CLASS'] = '1,2';		//Classes wait time applies to, comma seperated
$site_config['GIGSA'] = '1';			//Minimum gigs
$site_config['RATIOA'] = '0.50';		//Minimum ratio
$site_config['WAITA'] = '24';			//If neither are met, wait time in hours

$site_config['GIGSB'] = '3';			//Minimum gigs
$site_config['RATIOB'] = '0.65';		//Minimum ratio
$site_config['WAITB'] = '12';			//If neither are met, wait time in hours

$site_config['GIGSC'] = '5';			//Minimum gigs
$site_config['RATIOC'] = '0.80';		//Minimum ratio
$site_config['WAITC'] = '6';			//If neither are met, wait time in hours

$site_config['GIGSD'] = '7';			//Minimum gigs
$site_config['RATIOD'] = '0.95';		//Minimum ratio
$site_config['WAITD'] = '2';			//If neither are met, wait time in hours

//phpBB settings
$phpbb2_folder = "forum";
$phpbb2_basefile = "forum.php";
$activate_phpbb2_forum = false;
$share_phpbb2_users_with_TT = true;	

//CLEANUP AND ANNOUNCE SETTINGS
$site_config['PEERLIMIT'] = '10000';			//LIMIT NUMBER OF PEERS GIVEN IN EACH ANNOUNCE
$site_config['autoclean_interval'] = '600';		//Time between each auto cleanup (Seconds)
$site_config['announce_interval'] = '1800';		//Announce Interval (Seconds)
$site_config['signup_timeout'] = '259200';		//Time a user stays as pending before being deleted(Seconds)
$site_config['maxsiteusers'] = '10000';			//Maximum site members
$site_config['max_dead_torrent_time'] = '21600';//Time until torrents that are dead are set invisible (Seconds)
$site_config["ipcheck"] = true; //  Enable/disable          
$site_config["accountmax"] = 1; // max number of accounts
$site_config['points_per_hour'] =  1; // How much points add to bonus per hour, if the user seeding.
$site_config['points_per_cleanup'] =  $site_config['points_per_hour']*($site_config['autoclean_interval']/3600); // Don't change it!

//AUTO RATIO WARNING
$site_config["ratiowarn_enable"] = true; //Enable/Disable auto ratio warning
$site_config["ratiowarn_minratio"] = 0.4; //Min Ratio
$site_config["ratiowarn_mingigs"] = 4;  //Min GB Downloaded
$site_config["ratiowarn_daystowarn"] = 14; //Days to ban

// category = Category Image/Name, name = Torrent Name, dl = Download Link, uploader, comments = # of comments, completed = times completed, size, seeders, leechers, health = seeder/leecher ratio, external, wait = Wait Time (if enabled), rating = Torrent Rating, added = Date Added, nfo = link to nfo (if exists)
$site_config["torrenttable_columns"] = "category,name,size,dl,nfo,youtube,completed,comments,seeders,leechers,rating,added,health,uploader,wait,external";
// size, speed, added = Date Added, tracker, completed = times completed
$site_config["torrenttable_expand"] = "";
?>
Return current item: H-tracker