Bravo List
Go Back   > Bravo List > Source Code > Active Trackers > Project U-232
Old 26th October 2011, 20:15
Eltan's Avatar
Eltan Eltan is offline
Senior Member
Join Date: Nov 2008
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'];
                case (
$ratio 0.65):
$max $TBDEV['user_ratio2_slots'];
                case (
$ratio 0.8):
$max $TBDEV['user_ratio3_slots'];
                case (
$ratio 0.95):
$max $TBDEV['user_ratio4_slots'];
$max $TBDEV['user_ratio1_slots']; 
Reply With Quote
Old 23rd November 2011, 14:53
designtracker's Avatar
designtracker designtracker is offline
Join Date: Oct 2011
Posts: 3
Default THX
Reply With Quote
Old 18th December 2011, 11:49
Bigjoos's Avatar
Bigjoos Bigjoos is offline
U-232 Dev
Join Date: May 2008
United Kingdom
Posts: 244
That wont ban anyone will it, its slot restriction so look at the variables and you see its based on ratio, low ratio means little slots avail, high ratio well goes without saying, its no hard to see that. Im no here to sit and run over stuff thats your problem, i know the code inside out i suggest you do the same so you understand what you have in front of you.
Reply With Quote

ratio , slots

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