[[PageOutline]] = Adding Torrents = TBD = Removing Torrents = TBD = Setting Up Categories = TBD = Sample Configuration File = {{{ #!php define("CHANNELNAME", '#%chan%'); // The channel name we display define("NETWORKNAME", '%network%'); //The network name we display define("IRCSERVER", '%irc%'); //IRC server name, incase it differs from the name of the network define("WEBSITEURL", '%website%'); //Website //Some of the help messages define("USERTEXT", ''); define("TEMPLATE",'bt_templates\\main.inc.php'); define("ENTRYTEMPLATE",'bt_templates\\entry.inc.php'); $allowed_announces = array("http://bt.edwardk.info:6969/announce"); // a list of allowed announce URLs in torrents, // modify only if you know what you're doing /* Controls where uncategorized torrents go Top = top of the page Bottom = bottom of the page */ $settings['uncategorized_position'] = 'bottom'; /* Sort categories TRUE = categories are sorted, with exception of the uncategorized category, it will be sorted by the name value FALSE = categories are used in the order specified in this config file */ $settings['sort_categories'] = TRUE; /* Show recent torrents TRUE = on FALSE = off number = how many entries to display per column */ $settings['recent']['status'] = TRUE; $settings['recent']['number'] = 5; /* Table of Contents (TOC) TRUE = show it FALSE = don't show it number = how many to show per column */ $settings['toc']['status'] = TRUE; $settings['toc']['number'] = 7; /* Define categories here 0 is uncategorized torrents 1 is the recent torrents 2+ are user defined categories heading = allows you to insert HTML before the table for this category, be sure to quote it properly in a PHP variable. be sure to use HTML entities when required! wildcards = which filenames are matched to this category, multiple wildcards could be used if it was in an array such as array('*blah*','*yada*'); wildcards match the display name of a torrent, not filename! name = for sorting categories and TOC http://www.php.net/manual/en/language.types.string.php */ $i = 0; $categories[$i]['heading'] = '