limited downloads
Hi, I want to limited downloads in my tracker for users with low ratio. I added next text in my download.php file
$ratio = (($CURUSER['downloaded'] > (1024*1024*1024)) ? ($CURUSER['uploaded'] / $CURUSER['downloaded']) : 1); if($ratio <= 0.50) stderr("Stop!", "Your rating is less than 0.50. Please seed, to raise it!"); But now this limited is for all users. How to ignore donors and VIP users from this code? |
All times are GMT +2. The time now is 06:23. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.