Scheduled Maintenance: 10-11-2025 Electricity company maintenance between 09:00 and 15:00.

3.2 & 3.3 Extensions Database 3.2 / 3.3Download limit

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Chrome

Re: Download limit

Post by Sniper_E »

I know nothing about this ext at all but I just looked in the v102 migration...

Code: Select all

		$downloadlimit_exts = [
			'7z','ace','bz2','gtar','gz','rar','tar','tgz','torrent','zip'
		];
There is no 'nzb' listed there. Does that mean it's not counting the .nzb downloads?
Just a thought...
clight77 wrote: 22 Dec 2019, 15:17Also waiting for Sniper_E to reply to see if he was reset.
Sorry buddy I forgot I was testing. Did I ever get back to you on that?
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6469
Joined: 13 Jan 2014, 21:45
    Android Chrome

Re: Download limit

Post by dmzx »

clight77 wrote: 24 Apr 2023, 04:53 Don't seem to work at all now for nobody. :(

Martin now thinks it is an extension conflict... We are trying to find the one..
Under test now, did install on fresh forum.

User avatar

martin
Admin
Admin
Posts: 5106
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Download limit

Post by martin »

99% sure it's ext conflict.

Fails to work on my site but works perfect on test site with ext's off.
Image

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6469
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Download limit

Post by dmzx »

martin wrote: 25 Apr 2023, 01:22 99% sure it's ext conflict.

Fails to work on my site but works perfect on test site with ext's off.
All test untill now on my test board work fine, will do some small code update but cannot recall the issues there.
Think martin is not right... :whistl:
But will do some more checks.

User avatar

martin
Admin
Admin
Posts: 5106
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Download limit

Post by martin »

Nope i was wrong but did find the issue :yikes:

If you hit the limit and go sit on index for the set time the ext works perfect.

If you hit the limit and go surf the forum or forums that have a download in the timer restarts over and over each topic you visit resets the timer from start.

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6469
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Download limit

Post by dmzx »

martin wrote: 25 Apr 2023, 14:00 Nope i was wrong but did find the issue :yikes:

If you hit the limit and go sit on index for the set time the ext works perfect.

If you hit the limit and go surf the forum or forums that have a download in the timer restarts over and over each topic you visit resets the timer from start.
will check....

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6469
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Download limit

Post by dmzx »

dmzx wrote: 25 Apr 2023, 16:02
martin wrote: 25 Apr 2023, 14:00 Nope i was wrong but did find the issue :yikes:

If you hit the limit and go sit on index for the set time the ext works perfect.

If you hit the limit and go surf the forum or forums that have a download in the timer restarts over and over each topic you visit resets the timer from start.
will check....
Did check the time value if download is done but that is correct.
Do find time() of server though, will look into this.

User avatar

clight77
Donator
Donator
Posts: 502
Joined: 24 Sep 2015, 16:23
    Windows 10 Chrome

Re: Download limit

Post by clight77 »

Hey DM
What is happening on my site seems to be....
If I set it for 1 hour it takes 2 hours to reset.
If I set it for 2 hours it takes 4 hours to reset.
If I set it for 3 hours it takes 6 hours to reset.
ETC ...

Just info :)

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6469
Joined: 13 Jan 2014, 21:45
    Android Chrome

Re: Download limit

Post by dmzx »

clight77 wrote: 27 Apr 2023, 07:56 Hey DM
What is happening on my site seems to be....
If I set it for 1 hour it takes 2 hours to reset.
If I set it for 2 hours it takes 4 hours to reset.
If I set it for 3 hours it takes 6 hours to reset.
ETC ...

Just info :)
There is a thing going on with server time()
I have normally +1 gmt but if I set it lower then 3 hours the cron is in the past, so need to check from there. Did update time on server to check.

User avatar

clight77
Donator
Donator
Posts: 502
Joined: 24 Sep 2015, 16:23
    Windows 10 Chrome

Re: Download limit

Post by clight77 »

Martin did update my server time in the files.

User avatar

lol
Donator
Donator
Posts: 8
Joined: 13 Nov 2024, 11:28
    Windows 10 Firefox

Re: Download limit

Post by lol »

Hello,
I just read the full thread, this extension sounds very promising :) thanks for it. Is it working to download any attachement in post, that are allowed in ACP ?

User avatar

lol
Donator
Donator
Posts: 8
Joined: 13 Nov 2024, 11:28
    Windows 10 Firefox

Re: Download limit

Post by lol »

Could it be possible to combine it with ultimate point extension to allow users with a certains amount of points to increase the limit ?
i think about a system where leeschers are limited but posters can earn points to download more than the limit ?

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6469
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Download limit

Post by dmzx »

lol wrote: 11 Dec 2024, 11:59 Could it be possible to combine it with ultimate point extension to allow users with a certains amount of points to increase the limit ?
i think about a system where leeschers are limited but posters can earn points to download more than the limit ?
Will look into integration options in this extension. For now updating other extensions is more prio but will take a look into this.

User avatar

lol
Donator
Donator
Posts: 8
Joined: 13 Nov 2024, 11:28
    Windows 10 Firefox

Re: Download limit

Post by lol »

:thumbup:
super, there is no urgency, could be nice for my project, i can explain more my idea, just let me know where should i do it (question forum ?) to do it at the right place :wink:

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6469
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Download limit

Post by dmzx »

lol wrote: 11 Dec 2024, 15:53 :thumbup:
super, there is no urgency, could be nice for my project, i can explain more my idea, just let me know where should i do it (question forum ?) to do it at the right place :wink:
See this section ideas

Post Reply Previous topicNext topic