Tazzios,Most of the modules have had an update in the forthcoming jD 3.9.8 release. They now use a <div> rather than a <table> basis. Also you can select if the file images have links in them. Both of these are for WCAG compliance. Have also added a modules CSS file for customising.
Whilst combining modules would reduce code volume overall it does add a degree of complexity but because the code is similar in most modules it is generally simple to find a bug and then fix each one individually. Also having them individually would make it more challenging for many users.
Also Arno is concentrating on Joomla 4 and wants to minimise the number of changes at this time.
Great, the styling is something i`m not familiar with.
So now is not a good time! But what might be a good idea when settlerd in V4 is a library of the common functions in the modules. Such a scheme would reduce code and keep the simplicity of individual modules.
ColinPS a Random module is on my list!! But using the Download IDs directly is not sufficient as it skews the probability distribution when some Downloads have been deleted. So for correct operation it needs an array of IDs and then to generate a scaled random number to select which entry to use in the array. Such an array exist of course in the jD files table where one would select the Kth entry where K is the scaled random number using the the number rows in the files table with the COUNT function
Not a new module!
In combination with other module(s) it would be more power full. For example if you have uploaded 20 new files and the module only show 5 it would be nice if it would randomize the 20 new files.
In my code i solved it as following: choose which top list you want (hits,new,rated,updated) select how many you want to retrieve(20). If you choose 'random' at the order dropdown you get an extra field where you can insert how many you want to show(5). What is happening in the code is: retrieve rows from DB(20), shuffles the array, delete rows from array till you have x(5) rows left.
I do not have a total random function but you can insert 10000000 instead of 20 to make it totally random.
you can see the module on my testsite which i send earlier. module name "jDownloads Top 2.0 rebuild" shown on the page "modulesjdown". I Only edited the helper and xml so far. I can send you the code if you like.
Maybe i can continue after the 3.9.8 release?