Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev > Mods & Themes
Reply
  #1  
Old 22nd March 2013, 11:53
Chez's Avatar
Chez Chez is offline
Senior Member
 
Join Date: Sep 2011
P2P
Posts: 278
Default 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?
__________________
http://www.bvlist.com/images/avatars/signaturepics/sigpic16443_2.gif
Reply With Quote
  #2  
Old 22nd March 2013, 12:07
x360zone's Avatar
x360zone x360zone is offline
Senior Member
 
Join Date: Jul 2011
United Kingdom
Posts: 915
Default 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
__________________

7.5 tsse
future tracker source & hosting, vps
trackers installs + Themes
http://www.foxyhosting.co.uk
http://www.downmy.top testing zone
offshore vps & cpanel hosting & Shoutcast & VPN
STOP cyberbullying
any setups tracker installs vps hosting vps setups themes mods hit me up
over the last three months ive become a snake breeder,pythons,hogs,boa,corn,rat,king,carpet and what joy it is


Reply With Quote
  #3  
Old 22nd March 2013, 12:23
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,241
Default
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 :)
Reply With Quote
  #4  
Old 22nd March 2013, 12:32
Chez's Avatar
Chez Chez is offline
Senior Member
 
Join Date: Sep 2011
P2P
Posts: 278
Default
Thanx guy's, it's working

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
__________________
http://www.bvlist.com/images/avatars/signaturepics/sigpic16443_2.gif
Reply With Quote
  #5  
Old 22nd March 2013, 13:09
mat22 mat22 is offline
Senior Member
 
Join Date: Jun 2009
Latvia
Posts: 119
Default
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.
Reply With Quote
  #6  
Old 22nd March 2013, 13:48
TJO TJO is offline
Member
 
Join Date: Mar 2010
Sweden
Posts: 6
Default
Ratio is uploaded divided with download, so 10gb upload divided with for example 2gb download is ratio 5.0.
Reply With Quote
Reply

Tags
ratio , users

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