Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev > Mods & Themes
Reply
  #1  
Old 25th June 2013, 11:49
Chez's Avatar
Chez Chez is offline
Senior Member
 
Join Date: Sep 2011
P2P
Posts: 278
Default Gb Upload for posting in shoutbox
Hi guys i want this mod for TBDev ... i mean, when somebody post in shoutbox something to get 1 GB upload ... can anybody give me an example or this mod?
__________________
http://www.bvlist.com/images/avatars/signaturepics/sigpic16443_2.gif
Reply With Quote
  #2  
Old 25th June 2013, 17:22
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
Quote:
Originally Posted by Chez View Post
Hi guys i want this mod for TBDev ... i mean, when somebody post in shoutbox something to get 1 GB upload ... can anybody give me an example or this mod?

Look for

PHP Code:
 mysql_query("INSERT INTO shoutbox (id, userid, username, date, text) VALUES (" sqlesc($id) . "," sqlesc($userid) . ", " sqlesc($username) . ", $date, " sqlesc($text) . ")") or sqlerr(__FILE____LINE__); 
Around 218 in shoutbox.php Add this below

PHP Code:
$upthis "1100000000";
  
mysql_query("UPDATE users SET uploaded = uploaded + $upthis WHERE id = $userid") or sqlerr(__FILE____LINE__); 
__________________




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


Last edited by firefly007; 25th June 2013 at 18:55.
Reply With Quote
  #3  
Old 28th June 2013, 13:07
Marco Marco is offline
Senior Member
 
Join Date: Jun 2009
Seychelles
Posts: 327
Default
maybe i want too much - but is possible if somebody spamming the shoutbox and i delete his entry , the gift (1GB) take it back ??
Reply With Quote
  #4  
Old 28th June 2013, 15:01
staff staff is offline
Senior Member
 
Join Date: Nov 2011
Thailand
Posts: 15
Angry
Quote:
Originally Posted by firefly007 View Post
Look for

PHP Code:
 mysql_query("INSERT INTO shoutbox (id, userid, username, date, text) VALUES (" sqlesc($id) . "," sqlesc($userid) . ", " sqlesc($username) . ", $date, " sqlesc($text) . ")") or sqlerr(__FILE____LINE__); 
Around 218 in shoutbox.php Add this below

PHP Code:
$upthis "1100000000";
  
mysql_query("UPDATE users SET uploaded = uploaded + $upthis WHERE id = $userid") or sqlerr(__FILE____LINE__); 

Unusable
Reply With Quote
  #5  
Old 28th June 2013, 16:08
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
Quote:
Originally Posted by staff View Post
Unusable

Modded it on the shoutbox I tested and it worked but its something I do not need.


Give me shoutbox.php, its very easy to to.
__________________




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


Last edited by firefly007; 28th June 2013 at 16:22.
Reply With Quote
  #6  
Old 28th June 2013, 19:58
staff staff is offline
Senior Member
 
Join Date: Nov 2011
Thailand
Posts: 15
Default
Quote:
Originally Posted by firefly007 View Post
Modded it on the shoutbox I tested and it worked but its something I do not need.


Give me shoutbox.php, its very easy to to.
not good

Parse error: syntax error, unexpected '[' in /home/a9313311/public_html/shoutbox.php on line 70
Click the image to open in full size.
Reply With Quote
  #7  
Old 28th June 2013, 20:07
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
Quote:
Originally Posted by staff View Post
not good

Parse error: syntax error, unexpected '[' in /home/a9313311/public_html/shoutbox.php on line 70
On line 71 remove this [php]
__________________




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
  #8  
Old 10th October 2013, 10:01
Marco Marco is offline
Senior Member
 
Join Date: Jun 2009
Seychelles
Posts: 327
Default
it is any chance to make this mod only for users not staff or only for those who have ratio below 0.9 :)

thank you
Reply With Quote
Reply

Tags
gb , posting , shoutbox , 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 07:42. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.