VIPs can upload also
As you all know the VIP status is lower than Uploader status. Its interesting. But VIPS are special persons and i want them to upload torrents also. It does not allow because in upload.php the code is as such that class lower than uploader cant upload. And i cant make VIPs uploaders also as the list will show no VIPs. Now How do i change upload.php so thatVIPs can upload also.:sos:
|
Open your upload.php & find:
Code:
if ((get_user_class() < UC_UPLOADER)&&(!ENA_UPLOAD_FOR_EVERYONE)) Code:
if ((get_user_class() < UC_VIP)&&(!ENA_UPLOAD_FOR_EVERYONE)) |
Code:
|
replace
Code:
if ($CURUSER["uploadpos"] == 'no' || (!ENA_UPLOAD_FOR_EVERYONE && $CURUSER['class'] < UC_UPLOADER)) Code:
if ($CURUSER["uploadpos"] == 'no' || (!ENA_UPLOAD_FOR_EVERYONE && $CURUSER['class'] < UC_VIP)) Next time, when u have trouble post & version of source ;) |
All times are GMT +2. The time now is 22:42. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.