Bravo List
Register
Go Back   > Bravo List > Source Code > Active Trackers > Torrent Trader
Reply
  #1  
Old 26th April 2013, 18:00
crackz141 crackz141 is offline
Member
 
Join Date: Apr 2013
Brazil
Posts: 5
Default [help] Pass Key
Hi, I'm setting up a private tracker, but this is not distributing passkeys for users.

Can anyone help me?

My config.php

PHP Code:
<?php
$site_config 
= array();
$site_config['ttversion'] = '2.07';                            //DONT CHANGE THIS!

// Main Site Settings
$site_config['SITENAME'] = 'ALLNET';                    //Site Name
$site_config['SITEEMAIL'] = 'crackz141@live.com';        //Emails will be sent from this address
$site_config['SITEURL'] = 'http://freeshare.zz.mu';    //Main Site URL
$site_config['default_language'] = "1";                        //DEFAULT LANGUAGE ID
$site_config['default_theme'] = "1";                        //DEFAULT THEME ID
$site_config['CHARSET'] = "utf-8";                        //Site Charset
$site_config['announce_list'] = "http://freeshare.zz.mu/announce.php"//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'] = false;        //Limit uploading to uploader group only
$site_config['INVITEONLY'] = true;            //Only allow signups via invite
$site_config['ENABLEINVITES'] = true;        // Enable invites regardless of INVITEONLY setting
$site_config['CONFIRMEMAIL'] = true;        //Enable / Disable Signup confirmation email
$site_config['ACONFIRM'] = true;            //Enable / Disable ADMIN CONFIRM ACCOUNT SIGNUP
$site_config['ANONYMOUSUPLOAD'] = false;        //Enable / Disable anonymous uploads
$site_config['PASSKEYURL'] =  "$site_config[SITEURL]/announce.php?passkey=%s"// Announce URL to use for passkey
$site_config['UPLOADSCRAPE'] = true// Scrape external torrents on upload? If using mega-scrape.php you should disable this

$site_config['maxusers'] = 20000// Max # of enabled accounts
$site_config['maxusers_invites'] = $site_config['maxusers'] + 5000// Max # of enabled accounts when inviting

$site_config['currency_symbol'] = '$'// Currency symbol (HTML allowed)

//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['blocks_dir'] = str_replace('\\''/'getcwd()).'/blocks';

$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['SITENOTICEON'] = true;
$site_config['SITENOTICE'] = 'Welcome To FreeShare<BR><BR>This is currently in development still, please report any bugs to crackz141@live.com<BR><BR>';

$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['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.';

//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

//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['LOGCLEAN'] = 28 86400;            // How often to delete old entries. (Default: 28 days)
$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)

//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,dl,uploader,comments,size,seeders,leechers,health,external";
// size, speed, added = Date Added, tracker, completed = times completed
$site_config["torrenttable_expand"] = "";

// Caching settings
$site_config["cache_type"] = "disk"// disk = Save cache to disk, memcache = Use memcache, apc = Use APC
$site_config["cache_memcache_host"] = "localhost"// Host memcache is running on
$site_config["cache_memcache_port"] = 11211// Port memcache is running on
$site_config['cache_dir'] = getcwd().'/cache'// Cache dir (only used if type is "disk"). Must be CHMOD 777


// Mail settings
// php to use PHP's built-in mail function. or pear to use http://pear.php.net/Mail
// MUST use pear for SMTP
$site_config["mail_type"] = "php";
$site_config["mail_smtp_host"] = "localhost"// SMTP server hostname
$site_config["mail_smtp_port"] = "25"// SMTP server port
$site_config["mail_smtp_ssl"] = false// true to use SSL
$site_config["mail_smtp_auth"] = false// true to use auth for SMTP
$site_config["mail_smtp_user"] = ""// SMTP username
$site_config["mail_smtp_pass"] = ""// SMTP password
?>
Reply With Quote
  #2  
Old 30th April 2013, 23:18
hack346 hack346 is offline
Banned
 
Join Date: Mar 2008
Turkey
Posts: 80
Default
From your config.php posted u must change something

Replace your:
PHP Code:
$site_config['PASSKEYURL'] =  "$site_config[SITEURL]/announce.php?passkey=%s"// Announce URL to use for passkey 
with:
PHP Code:
$site_config['PASSKEYURL'] =  $site_config['SITEURL'].'/announce.php?passkey=%s'
or
PHP Code:
$site_config['PASSKEYURL'] =  "http://freeshare.zz.mu/announce.php?passkey=%s"
Reply With Quote
  #3  
Old 1st May 2013, 00:33
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
Quote:
Originally Posted by hack346 View Post
From your config.php posted u must change something

Replace your:
PHP Code:
$site_config['PASSKEYURL'] =  "$site_config[SITEURL]/announce.php?passkey=%s"// Announce URL to use for passkey 
with:
PHP Code:
$site_config['PASSKEYURL'] =  $site_config['SITEURL'].'/announce.php?passkey=%s'
or
PHP Code:
$site_config['PASSKEYURL'] =  "http://freeshare.zz.mu/announce.php?passkey=%s"
you well want to use the second one because sprinf() dont like (") and well not see the (%s)
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
Reply

Tags
key , pass

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 13:14. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.