Page 1 of 1

Download Manager questions

Posted: Tue Mar 27, 2007 7:51 pm
by MntlyNSane
I am using download manager and have a few questions about its operation:

1. Is there a way to change the description away from the file name. When uploading a file it doesn't give an option to specify a new name, but in the options I see an option "Show filename", setting that to "no" makes it blank. There does not appear to be a place to set an alternate file name

2. I have "Show # of downloads" set to "No", yet they still show up. How do I hide this (minus editing files by hand)

3. In the Admin Panel, there is an option "Show hidden categories to registered users?" But I don't see a way to hide certain catagories.

4. Can the tree structure of the downloads (as seen by the user) be collapsabile and not show sub categories until the parent is clicked on?

5. In the tree structure, can the parent category show the TOTAL number of downloads of that folder, plus child folders? I've got a bad habit of grouping things together, rarely putting things at a root/parent level

6. Can I move my categories (not files) around. When I created my folders, inititally I created a couple of different application directories based on type (web apps, utilities), now I want to combine them so that those cats are children of an "Apps" parent folder.

Re: Download Manager questions

Posted: Wed Mar 28, 2007 4:10 pm
by garvinhicking
Hi!

Sadly this plugin currently has no active maintainer (it was build by the same programmer than the Forum-Plugin developer) and its code is built rather confusing.

So even though changes you require could be added into the plugin, it's not very trivial and would require someone having a better look at that plugin...do you know some PHP? I could assist you in finding the right places where to look...

#1 should be solvable by adding a new database column and config option.

#2 should be a bug that I fixed just now in version 0.15 of the plugin. It was needed to check boolean config fields always with serendipity_db_bool() which the plugin developer forgot.

#3, The place where you manage downloadmanager categories, you should have the option to set a 'hidden' flag for categories?

#4 that could be done with some intensive javascript restructuring. Doable, but not quite easy.

#5 that can be done by changing most of the SQL queries that affect categories. Also doable, but a lot of work to get the intention of each SQL query.

#6, also this would need to be added, or you do it manually with phpMyAdmin in the appropriate DB tables.

HTH,
Garvin