Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev > Mods & Themes
Reply
  #1  
Old 23rd September 2017, 12:56
graaf graaf is offline
Senior Member
 
Join Date: Jun 2014
Posts: 17
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 25th September 2017, 10:13
Chez's Avatar
Chez Chez is offline
Senior Member
 
Join Date: Sep 2011
P2P
Posts: 278
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 29th September 2017, 00:56
graaf graaf is offline
Senior Member
 
Join Date: Jun 2014
Posts: 17
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 29th September 2017, 05:48
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,241
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. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
Reply With Quote
  #5  
Old 29th September 2017, 16:20
Chez's Avatar
Chez Chez is offline
Senior Member
 
Join Date: Sep 2011
P2P
Posts: 278
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 19:02. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.