Bravo List
Register
Go Back   > Bravo List > Source Code > Active Trackers > Torrent Trader
Reply
  #1  
Old 14th October 2013, 10:32
easy62120 easy62120 is offline
Senior Member
 
Join Date: Jun 2010
P2P
Posts: 35
Default GB upload for registration
Hello everyone,

Here I searched for a few days how it is to add or rather put GB upload when a new member joins the site.

As new members arrive with 0GB upload diretcement therefore warned lol but I souciens more on how to torrent trader.

thank you to you

Version torrenttrader 2-svn
Reply With Quote
  #2  
Old 14th October 2013, 11:36
AutoSnipe AutoSnipe is offline
Senior Member
 
Join Date: May 2008
Posts: 84
Default
On the register.php or whatever it is, find the query that inserts the user into the database, add the uploaded table and tell it how much ya wanna give them.. easy as piss...

Bump: account-signup.php

Find
PHP Code:
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$statusget_date_time(), get_date_time(), $age$country$gender$client$site_config["default_theme"], $site_config["default_language"], $signupclassgetip()))).")"); 
Change to

PHP Code:

SQL_Query_exec
("INSERT INTO users (username, password, secret, email, status, added, last_access, age, country, gender, client, stylesheet, language, class, uploaded, ip) VALUES (" .
      
implode(","array_map("sqlesc", array($wantusername$wantpassword$secret$email$statusget_date_time(), get_date_time(), $age$country$gender$client$site_config["default_theme"], $site_config["default_language"], $signupclass'INSERTHOWMUCHYAWANNAGIVETHEMHERE'getip()))).")"); 
Change the obvious.. to something setout as '1024' for 1mb and so on
Reply With Quote
The Following User Says Thank You to AutoSnipe For This Useful Post:
easy62120 (14th October 2013)
  #3  
Old 14th October 2013, 11:41
easy62120 easy62120 is offline
Senior Member
 
Join Date: Jun 2010
P2P
Posts: 35
Default
I know this is the file-account signup but I do not know the modifiaction brought
Reply With Quote
  #4  
Old 14th October 2013, 11:42
AutoSnipe AutoSnipe is offline
Senior Member
 
Join Date: May 2008
Posts: 84
Default
Look ^^
Reply With Quote
Reply

Tags
gb , registration , upload

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 08:44. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.