How do I add "Upload GB" on members?
How do I add "Upload GB" on members? Using TSrike Fully Modded.
|
reply
open takesignup.php and find this
Code:
$secret = mksecret(); Code:
$uploaded = 2147483648; Code:
$ret = mysql_query("INSERT INTO users (username, passhash, secret, editsecret, email,country, status, ". (!$arr[0]?"class, ":"") ."added) VALUES (" . Code:
$ret = mysql_query("INSERT INTO users (uploaded, username, passhash, secret, editsecret, email,country, status, ". (!$arr[0]?"class, ":"") ."added) VALUES (" . 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 |
Upload for all
Ok, this is for new members. But how do I add upload to the old members? It would be unfair to new members only receive this credit.
:sos::sos: The solution is easy In database Code:
update users set uploaded = uploaded + 10737417840, |
All times are GMT +2. The time now is 17:03. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.