Bravo List
Register
Go Back   > Bravo List > Source Code > Trackers > TBDev > Mods & Themes
Reply
  #1  
Old 23-09-17, 12:56
graaf's Avatar
graaf graaf is offline
Member
 
Join Date: Jun 2014
Posts: 14
Default Always double upload for the uploader
Is there any mod like this? Can someone help me with this :P
Reply With Quote
  #2  
Old 25-09-17, 10:13
Chez's Avatar
Chez Chez is offline
Senior Member
 
Join Date: Sep 2011
P2P
Posts: 272
Default
You can make an if else statement for example:

PHP Code:
if ($usrclass == 'Uploader') {
//here goes the code multiplied by 2
} else {
//here goes the normal code

attention

Attention

This is just an example. Your variables can be different.



__________________
http://www.bvlist.com/images/avatars/signaturepics/sigpic16443_2.gif
Reply With Quote
  #3  
Old 29-09-17, 00:56
graaf's Avatar
graaf graaf is offline
Member
 
Join Date: Jun 2014
Posts: 14
Default
Quote:
Originally Posted by Chez View Post
You can make an if else statement for example:

PHP Code:
if ($usrclass == 'Uploader') {
//here goes the code multiplied by 2
} else {
//here goes the normal code

attention

Attention

This is just an example. Your variables can be different.



Thanks but I mean for all users who was uploaded torrent.

E.g If owner upload * 2
Reply With Quote
  #4  
Old 29-09-17, 05:48
DND's Avatar
DND DND is offline
Support
 
Join Date: Dec 2008
Posts: 1,049
Default
you need to use the $row["owner"] variable.
build your code in announce.php
__________________
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. TBDev Support
  5. Gazelle Support Install
  6. TSSE Install Support
Reply With Quote
  #5  
Old 29-09-17, 16:20
Chez's Avatar
Chez Chez is offline
Senior Member
 
Join Date: Sep 2011
P2P
Posts: 272
Default
What version do you have?
__________________
http://www.bvlist.com/images/avatars/signaturepics/sigpic16443_2.gif
Reply With Quote
Reply

Tags
double , upload , uploader

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