Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=109)
-   -   Users ratio (http://www.bvlist.com/showthread.php?t=9010)

Chez 22nd March 2013 11:53

Users ratio
 
Hi i have a problem with users ratio, when they register, they have a ratio like this: 5,242,880.000 ... how to make ratio 1.00 for new registered users?

x360zone 22nd March 2013 12:07

hi
 
you have to look at it like this chez

example-
user has 10gig upload on signup, and no download
there ratio would be something silly 1000000000.00
soon as they download there ratio will lower take there signup bonus away
if this is what you meant mate

DND 22nd March 2013 12:23

if you want to make them have 1.00 ratio just make upload and download equal when they register or just don't give them anything as a bonus :)

Chez 22nd March 2013 12:32

Thanx guy's, it's working :drink::friend:

Bump: But from example if i put something like this:

PHP Code:

$uploaded 0;
$downloaded 0

it appears that the registered user have: Ratio: Inf

mat22 22nd March 2013 13:09

It's because they don't have ratio. Since Ratio = Uploaded/Downloaded then it means Ratio=0/0 which equals 0 or in this case - Infinite because he hasn't downloaded anything. If you want it to be 1.00 put upload and download to for example 1GB or 1MB both.

TJO 22nd March 2013 13:48

Ratio is uploaded divided with download, so 10gb upload divided with for example 2gb download is ratio 5.0.


All times are GMT +2. The time now is 17:08.

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