pilotvtm |
30th July 2009 10:04 |
Anonymus uploads
how can i stop anonymous uploads?
even so, can i hide the upload menu and search menu from the normal guests???
this doesn't work:
$site_config['ANONYMOUSUPLOAD'] = false; //Enable / Disable anonymous uploads
those are the rest of the setings:
$site_config['MEMBERSONLY'] = false; //MAKE MEMBERS SIGNUP
$site_config['MEMBERSONLY_WAIT'] = false; //ENABLE WAIT TIMES FOR BAD RATIO
$site_config['ALLOWEXTERNAL'] = false; //Enable Uploading of external tracked torrents
$site_config['UPLOADERSONLY'] = true; //Limit uploading to uploader group only
$site_config['INVITEONLY'] = true; //Only allow signups via invite
$site_config['CONFIRMEMAIL'] = true; //Enable / Disable Signup confirmation email
$site_config['ACONFIRM'] = false; //Enable / Disable ADMIN CONFIRM ACCOUNT SIGNUP
$site_config['ANONYMOUSUPLOAD'] = false; //Enable / Disable anonymous uploads
Bump:
Quote:
Originally Posted by pilotvtm
(Post 13871)
how can i stop anonymous uploads?
even so, can i hide the upload menu and search menu from the normal guests???
this doesn't work:
$site_config['ANONYMOUSUPLOAD'] = false; //Enable / Disable anonymous uploads
those are the rest of the setings:
$site_config['MEMBERSONLY'] = false; //MAKE MEMBERS SIGNUP
$site_config['MEMBERSONLY_WAIT'] = false; //ENABLE WAIT TIMES FOR BAD RATIO
$site_config['ALLOWEXTERNAL'] = false; //Enable Uploading of external tracked torrents
$site_config['UPLOADERSONLY'] = true; //Limit uploading to uploader group only
$site_config['INVITEONLY'] = true; //Only allow signups via invite
$site_config['CONFIRMEMAIL'] = true; //Enable / Disable Signup confirmation email
$site_config['ACONFIRM'] = false; //Enable / Disable ADMIN CONFIRM ACCOUNT SIGNUP
$site_config['ANONYMOUSUPLOAD'] = false; //Enable / Disable anonymous uploads
|
did it :)
config.php:
Code:
$site_config['MEMBERSONLY'] = false; //MAKE MEMBERS SIGNUP
$site_config['MEMBERSONLY_WAIT'] = false; //ENABLE WAIT TIMES FOR BAD RATIO
$site_config['ALLOWEXTERNAL'] = false; //Enable Uploading of external tracked torrents
$site_config['UPLOADERSONLY'] = true; //Limit uploading to uploader group only
$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'] = false; //Enable / Disable anonymous uploads
torrents-upload.php:
Code:
// check access and rights
if ($site_config["UPLOADERSONLY"]){
loggedinonly();
if($CURUSER["can_upload"]=="no")
show_error_msg("Error","You do not have permission to upload",1);
if ($site_config["UPLOADERSONLY"] && $CURUSER["class"] < 4)
show_error_msg("Error", "Only uploaders can upload.",1);
}
now ill try to hide 'Upload torrents' from guests... :)
|