- Posts: 285
- Thank you received: 42
user / downloads.php download limit
8 years 1 month ago - 8 years 1 month ago #299198
by oxido
user / downloads.php download limit was created by oxido
-- HikaShop version -- : 4
-- Joomla version -- : 3.8.13
Hi,
If download limit is set to -1 in backend, the user it will see this in download section: -4 downloads left (-4 is what i see now, if i downloa one more it will be -5, -6 and so on)
Instead of this: unlimited
To fix this, if look in to user / downloads.php view, on line 189, there is this line of code:
Which should be changed to this
-- Joomla version -- : 3.8.13
Hi,
If download limit is set to -1 in backend, the user it will see this in download section: -4 downloads left (-4 is what i see now, if i downloa one more it will be -5, -6 and so on)
Attachment 01.JPG not found
Instead of this: unlimited
Attachment 02.JPG not found
To fix this, if look in to user / downloads.php view, on line 189, there is this line of code:
Code:
if($limit == -1 && $limitNotReached && $periodNotReached) {
Code:
if($limit <= -1 && $limitNotReached && $periodNotReached) {
Last edit: 8 years 1 month ago by oxido.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
8 years 4 weeks ago #299201
by Mohamed Thelji
Replied by Mohamed Thelji on topic user / downloads.php download limit
Hello,
Thank you for your feedback we'll test it on our end and probably add it through our next release !
Kind regards,
Mohamed Thelji.
Thank you for your feedback we'll test it on our end and probably add it through our next release !
Kind regards,
Mohamed Thelji.
Please Log in or Create an account to join the conversation.
Time to create page: 0.050 seconds