View Single Post
  #2  
Old 29th June 2011, 19:05
denno denno is offline
Senior Member
 
Join Date: Feb 2009
United Kingdom
Posts: 18
Default reply
open takesignup.php and find this
Code:
$secret = mksecret();
and add this above
Code:
$uploaded = 2147483648;
still in takesignup.php find this
Code:
$ret  = mysql_query("INSERT INTO users (username, passhash, secret,  editsecret, email,country, status, ". (!$arr[0]?"class, ":"") ."added)  VALUES (" .
                implode(",", array_map("sqlesc",  array($wantusername, $wantpasshash, $secret, $editsecret, $email,  $country, (!$arr[0] || !ENA_EMAIL_CONFIRM?'confirmed':'pending')))).
                ", ". (!$arr[0]?UC_SYSOP.", ":""). "'". get_date_time() ."')");
and replace it with this
Code:
$ret  = mysql_query("INSERT INTO users (uploaded, username, passhash, secret,  editsecret, email,country, status, ". (!$arr[0]?"class, ":"") ."added)  VALUES (" .
                implode(",", array_map("sqlesc",  array($uploaded, $wantusername, $wantpasshash, $secret, $editsecret,  $email, $country, (!$arr[0] ||  !ENA_EMAIL_CONFIRM?'confirmed':'pending')))).
                ", ". (!$arr[0]?UC_SYSOP.", ":""). "'". get_date_time() ."')");

the code above is set to give 2gb for signing up, but can change it to whatever you want, I added upto 10gb for you


1 - 1073741824
2 - 2147483648
3 - 3221225372
4 - 4294967096
5 - 5368708920
6 - 6442450744
7 - 7516192468
8 - 8589934192
9 - 9663676016
10 - 10737417840
Reply With Quote