DownloadList Plugin

Hi,

I have a problem with the DownloadList Plugin - I guess it has something to do with the user rights.

I have added the printdownloadlist to the codeblock of some articles:
printdownloadlist('uploaded/subfolder')
which works fine as long as i am logged in.

Not logged in vistors see the files, but can not download them.
Example:
http://ralf-kerkhoff.de/artikel/black-white-styles

Can someone point me in the right direction and tell me which settings I have to make?

Cheers
Ralf

Comments

  • Hi,

    problem is caused by the static html plugin.
    Disabling it, solves the problem.

    Is there a solution other than:
    Either add news.php to the excluded pages in the plugin settings or adding each page (like news.php/titlelink) in the plugin settings?

    Cheers
    Ralf
  • acrylian Administrator, Developer
    Sadly this seems to be an incompatibility with the static_html_cache. If not logged in you get the cached pages and those do not execute the download process for yet unknown reasons. So sadly the only fix currently is to turn the cache off…
  • acrylian Administrator, Developer
    You were faster ;-) I don't understand your other question. It is either exclude all news or specific ones. There is no other way. Normally you don't want to exclude that much or any since that is the point of a cache actually.
  • Hi,
    my question was if there is another solution than excluding the pages in the static html plugin or disabling the static html plugin.

    Something like a 'no cache' argument in the plugin..

    Cheers
    Ralf
  • acrylian Administrator, Developer
    No, the cache happens on a base theme page level. The downloadlist not working is simply a bug no one ever noticed before.
  • acrylian Administrator, Developer
    Please try the support build (fix is in `/zp-core/index.php`) for a fix.
  • Hi,
    just uploaded the index.php (as described above) and voila:
    download works with the static html plugin enabled.

    Thanks a lot for fixing it !!!!
Sign In or Register to comment.