All credits to original Authors
this is a simple mod should give new users a 2GB upload and inf. ratio to get started (which you can change in the config) so new members dont get themselves in a ratio hole that they cant get out of. Your ratio is tracked normally, this just gives you a positive ratio to get started. I also added giving invites to new users. The default is ZERO, but feel free to do as you will. Edit the config as you please
in account-signup.php find
Change to
add to backend/config.php
this is a simple mod should give new users a 2GB upload and inf. ratio to get started (which you can change in the config) so new members dont get themselves in a ratio hole that they cant get out of. Your ratio is tracked normally, this just gives you a positive ratio to get started. I also added giving invites to new users. The default is ZERO, but feel free to do as you will. Edit the config as you please
in account-signup.php find
SQL_Query_exec("INSERT INTO users (username, password, secret, email, status, added, last_access, age, country, gender, client, stylesheet, language, class, ip) VALUES (" .
implode(",", array_map("sqlesc", array($wantusername, $wantpassword, $secret, $email, $status, get_date_time(), get_date_time(), $age, $country, $gender, $client, $site_config["default_theme"], $site_config["default_language"], $signupclass, getip()))).")");Change to
SQL_Query_exec("INSERT INTO users (username, password, secret, email, status, added, last_access, age, country, gender, client, stylesheet, uploaded, downloaded, language, invites, class, ip) VALUES (" .
implode(",", array_map("sqlesc", array($wantusername, $wantpassword, $secret, $email, $status, get_date_time(), get_date_time(), $age, $country, $gender, $client, $site_config["default_theme"], $site_config["new_member_upload_ratio"], 0, $site_config["default_language"], $site_config["new_member_invites"], $signupclass, getip()))).")");add to backend/config.php
$site_config['new_member_upload_ratio'] = 2147483648; //2147483648 = 2GB of upload and inf. ratio to help get started
$site_config['new_member_invites'] = 0 ; // Every new user will get 0 invites to start with. Change this to whatever floats your boat. Does not affect the regular giving of invites set by you or the system
