Thread: Ratio & Slots
View Single Post
  #1  
Old 26th October 2011, 20:15
Eltan Eltan is offline
Senior Member
 
Join Date: Nov 2008
Canada
Posts: 60
Default Ratio & Slots
Hey :)

I have 2 others question about this nice script :D

I would know where set minimum ratio to have permission to download torrents, and after how long under this ratio a member will be ban please :) ?

And if it's possible, I would have somes details about rank like PowerUser (how it work and how to set) and about slots permission :)


Thank !

Bump: Hum if I understand, user will be ban if his ratio go under 0.5 ?

PHP Code:
     if ($TBDEV['max_slots']) {
        if (
$ratio 0.95) {
            switch (
true) {
                case (
$ratio 0.5):
                
$max $TBDEV['user_ratio1_slots'];
                break;
                case (
$ratio 0.65):
                
$max $TBDEV['user_ratio2_slots'];
                break;
                case (
$ratio 0.8):
                
$max $TBDEV['user_ratio3_slots'];
                break;
                case (
$ratio 0.95):
                
$max $TBDEV['user_ratio4_slots'];
                break;
                default:
               
$max $TBDEV['user_ratio1_slots']; 
Reply With Quote