Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev > Mods & Themes
Reply
  #1  
Old 13th December 2014, 00:42
Isload Isload is offline
Senior Member
 
Join Date: Oct 2011
Iceland
Posts: 40
Default [REQ] 2 addons
1.
What do i put into takesignup.php so all users get 5gb on signup ?

2.
When admin check out a user they can add or remove gb from users.

Regards.
Reply With Quote
  #2  
Old 13th December 2014, 01:45
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,241
Default
version? ohh wait, we read minds
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
Reply With Quote
  #3  
Old 13th December 2014, 02:53
Isload Isload is offline
Senior Member
 
Join Date: Oct 2011
Iceland
Posts: 40
Default
Quote:
Originally Posted by DND View Post
version? ohh wait, we read minds
TbDev 09 :)

Also is there any theme system for it ?
Reply With Quote
  #4  
Old 14th December 2014, 00:50
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
In takesignup.php find

PHP Code:
$id mysql_insert_id(); 
and under it add this

PHP Code:
mysql_query("UPDATE users SET uploaded = uploaded + '5300000' WHERE id= '" $id "'"); 
__________________




Please Support Majority Report


You can contact me on Skype live:phesadent.elect but please let me know first.


If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week.


Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.
I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote
  #5  
Old 14th December 2014, 10:15
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,241
Default
Quote:
Originally Posted by firefly007 View Post
In takesignup.php find

PHP Code:
$id mysql_insert_id(); 
and under it add this

PHP Code:
mysql_query("UPDATE users SET uploaded = uploaded + '5300000' WHERE id= '" $id "'"); 


it should be better to use in the syntax WHERE id = " . sqlesc($id) . " for security reasons
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
Reply With Quote
  #6  
Old 14th December 2014, 11:17
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
It would probably be quite hard to inject anything there.
__________________




Please Support Majority Report


You can contact me on Skype live:phesadent.elect but please let me know first.


If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week.


Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.
I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote
  #7  
Old 14th December 2014, 12:03
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,241
Default
better safe than sorry
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
Reply With Quote
The Following User Says Thank You to DND For This Useful Post:
Marco (16th December 2014)
  #8  
Old 20th December 2014, 13:30
WhyMe WhyMe is offline
Banned
 
Join Date: Apr 2014
P2P
Posts: 160
Thumbs up
@TAKESIGNUP

look for

PHP Code:
// check if email is banned
      
$email htmlspecialchars($_POST['email']);
      
check_banned_emails($email); 
below add

PHP Code:
$uploaded 2147483648
add to the line uploaded, and $uploaded,

PHP Code:
$ret mysql_query("INSERT INTO users (uploaded,  ". (!$arr[0]?"class, ":"") ."added) VALUES (" implode(","array_map("sqlesc", array($uploaded
Reply With Quote
Reply

Tags
addons , req

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