News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Recent posts

#1
General / How to Retrieve Downloads by C...
Last post by henryclinton - Today at 09:25:26
I'm developing a custom extension that needs to fetch all files or downloads assigned to certain categories within jDownloads. I've checked the documentation but haven't found a clear solution yet.
Does jDownloads provide an official API, helper class, or built-in function for retrieving downloads by category ID?
If anyone has experience integrating third-party plugins with jDownloads, I'd appreciate examples or best practices for handling this efficiently.
#2
General / Managing large file downloads ...
Last post by emilyloris555 - Yesterday at 18:16:30
Hi everyone,

I've been using jDownloads to manage a repository of scripts and tools for a project I'm working on, but I've run into a bit of a technical hurdle with how some files are being handled on mobile.

I was having a long download executor convo with my team earlier today because we noticed that when users try to grab certain data packets directly from within a script-heavy environment, the download often hangs at 99% or fails to verify the checksum. It seems like the handshake between the jDownloads storage path and the mobile execution layer is timing out before the file can be properly moved to the local directory.

Related to this, I'm also seeing some weirdness with the "hotlink protection" settings. Does anyone know if jDownloads has specific issues with user agents that don't follow standard browser strings? I'm trying to figure out if I need to whitelist certain IP ranges or if there is a way to force a more stable "Direct Download" link for users who are operating through these types of tools.

I'd really appreciate any advice on how to optimize the download stability for high-load mobile environments!

Best regards.
#3
General / Re: "Select all files" no long...
Last post by LinaG - 06.05.2026 18:22:40
Thank you
Lina
#4
General / Re: "Select all files" no long...
Last post by ColinM - 06.05.2026 13:08:40
Have also tried with layout Standard Files Layout with Checkboxes v3.9
It has the same problem.
ColinM
#5
General / Re: "Select all files" no long...
Last post by LinaG - 05.05.2026 14:46:35
Thank you ColinM for investigating this further and confirming the root cause. I'm glad the workaround helped identify the issue. Looking forward to the fix in a future version!
Best regards,
Lina
#6
General / Re: "Select all files" no long...
Last post by ColinM - 05.05.2026 14:09:37
Lina
This is also a 'challenge' with layout "Standard Files Layout with Checkboxes" as expected.  So any correction code really does need to be in jD itself
ColinM
#7
General / Re: "Select all files" no long...
Last post by ColinM - 05.05.2026 13:56:12
Lina
Clearly there is some missing code.
In my opinion the code you have defined should be included within jD itself, not in the Use After Layout section of the  "Compact Files Layout with Checkboxes v3.9".  There maybe other cases in other layouts so I will look at these.
Best wishes
ColinM
#8
General / Re: "Select all files" no long...
Last post by LinaG - 05.05.2026 13:12:33
Hi, thank you for testing!
In my case I am running Joomla 5.4.5 + jD 4.1.3. The checkbox "Select all files" was not working (neither select-all nor individual checkboxes were functional), but after applying the JavaScript workaround described below, both selecting files and downloading (including the ZIP package) work correctly — no 404 error.
So it seems there are actually two separate bugs:
1.    Checkbox bug (Joomla 5 + PHP 8.x) — onclick attributes on both the toggle and individual checkboxes are malformed in the generated HTML (value onclick= instead of two separate attributes), so the handlers never fire and boxchecked stays empty.
2.    404 on Download — which you reproduced on Joomla 6.1 but I cannot reproduce on Joomla 5.4.5.
Workaround for bug #1 (add to the "User After layout" field of the active checkbox Files layout):
html
<script>
document.addEventListener('DOMContentLoaded', function () {

    window.istChecked = function(isChecked, catid) {
        var boxchecked = document.querySelector('input[name="boxchecked"]');
        if (!boxchecked) return;
        if (isChecked) {
            boxchecked.value = 1;
        } else {
            var anyChecked = document.querySelectorAll(
                'input[name="cb_arr[]"]:checked'
            ).length > 0;
            boxchecked.value = anyChecked ? 1 : 0;
        }
    };

    window.checkAlle = function() {
        var toggle = document.querySelector('input[name="toggle"]');
        if (!toggle) return;
        var isChecked = toggle.checked;
        document.querySelectorAll('input[name="cb_arr[]"]').forEach(function(cb) {
            cb.checked = isChecked;
        });
        var boxchecked = document.querySelector('input[name="boxchecked"]');
        if (boxchecked) boxchecked.value = isChecked ? 1 : 0;
    };

    document.querySelectorAll('input[name="toggle"]').forEach(function(t) {
        t.addEventListener('change', checkAlle);
    });

    document.querySelectorAll('input[name="cb_arr[]"]').forEach(function(cb) {
        cb.addEventListener('change', function() {
            istChecked(this.checked, 160);
        });
    });

});
</script>
#9
General / Re: "Select all files" no long...
Last post by ColinM - 05.05.2026 11:42:05
Hi,
I reproduced your result so I tried 'ticking' each individual box (select-all-files01.png). After clicking on the Continue button it listed the set of files in a Summary View as expected (select-all-files02.png).  Next pressed the Download Button. This gave a 404 error 'Requested page cannot be found' (select-all-files03.png).
Joomla 6.1
jD 4.1.3 Stable

ColinM
#10
General / "Select all files" no longer w...
Last post by LinaG - 04.05.2026 17:42:51
Hello!
I had activated the "Compact Files layout with Checkboxes 3.9" plugin to allow downloading multiple files at the same time. In this version 4.1.3, the "Select all files" button appears but doesn't select any files. How do I get it working again?
Thanks