this would fix bug with clean URLs disabled and also just be The Right Way.

CommentFileSizeAuthor
#1 filebrowser_6.patch10.53 KBbeholder

Comments

beholder’s picture

Version: master » 6.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new10.53 KB

Here is my patch for this feature. It will add two fields to {filebrowser} table - for ID and 'private' flag. I've made an update function for it.
Main features are private downloads for files, if option 'private' is checked for this listing (and user has permissions for accessing to files).

I've made this patch for 6.x-1.x.-dev version with applied my patches #235692: Themeable output and #235686: Bug with subdirs order

Susurrus’s picture

Status: Needs review » Needs work

Please reroll using existing code base as your other patches have been dealt with, though altered.

Susurrus’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev

This patch should be rerolled against the 6.x-2.x branch as that code is more stable, feature rich, and undergoing active development. I will be removing support for 6.x-1.x.

Susurrus’s picture

Status: Needs work » Fixed

I've added the option for private downloads to the 6.x-2.x branch. This should work quite nicely, but try that out and post any issues you may find.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.