Support » Plugin: Download Monitor » Download Count Bug and Filesize Issue

  • When you edit an imported download (using the add-on tool), as soon as you update it the download count is reset to 0.

    Also, on one file I imported it did not set the file size. I had to go into the database and add it manually. In the db, “_filesize” was set to -1 and “filesize” was empty.

    http://wordpress.org/plugins/download-monitor/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Mike Jolley

    (@mikejolley)

    Filesize should be automatically calculated when you save – this would only fail if the file path is invalid/not readable.

    Can you edit the download and check the path? You’ll also see the download count box there as well should you wish to edit it.

    I know the file path was correct (I double checked it) because I could download the file and add that to the count, but if I edited/updated the download post it reset it back to zero. Anyhow, what I did was deleted all of the imported download posts and then just added them manually and everything seems fine now. I only have 9 files to download at the moment, so it was not a huge inconvenience. I did not test editing the download count box before adding the files manually. It seems to work fine now though.

    I did find one other thing I forgot to mention. When I added <p> to the “before=” part of the shortcode it did not set the paragraph tag there, instead it added <li>. The “after” tag did set it to </p> like I told it. I ended up setting them to an empty string (before/after = “”), which worked fine and did not add any HTML before the links. I then added the tags I wanted to a custom template.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Before and after seem to both be working fine. Ensure you wrapped the before arg with quotes:

    before="<p>"

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Download Count Bug and Filesize Issue’ is closed to new replies.