Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=109)
-   -   Always double upload for the uploader (http://www.bvlist.com/showthread.php?t=11237)

graaf 23rd September 2017 12:56

Always double upload for the uploader
 
Is there any mod like this? Can someone help me with this :P

Chez 25th September 2017 10:13

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.




graaf 29th September 2017 00:56

Quote:

Originally Posted by Chez (Post 50658)
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

DND 29th September 2017 05:48

you need to use the $row["owner"] variable.
build your code in announce.php

Chez 29th September 2017 16:20

What version do you have?


All times are GMT +2. The time now is 15:32.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.