Download Monitor
Download Count Bug and Filesize Issue (4 posts)

  1. ELsMystERy
    Posted 2 years ago #

    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.


  2. Mike Jolley
    Plugin Contributor

    Posted 2 years ago #

    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.

  3. ELsMystERy
    Posted 2 years ago #

    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.

  4. Mike Jolley
    Plugin Contributor

    Posted 2 years ago #

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


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Download Monitor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.