Home arrow FAQ arrow Remository general arrow Change period for download limits
Change period for download limits

Since version 3.42, Remository allows you to specify the maximum number of downloads for a registered user and the maximum number for a visitor (determined by IP address). The limit is per 24 hour period.

You can change this by editing the file components/com_remository/p-classes/remositoryFile.php at lines 464 for visitors and 473 for registered users. Within these two lines, you will find the expression "SUBDATE(NOW(), INTERVAL 24 HOUR)". You can change HOUR to DAY or MONTH, or even to SECOND, MINUTE or YEAR, and you can change the number. The result is pretty obvious - if you change to "SUBDATE(NOW(), INTERVAL 5 DAY)" then the number of downloads will be restricted over a period of 5 days. Don't code the quotes, they are just for clarity!

Menu

Login Form

Username

Password

Remember me
Password Reminder
No account yet?
Create one

Who is Online

Remository welcomes guests and registered users.

We have 11 guest online